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

CVE-2026-31660 nfc: pn533: allocate rx skb before consuming bytes

설명

In the Linux kernel, the following vulnerability has been resolved: nfc: pn533: allocate rx skb before consuming bytes pn532_receive_buf() reports the number of accepted bytes to the serdev core. The current code consumes bytes into recv_skb and may already hand a complete frame to pn533_recv_frame() before allocating a fresh receive buffer. If that alloc_skb() fails, the callback returns 0 even though it has already consumed bytes, and it leaves recv_skb as NULL for the next receive callback. That breaks the receive_buf() accounting contract and can also lead to a NULL dereference on the next skb_put_u8(). Allocate the receive skb lazily before consuming the next byte instead. If allocation fails, return the number of bytes already accepted.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 5.5

    해결 버전

    • 5.5 미만
    • 5.10.253 이상
    • 5.15.203 이상
    • 6.1.169 이상
    • 6.6.135 이상
    • 6.12.82 이상
    • 6.18.23 이상
    • 6.19.13 이상

참고 자료 8건

‹ 목록

점검 지원 범위 문의

도입 문의