kcve.ai취약점 정보 · 내 자산 확인

CVE-2024-35997 HID: i2c-hid: remove I2C_HID_READ_PENDING flag to prevent lock-up

설명

In the Linux kernel, the following vulnerability has been resolved: HID: i2c-hid: remove I2C_HID_READ_PENDING flag to prevent lock-up The flag I2C_HID_READ_PENDING is used to serialize I2C operations. However, this is not necessary, because I2C core already has its own locking for that. More importantly, this flag can cause a lock-up: if the flag is set in i2c_hid_xfer() and an interrupt happens, the interrupt handler (i2c_hid_irq) will check this flag and return immediately without doing anything, then the interrupt handler will be invoked again in an infinite loop. Since interrupt handler is an RT task, it takes over the CPU and the flag-clearing task never gets scheduled, thus we have a lock-up. Delete this unnecessary flag.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 3.8

    해결 버전

    • 3.8 미만
    • 4.19.313 이상
    • 5.4.275 이상
    • 5.10.216 이상
    • 5.15.158 이상
    • 6.1.90 이상
    • 6.6.30 이상
    • 6.8.9 이상

참고 자료 8건

‹ 목록

점검 지원 범위 문의

도입 문의