DEBIAN-CVE-2026-31660
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
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Debian:14 | linux | 6.12.38-1, 0, 6.12.41-1 |
| Debian:11 | linux | 5.16.7-2, 5.14.12-1, 5.14.16-1 |
| Debian:12 | linux | 6.12.38-1~bpo12+1, 6.1.106-3, 6.1.112-1 |
| Debian:11 | linux-6.1 | 6.1.106-3, 6.1.106-3, 6.1.106-3 |
| Debian:13 | linux | 6.12.38-1, 6.12.41-1, 6.12.43-1 |
Timeline
- Apr 24, 2026 CVE Published
- May 2, 2026 CVE Updated