Description
In the Linux kernel, the following vulnerability has been resolved:

nfc: digital: clamp SENSF_RES length to the destination buffer

digital_in_recv_sensf_res() memcpy()s resp->len bytes from a remote
NFC-F device response into the NFC_SENSF_RES_MAXSIZE-byte target.sensf_res
field without an upper-bound check. A nearby malicious NFC-F device can
send an oversized SENSF_RES response to overflow the stack-local struct
nfc_target.

Clamp resp->len to NFC_SENSF_RES_MAXSIZE before the copy.

Found by 0sec automated security-research tooling (https://0sec.ai).
Published: 2026-09-04
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability allows a malicious NFC‑F device to send an oversized SENSF_RES response that is copied unsafely into a kernel stack buffer via memcpy. Because the length is not limited, the copy can overwrite arbitrary stack memory, potentially corrupting control data and enabling arbitrary code execution or a denial‑of‑service by crashing the kernel.

Affected Systems

This flaw affects the Linux kernel when the NFC subsystem is enabled. No specific kernel version is listed, so all releases that contain the vulnerable path are impacted.

Risk and Exploitability

The flaw is a classic stack buffer overflow in kernel space, with a high impact if exploited. EPSS data is not available and the vulnerability is not currently listed in the CISA KEV catalog. An attacker must have a nearby NFC‑F device to transmit the crafted response, but once the malformed packet is processed the kernel can be compromised. The severity can be expected to be high, similar to other unchecked memcpy vulnerabilities in the kernel.

Generated by OpenCVE AI on September 4, 2026 at 17:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel patch that clamps the SENSF_RES length to NFC_SENSF_RES_MAXSIZE as introduced in the linked commits.
  • If the patch cannot be applied immediately, disable the NFC driver stack (nfc and related modules) to prevent processing of external NFC frames.
  • After applying the patch or disabling NFC, reboot the system to clear the vulnerable stack state.

Generated by OpenCVE AI on September 4, 2026 at 17:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 18:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-120
CWE-125

Fri, 04 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: nfc: digital: clamp SENSF_RES length to the destination buffer digital_in_recv_sensf_res() memcpy()s resp->len bytes from a remote NFC-F device response into the NFC_SENSF_RES_MAXSIZE-byte target.sensf_res field without an upper-bound check. A nearby malicious NFC-F device can send an oversized SENSF_RES response to overflow the stack-local struct nfc_target. Clamp resp->len to NFC_SENSF_RES_MAXSIZE before the copy. Found by 0sec automated security-research tooling (https://0sec.ai).
Title nfc: digital: clamp SENSF_RES length to the destination buffer
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-09-04T15:13:17.298Z

Reserved: 2026-08-26T14:34:25.794Z

Link: CVE-2026-80803

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-04T16:18:07.250

Modified: 2026-09-04T16:18:07.250

Link: CVE-2026-80803

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T22:30:06Z

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-125

    Out-of-bounds Read