🇰🇷 한글 설명
Linux 커널의 ims-pcu 드라이버에서 sysfs 속성이 제어 인터페이스뿐만 아니라 데이터 인터페이스에도 노출되는 취약점이 발견되었습니다. 데이터 인터페이스는 해당 속성을 처리할 내부 상태가 없어, 접근 시 예기치 않은 동작이나 시스템 충돌이 발생할 수 있습니다. 이를 해결하기 위해 속성 접근 시 제어 인터페이스인지 확인하는 로직이 추가되었습니다.
💡 쉬운 설명
기기 제어를 위한 설정 메뉴가 엉뚱한 통로를 통해서도 보여서, 잘못된 접근이 발생하면 컴퓨터가 멈추거나 오류가 날 수 있는 문제입니다. 이제는 올바른 통로로 들어왔을 때만 설정 메뉴를 보여주도록 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Input: ims-pcu - only expose sysfs attributes on control interface
When the driver was converted to use the driver core to instantiate device
attributes (via .dev_groups in the usb_driver structure), the attributes
started appearing on all interfaces bound to the driver. Since the ims-pcu
driver manually claims the secondary data interface during probe, the
driver core automatically creates the sysfs attributes for that interface
as well.
However, the driver only supports these attributes on the primary control
interface. Data interfaces lack the necessary descriptors and internal
state to handle these requests, and accessing them can lead to unexpected
behavior or crashes.
Fix this by updating the is_visible() callbacks for both the main and OFN
attribute groups to verify that the interface being accessed is indeed the
control interface.
📍 영향받는 시스템
ims-pcu 드라이버를 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
데이터 인터페이스를 통해 잘못된 sysfs 속성에 접근하여 시스템 충돌 유도
🛡️ 대응 방법
ims-pcu 드라이버의 is_visible() 콜백을 업데이트하여 제어 인터페이스 여부를 검증하는 최신 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인
📊 CVSS Vector String
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
IBM Security Verify Access