🔍 CVE-2026-46148

5.5
CVSS Score
MEDIUM
2026-05-28
2026-10-30 13:18
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 microchip-core-qspi 드라이버에서 내장 칩 선택(CS) 신호가 자동으로 제어되어 다중 장치 연결 시 신호 충돌이 발생하는 취약점이 있습니다. 이로 인해 GPIO로 연결된 다른 장치 접근 시 내장 CS가 비활성화되지 않아 통신 오류가 발생할 수 있습니다. 드라이버를 수정하여 칩 선택을 수동으로 제어하도록 개선되었습니다.

💡 쉬운 설명

스피 인터페이스 컨트롤러가 여러 장치를 연결할 때 내부 신호가 잘못 작동하여 데이터 통신에 오류를 일으킬 수 있습니다. 이 문제는 장치 드라이버를 업데이트하여 신호를 직접 제어함으로써 해결되었습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: spi: microchip-core-qspi: control built-in cs manually The coreQSPI IP supports only a single chip select, which is automagically operated by the hardware - set low when the transmit buffer first gets written to and set high when the number of bytes written to the TOTALBYTES field of the FRAMES register have been sent on the bus. Additional devices must use GPIOs for their chip selects. It was reported to me that if there are two devices attached to this QSPI controller that the in-built chip select is set low while linux tries to access the device attached to the GPIO. This went undetected as the boards that connected multiple devices to the SPI controller all exclusively used GPIOs for chip selects, not relying on the built-in chip select at all. It turns out that this was because the built-in chip select, when controlled automagically, is set low when active and high when inactive, thereby ruling out its use for active-high devices or devices that need to transmit with the chip select disabled. Modify the driver so that it controls chip select directly, retaining the behaviour for mem_ops of setting the chip select active for the entire duration of the transfer in the exec_op callback. For regular transfers, implement the set_cs callback for the core to use. As part of this, the existing setup callback, mchp_coreqspi_setup_op(), is removed. Modifying the CLKIDLE field is not safe to do during operation when there are multiple devices, so this code is removed entirely. Setting the MASTER and ENABLE fields is something that can be done once at probe, it doesn't need to be re-run for each device. Instead the new setup callback sets the built-in chip select to its inactive state for active-low devices, as the reset value of the chip select in software controlled mode is low.

📍 영향받는 시스템

Linux kernel (microchip-core-qspi 드라이버를 사용하는 Microchip QSPI 컨트롤러 기반 시스템)

⚔️ 공격 벡터

로컬 물리적 접근 또는 커널 모듈 로딩을 통한 SPI 버스 통신 조작

🛡️ 대응 방법

리눅스 커널을 최신 안정 버전으로 업그레이드하거나 해당 드라이버 패치를 적용하십시오.

🔧 검증 코드

출력된 커널 버전이 패치가 적용된 최신 버전인지 확인하십시오.

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel