Description
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.
Published: 2026-10-18
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Buffer Over-read / Denial of Service
Action: Immediate Patch
AI Analysis

Impact

The Linux kernel NFC st21nfca driver trims a received frame at its end‑of‑frame marker before byte‑unstuffing and then assumes the truncated frame contains an LLC header and two CRC bytes. It also unconditionally reads the byte following an escape marker. If a malformed frame places the EOF immediately after the start marker or ends with an escape marker, the driver has fewer bytes available for CRC checking or will read past the skb boundary while unstuffing, leading to a buffer over‑read and potential kernel memory corruption.

Affected Systems

This issue affects all kernel releases that include the st21nfca NFC driver before the latest patch is applied. It is present in the general Linux kernel, regardless of distribution, and manifests on any system with an NFC controller that uses the st21nfca driver.

Risk and Exploitability

The EPSS score is < 1% and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector, inferred from the description, is that an adversary would need to deliver a specially crafted NFC frame, for example by presenting a malicious tag to the compromised NFC controller. Such a frame can trigger a buffer over‑read and cause a kernel crash, resulting in denial of service. No public exploits have been reported, so the exploitation probability is low, but the medium impact warrants prompt remediation.

Generated by OpenCVE AI on October 20, 2026 at 19:07 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that includes the st21nfca driver fix.
  • If a kernel upgrade is impractical, disable or blacklist the st21nfca module so it never loads.
  • Restrict access to the NFC device or isolate the NFC subsystem from untrusted users or processes.

Generated by OpenCVE AI on October 20, 2026 at 19:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
History

Tue, 20 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sun, 18 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Description 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.
Title nfc: st21nfca: validate received frame size
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:22:08.022Z

Reserved: 2026-09-25T10:25:14.358Z

Link: CVE-2026-98582

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:10.743

Modified: 2026-10-19T10:19:18.997

Link: CVE-2026-98582

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T00:00:00Z

Links: CVE-2026-98582 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T19:15:14Z

Weaknesses