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

CVE-2026-80802 nfc: fdp: bound the device-reported read length and fix an skb leak

설명

In the Linux kernel, the following vulnerability has been resolved: nfc: fdp: bound the device-reported read length and fix an skb leak fdp_nci_i2c_read() takes the next packet length from two device-supplied bytes and never validates it. The value is a u16 used as the i2c_master_recv() count into a 261-byte on-stack buffer: a malicious, counterfeit or malfunctioning controller (or an i2c bus interposer) can drive it far past the buffer for a stack out-of-bounds write that clobbers the canary and return address, or below the minimum frame size (directly, or by truncating the computed sum) so the header/LRC strip and the next length read run past a short receive. Reject a length outside [FDP_NCI_I2C_MIN_PAYLOAD, FDP_NCI_I2C_MAX_PAYLOAD], as a corrupted packet already is, and force resynchronization. The same loop allocates one data skb per iteration and assumes a length packet followed by a data packet; a device that sends two data packets in one call leaks the first skb when the second allocation overwrites it. Free a previously allocated skb before allocating the next.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 4.4

    해결 버전

    • 4.4 미만
    • 5.10.267 이상
    • 5.15.218 이상
    • 6.1.185 이상
    • 6.6.154 이상
    • 6.12.106 이상
    • 6.18.47 이상
    • 7.1.11 이상
    외 1개 구간 펼치기
    • 7.2.1 이상

참고 자료 9건

‹ 목록

점검 지원 범위 문의

도입 문의