CVE-2026-63915 (GCVE-0-2026-63915)
Vulnerability from cvelistv5
Published
2026-07-19 14:55
Modified
2026-08-05 12:37
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: 8b8d2e08bf0d50193931afd27482a59376b66b2b
Version: 8b8d2e08bf0d50193931afd27482a59376b66b2b
Version: 8b8d2e08bf0d50193931afd27482a59376b66b2b
Version: 8b8d2e08bf0d50193931afd27482a59376b66b2b
Version: 8b8d2e08bf0d50193931afd27482a59376b66b2b
Version: 8b8d2e08bf0d50193931afd27482a59376b66b2b
Version: 8b8d2e08bf0d50193931afd27482a59376b66b2b
Version: 8b8d2e08bf0d50193931afd27482a59376b66b2b
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/nfc/hci/core.c",
            "net/nfc/nci/hci.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ed6d5d97dad0334a7f43d218753429cbe2f70a4f",
              "status": "affected",
              "version": "8b8d2e08bf0d50193931afd27482a59376b66b2b",
              "versionType": "git"
            },
            {
              "lessThan": "b99366d74b535d0cadb1ef73e04639415d9ff3b7",
              "status": "affected",
              "version": "8b8d2e08bf0d50193931afd27482a59376b66b2b",
              "versionType": "git"
            },
            {
              "lessThan": "37382293f174b82a0616c8295e32b1fc8e13d1ed",
              "status": "affected",
              "version": "8b8d2e08bf0d50193931afd27482a59376b66b2b",
              "versionType": "git"
            },
            {
              "lessThan": "c4cc6b3b0013acb3ed0b2b60e57dfae98647fe98",
              "status": "affected",
              "version": "8b8d2e08bf0d50193931afd27482a59376b66b2b",
              "versionType": "git"
            },
            {
              "lessThan": "1905f5ec3641b2b234bb63549c8ca11ab85466eb",
              "status": "affected",
              "version": "8b8d2e08bf0d50193931afd27482a59376b66b2b",
              "versionType": "git"
            },
            {
              "lessThan": "22d41b176b9989efd21c3b2d3abf6728f05b9d9a",
              "status": "affected",
              "version": "8b8d2e08bf0d50193931afd27482a59376b66b2b",
              "versionType": "git"
            },
            {
              "lessThan": "83b1362edc9d6ae376c6f36da116e2c70f2e70a6",
              "status": "affected",
              "version": "8b8d2e08bf0d50193931afd27482a59376b66b2b",
              "versionType": "git"
            },
            {
              "lessThan": "f040e590c035bfd9553fe79ee9585caf1b14d67b",
              "status": "affected",
              "version": "8b8d2e08bf0d50193931afd27482a59376b66b2b",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/nfc/hci/core.c",
            "net/nfc/nci/hci.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.5"
            },
            {
              "lessThan": "3.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.259",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.210",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.176",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.143",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.93",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.35",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.259",
                  "versionStartIncluding": "3.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.210",
                  "versionStartIncluding": "3.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.176",
                  "versionStartIncluding": "3.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.143",
                  "versionStartIncluding": "3.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.93",
                  "versionStartIncluding": "3.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.35",
                  "versionStartIncluding": "3.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.12",
                  "versionStartIncluding": "3.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "3.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: hci: fix out-of-bounds read in HCP header parsing\n\nBoth nfc_hci_recv_from_llc() and nci_hci_data_received_cb() read\npacket-\u003eheader from skb-\u003edata at function entry without first checking\nthat the buffer holds at least one byte. A malicious NFC peer can send\na 0-byte HCP frame that passes through the SHDLC layer and reaches\nthese functions, causing an out-of-bounds heap read of packet-\u003eheader.\nThe same 0-byte frame, if queued as a non-final fragment, also causes\nthe reassembly loop to underflow msg_len to UINT_MAX, triggering\nskb_over_panic() when the reassembled skb is written.\n\nFix this by adding a pskb_may_pull() check at the entry of each\nfunction before packet-\u003eheader is first accessed. The existing\npskb_may_pull() checks before the reassembled hcp_skb is cast to\nstruct hcp_packet remain in place to guard the 2-byte HCP message\nheader."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:A - The bug is triggered by malformed HCP frames from a malicious NFC peer over the RF link; NFC is a proximity wireless medium analogous to Bluetooth, requiring the attacker to be within NFC range (~4 cm) of the victim device.\nAC:L - An attacker with commodity NFC hardware can reliably send a 0-byte HCP frame (or fragment sequence) to trigger the out-of-bounds read and the msg_len integer underflow that leads to skb_over_panic(), with no race or special memory layout required.\nPR:N - Exploitation requires no privileges on the victim system; inbound frames are processed in kernel driver/workqueue context with no authentication, and the attacker only needs an active NFC RF session with the victim\u0027s controller.\nUI:N - On typical NFC-enabled deployments (Android phones, payment terminals, transit readers), the victim does not need to perform a deliberate administrative action beyond having NFC radio active while an attacker initiates proximity communication.\nS:U - Impact is confined to kernel memory and availability on the victim host; it does not cross a VM, container, or IOMMU security boundary.\nC:H - The vulnerable code dereferences packet-\u003eheader from skb-\u003edata on a zero-length skb, causing an out-of-bounds heap read of at least one byte of adjacent kernel memory.\nI:H - The fragment-reassembly path underflows msg_len when processing zero-length fragments, passing a wrapped length to skb_put_data() and attempting a massive kernel buffer write before panic; combined with the heap out-of-bounds read, this is kernel memory corruption with potential for further exploitation.\nA:H - The integer underflow in HCP fragment reassembly reliably triggers skb_over_panic() (kernel BUG/panic), causing complete loss of kernel availability on affected systems."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:37:09.414Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ed6d5d97dad0334a7f43d218753429cbe2f70a4f"
        },
        {
          "url": "https://git.kernel.org/stable/c/b99366d74b535d0cadb1ef73e04639415d9ff3b7"
        },
        {
          "url": "https://git.kernel.org/stable/c/37382293f174b82a0616c8295e32b1fc8e13d1ed"
        },
        {
          "url": "https://git.kernel.org/stable/c/c4cc6b3b0013acb3ed0b2b60e57dfae98647fe98"
        },
        {
          "url": "https://git.kernel.org/stable/c/1905f5ec3641b2b234bb63549c8ca11ab85466eb"
        },
        {
          "url": "https://git.kernel.org/stable/c/22d41b176b9989efd21c3b2d3abf6728f05b9d9a"
        },
        {
          "url": "https://git.kernel.org/stable/c/83b1362edc9d6ae376c6f36da116e2c70f2e70a6"
        },
        {
          "url": "https://git.kernel.org/stable/c/f040e590c035bfd9553fe79ee9585caf1b14d67b"
        }
      ],
      "title": "nfc: hci: fix out-of-bounds read in HCP header parsing",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-63915",
    "datePublished": "2026-07-19T14:55:19.305Z",
    "dateReserved": "2026-07-19T07:54:57.020Z",
    "dateUpdated": "2026-08-05T12:37:09.414Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…