In the Linux kernel, the following vulnerability has been resolved: nfc: hci: fix out-of-bounds read in HCP header parsing Both… (CVE-2026-63915)
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.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel NFC HCI code arises because two functions read the packet header from skb->data without confirming that the buffer contains at least one byte. A malicious NFC device can send a zero-length HCP frame that bypasses the SHDLC layer and causes an out-of-bounds heap read. Additionally, if such a frame is queued as a non-final fragment, it causes an underflow in the message length counter, leading to skb_over_panic() during reassembly. The fix involves adding pskb_may_pull() checks at the entry of these functions to ensure sufficient buffer length before accessing the header, while retaining existing checks for the 2-byte HCP message header.
Potential Impact
A malicious NFC peer can exploit this vulnerability to cause out-of-bounds heap reads and trigger kernel panic conditions (skb_over_panic) by sending specially crafted zero-byte HCP frames. This could lead to denial of service via kernel crashes. There is no information about code execution or privilege escalation. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel by adding pskb_may_pull() checks before accessing packet headers in the affected NFC HCI functions. Users and administrators should apply the official Linux kernel updates that include this patch to remediate the vulnerability. Since this is a kernel-level issue, updating to a patched kernel version is the recommended mitigation. Patch status is not explicitly confirmed in the provided data; check the Linux kernel vendor advisory for the exact fixed versions and update accordingly.
In the Linux kernel, the following vulnerability has been resolved: nfc: hci: fix out-of-bounds read in HCP header parsing Both… (CVE-2026-63915)
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.
CVSS v3.1
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel NFC HCI code arises because two functions read the packet header from skb->data without confirming that the buffer contains at least one byte. A malicious NFC device can send a zero-length HCP frame that bypasses the SHDLC layer and causes an out-of-bounds heap read. Additionally, if such a frame is queued as a non-final fragment, it causes an underflow in the message length counter, leading to skb_over_panic() during reassembly. The fix involves adding pskb_may_pull() checks at the entry of these functions to ensure sufficient buffer length before accessing the header, while retaining existing checks for the 2-byte HCP message header.
Potential Impact
A malicious NFC peer can exploit this vulnerability to cause out-of-bounds heap reads and trigger kernel panic conditions (skb_over_panic) by sending specially crafted zero-byte HCP frames. This could lead to denial of service via kernel crashes. There is no information about code execution or privilege escalation. No known exploits in the wild have been reported.
Mitigation Recommendations
A fix has been implemented in the Linux kernel by adding pskb_may_pull() checks before accessing packet headers in the affected NFC HCI functions. Users and administrators should apply the official Linux kernel updates that include this patch to remediate the vulnerability. Since this is a kernel-level issue, updating to a patched kernel version is the recommended mitigation. Patch status is not explicitly confirmed in the provided data; check the Linux kernel vendor advisory for the exact fixed versions and update accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-jmh7-f679-ghx4
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-63915"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a5d27ab2a4a8d598912f5b5
Added to database: 07/19/2026, 19:38:19 UTC
Last enriched: 07/19/2026, 20:09:05 UTC
Last updated: 07/20/2026, 21:52:25 UTC
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.