# CVE-2026-63915: nfc: hci: fix out-of-bounds read in HCP header parsing

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 31% of CVEs (2026-12-01)
- Published: 2026-07-19T14:55:19.305Z
- Modified: 2026-10-30T17:44:59.950Z
- Weaknesses: CWE-125
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 8b8d2e08bf0d50193931afd27482a59376b66b2b before ed6d5d97dad0334a7f43d218753429cbe2f70a4f; from 8b8d2e08bf0d50193931afd27482a59376b66b2b before b99366d74b535d0cadb1ef73e04639415d9ff3b7; from 8b8d2e08bf0d50193931afd27482a59376b66b2b before 37382293f174b82a0616c8295e32b1fc8e13d1ed; from 8b8d2e08bf0d50193931afd27482a59376b66b2b before c4cc6b3b0013acb3ed0b2b60e57dfae98647fe98; from 8b8d2e08bf0d50193931afd27482a59376b66b2b before 1905f5ec3641b2b234bb63549c8ca11ab85466eb; from 8b8d2e08bf0d50193931afd27482a59376b66b2b before 22d41b176b9989efd21c3b2d3abf6728f05b9d9a; from 8b8d2e08bf0d50193931afd27482a59376b66b2b before 83b1362edc9d6ae376c6f36da116e2c70f2e70a6; from 8b8d2e08bf0d50193931afd27482a59376b66b2b before f040e590c035bfd9553fe79ee9585caf1b14d67b; 3.5 (not affected: before 3.5; from 5.10.259 up to 5.10.*; from 5.15.210 up to 5.15.*; from 6.1.176 up to 6.1.*; from 6.6.143 up to 6.6.*; from 6.12.93 up to 6.12.*; from 6.18.35 up to 6.18.*; from 7.0.12 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 3.5 before 5.10.259; from 5.11 before 5.15.210; from 5.16 before 6.1.176; from 6.2 before 6.6.143; from 6.7 before 6.12.93; from 6.13 before 6.18.35; from 6.19 before 7.0.12; 7.1

## References

- <https://git.kernel.org/stable/c/ed6d5d97dad0334a7f43d218753429cbe2f70a4f> (patch)
- <https://git.kernel.org/stable/c/b99366d74b535d0cadb1ef73e04639415d9ff3b7> (patch)
- <https://git.kernel.org/stable/c/37382293f174b82a0616c8295e32b1fc8e13d1ed> (patch)
- <https://git.kernel.org/stable/c/c4cc6b3b0013acb3ed0b2b60e57dfae98647fe98> (patch)
- <https://git.kernel.org/stable/c/1905f5ec3641b2b234bb63549c8ca11ab85466eb> (patch)
- <https://git.kernel.org/stable/c/22d41b176b9989efd21c3b2d3abf6728f05b9d9a> (patch)
- <https://git.kernel.org/stable/c/83b1362edc9d6ae376c6f36da116e2c70f2e70a6> (patch)
- <https://git.kernel.org/stable/c/f040e590c035bfd9553fe79ee9585caf1b14d67b> (patch)

## Sources

- CVE List: [CVE-2026-63915](https://www.cve.org/CVERecord?id=CVE-2026-63915), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-63915](https://nvd.nist.gov/vuln/detail/CVE-2026-63915), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-63915 · Whole record: https://cve.day/CVE-2026-63915.json · Rebuilt by cve.day 2026-11-25T22:59:28.823Z
