CVE Catalog

CVE-2026-98582

Low risk· EPSS 11%
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.21%

11th percentile - higher than 11% of all known CVEs

Summary

In the Linux kernel, the NFC st21nfca driver's st21nfca_hci_i2c_repack() trims a received frame at its EOF marker before removing byte stuffing, assuming the truncated frame contains the LLC header and two CRC bytes. A malformed frame can leave too few bytes for check_crc() or cause the unstuffing loop to read past the skb length. The fix requires minimum framing bytes before and after unstuffing and rejects an escape marker without its encoded byte.

Risk Assessment

Improper frame validation may lead to out-of-bounds read and potential kernel crash or code execution. It affects systems with st21nfca NFC devices.

Recommendation

Update the Linux kernel to a version containing the st21nfca fix. If NFC is not used, consider disabling the relevant modules.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: nfc: st21nfca: validate received frame size st21nfca_hci_i2c_repack() trims a received frame at its EOF marker before removing byte stuffing. It then assumes the truncated frame contains the LLC header and two CRC bytes, and it unconditionally reads the byte after an escape marker. A malformed frame can place EOF immediately after the start marker or can end its data portion with an escape marker. The former leaves too few bytes for check_crc(), while the latter makes the unstuffing loop read past the current skb length. Require the minimum framing bytes both before and after unstuffing. Use separate input and output cursors while removing byte stuffing, and reject an escape marker without its encoded byte. This keeps malformed frames within the received frame boundary before CRC processing.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS