Skip to main content
Network Thinking Solutions Logo

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.

All CVEs
CVE-2026-31660Published 4/24/2026

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.

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
4/24/2026
Last modified
11/11/2026
Assigned by
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.5.1, < 5.10.253

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.203

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.169

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.135

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.82

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.18.23

Verify advisory

Source
linux kernel
linux
≥ 6.19, < 6.19.13

Verify advisory

Source
linux kernel
linux
5.5

Verify advisory

Source
linux kernel
linux
7.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ c656aa4c27b17a8c70da223ed5ab42145800d6b5, < 2ca64fb7e2d2ae14619dd204d4f2f0a601f421fb

Verify advisory

Source
Linux
Linux
≥ c656aa4c27b17a8c70da223ed5ab42145800d6b5, < 8b71299d587d9e4c830c18afb884c80ddb30ad28

Verify advisory

Source
Linux
Linux
≥ c656aa4c27b17a8c70da223ed5ab42145800d6b5, < 16649adc2e19509104245ea1f349b629d858f11f

Verify advisory

Source
Linux
Linux
≥ c656aa4c27b17a8c70da223ed5ab42145800d6b5, < 07cb6c72e66ba548679f22ac29ad588da8999279

Verify advisory

Source
Linux
Linux
≥ c656aa4c27b17a8c70da223ed5ab42145800d6b5, < a9495069b43b8634c1ae0042e888766c34f66637

Verify advisory

Source
Linux
Linux
≥ c656aa4c27b17a8c70da223ed5ab42145800d6b5, < 21ae2cda66a55c759607bbf1d23cbaa42019d2de

Verify advisory

Source
Linux
Linux
≥ c656aa4c27b17a8c70da223ed5ab42145800d6b5, < 7e37da42eda45d7859d9273fc7e225d8df458038

Verify advisory

Source
Linux
Linux
≥ c656aa4c27b17a8c70da223ed5ab42145800d6b5, < c71ba669b570c7b3f86ec875be222ea11dacb352

Verify advisory

Source
Linux
Linux
5.5

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.