VDB

DEBIAN-CVE-2026-31660

DEBIAN-CVE-2026-31660 PUBLISHED CVSS 5.5 MEDIUM

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.

Risk Scores

CVSS v3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected Products

VendorProductVersions
Debian:14linux6.12.38-1, 0, 6.12.41-1
Debian:11linux5.16.7-2, 5.14.12-1, 5.14.16-1
Debian:12linux6.12.38-1~bpo12+1, 6.1.106-3, 6.1.112-1
Debian:11linux-6.16.1.106-3, 6.1.106-3, 6.1.106-3
Debian:13linux6.12.38-1, 6.12.41-1, 6.12.43-1

Timeline

  • Apr 24, 2026 CVE Published
  • May 2, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›