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

nfc: hci: fix out-of-bounds read in HCP header parsing

Both nfc_hci_recv_from_llc() and nci_hci_data_received_cb() read
packet->header from skb->data at function entry without first checking
that the buffer holds at least one byte. A malicious NFC peer can send
a 0-byte HCP frame that passes through the SHDLC layer and reaches
these functions, causing an out-of-bounds heap read of packet->header.
The same 0-byte frame, if queued as a non-final fragment, also causes
the reassembly loop to underflow msg_len to UINT_MAX, triggering
skb_over_panic() when the reassembled skb is written.

Fix this by adding a pskb_may_pull() check at the entry of each
function before packet->header is first accessed. The existing
pskb_may_pull() checks before the reassembled hcp_skb is cast to
struct hcp_packet remain in place to guard the 2-byte HCP message
header.
Published: 2026-07-19
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s NFC HCI subsystem contains a flaw where the functions nfc_hci_recv_from_llc() and nci_hci_data_received_cb() read packet->header from skb->data without first ensuring the buffer contains at least one byte. A malicious NFC peer can transmit a 0‑byte HCP frame that bypasses the SHDLC layer and reaches these functions, leading to an out‑of‑bounds heap read that exposes kernel data. If the 0‑byte frame is queued as a non‑final fragment, the reassembly loop underflows msg_len to UINT_MAX, causing skb_over_panic() when the reassembled skb is written, which crashes the kernel. The impact is a high‑severity denial of service that does not provide remote code execution. Based on the description, it is inferred that the failure to validate input reflects an out‑of‑bounds read that could allow reading sensitive kernel memory and causing a crash.

Affected Systems

Any Linux kernel version with the NFC HCI subsystem enabled that has not yet applied the patch is affected. This includes all distributions that ship the unpatched kernel and have NFC hardware active; the vulnerability is not limited by architecture or user‑space configuration. Based on the description, this applies to any system where the NFC HCI interface is enabled and exposed to external NFC peers.

Risk and Exploitability

The CVSS score of 8.8 indicates high severity. With an EPSS score of less than 1%, exploitation instances are expected to be infrequent, and the issue is not listed in CISA KEV. The attack requires a malicious NFC peer to send a crafted 0‑byte HCP frame to a target device with NFC enabled, making it a remote attack that requires proximity or a compromised NFC interface. The likely attack vector is proximity‑based NFC communication, inferred from the need for a malicious peer to transmit frames, suggesting that physical proximity or access to the device’s NFC radio is required. On exploitation the kernel will crash due to the skb_over_panic() trigger, leading to service interruption without privilege escalation.

Generated by OpenCVE AI on August 4, 2026 at 06:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version where the NFC HCI subsystem includes bounds checking for packet header parsing, eliminating the out‑of‑bounds read (CWE-125).
  • If an upgrade cannot occur immediately, unload the NFC HCI module or disable any NFC services that process peer frames to eliminate the vulnerable code path.
  • Configure the host to block or restrict external NFC connections, such as disabling the device’s NFC interface, to prevent a malicious peer from sending malformed frames.

Generated by OpenCVE AI on August 4, 2026 at 06:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Sun, 26 Jul 2026 08:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-126

Wed, 22 Jul 2026 00:15:00 +0000


Tue, 21 Jul 2026 23:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-126

Mon, 20 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Sun, 19 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: nfc: hci: fix out-of-bounds read in HCP header parsing Both nfc_hci_recv_from_llc() and nci_hci_data_received_cb() read packet->header from skb->data at function entry without first checking that the buffer holds at least one byte. A malicious NFC peer can send a 0-byte HCP frame that passes through the SHDLC layer and reaches these functions, causing an out-of-bounds heap read of packet->header. The same 0-byte frame, if queued as a non-final fragment, also causes the reassembly loop to underflow msg_len to UINT_MAX, triggering skb_over_panic() when the reassembled skb is written. Fix this by adding a pskb_may_pull() check at the entry of each function before packet->header is first accessed. The existing pskb_may_pull() checks before the reassembled hcp_skb is cast to struct hcp_packet remain in place to guard the 2-byte HCP message header.
Title nfc: hci: fix out-of-bounds read in HCP header parsing
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-08-05T12:37:09.414Z

Reserved: 2026-07-19T07:54:57.020Z

Link: CVE-2026-63915

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity :

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-63915 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T07:00:05Z

Weaknesses