CVE-2026-63915 (GCVE-0-2026-63915)

Vulnerability from cvelistv5 – Published: 2026-07-19 14:55 – Updated: 2026-07-20 13:41
VLAI
Title
nfc: hci: fix out-of-bounds read in HCP header parsing
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.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 8b8d2e08bf0d50193931afd27482a59376b66b2b , < ed6d5d97dad0334a7f43d218753429cbe2f70a4f (git)
Affected: 8b8d2e08bf0d50193931afd27482a59376b66b2b , < b99366d74b535d0cadb1ef73e04639415d9ff3b7 (git)
Affected: 8b8d2e08bf0d50193931afd27482a59376b66b2b , < 37382293f174b82a0616c8295e32b1fc8e13d1ed (git)
Affected: 8b8d2e08bf0d50193931afd27482a59376b66b2b , < c4cc6b3b0013acb3ed0b2b60e57dfae98647fe98 (git)
Affected: 8b8d2e08bf0d50193931afd27482a59376b66b2b , < 1905f5ec3641b2b234bb63549c8ca11ab85466eb (git)
Affected: 8b8d2e08bf0d50193931afd27482a59376b66b2b , < 22d41b176b9989efd21c3b2d3abf6728f05b9d9a (git)
Affected: 8b8d2e08bf0d50193931afd27482a59376b66b2b , < 83b1362edc9d6ae376c6f36da116e2c70f2e70a6 (git)
Affected: 8b8d2e08bf0d50193931afd27482a59376b66b2b , < f040e590c035bfd9553fe79ee9585caf1b14d67b (git)
Create a notification for this product.
Linux Linux Affected: 3.5
Unaffected: 0 , < 3.5 (semver)
Unaffected: 5.10.259 , ≤ 5.10.* (semver)
Unaffected: 5.15.210 , ≤ 5.15.* (semver)
Unaffected: 6.1.176 , ≤ 6.1.* (semver)
Unaffected: 6.6.143 , ≤ 6.6.* (semver)
Unaffected: 6.12.93 , ≤ 6.12.* (semver)
Unaffected: 6.18.35 , ≤ 6.18.* (semver)
Unaffected: 7.0.12 , ≤ 7.0.* (semver)
Unaffected: 7.1 , ≤ * (original_commit_for_fix)
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"
          }
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-20T13:41:25.039Z",
        "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-07-20T13:41:25.039Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-63915",
      "date": "2026-07-21",
      "epss": "0.00349",
      "percentile": "0.2725"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-63915\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-19T16:17:09.517\",\"lastModified\":\"2026-07-20T15:16:55.693\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"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.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"net/nfc/hci/core.c\",\"net/nfc/nci/hci.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"8b8d2e08bf0d50193931afd27482a59376b66b2b\",\"lessThan\":\"ed6d5d97dad0334a7f43d218753429cbe2f70a4f\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"8b8d2e08bf0d50193931afd27482a59376b66b2b\",\"lessThan\":\"b99366d74b535d0cadb1ef73e04639415d9ff3b7\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"8b8d2e08bf0d50193931afd27482a59376b66b2b\",\"lessThan\":\"37382293f174b82a0616c8295e32b1fc8e13d1ed\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"8b8d2e08bf0d50193931afd27482a59376b66b2b\",\"lessThan\":\"c4cc6b3b0013acb3ed0b2b60e57dfae98647fe98\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"8b8d2e08bf0d50193931afd27482a59376b66b2b\",\"lessThan\":\"1905f5ec3641b2b234bb63549c8ca11ab85466eb\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"8b8d2e08bf0d50193931afd27482a59376b66b2b\",\"lessThan\":\"22d41b176b9989efd21c3b2d3abf6728f05b9d9a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"8b8d2e08bf0d50193931afd27482a59376b66b2b\",\"lessThan\":\"83b1362edc9d6ae376c6f36da116e2c70f2e70a6\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"8b8d2e08bf0d50193931afd27482a59376b66b2b\",\"lessThan\":\"f040e590c035bfd9553fe79ee9585caf1b14d67b\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"net/nfc/hci/core.c\",\"net/nfc/nci/hci.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"3.5\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"3.5\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.259\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.210\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.176\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.143\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.93\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.35\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.0.12\",\"lessThanOrEqual\":\"7.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":8.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"ADJACENT_NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":2.8,\"impactScore\":5.9}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/1905f5ec3641b2b234bb63549c8ca11ab85466eb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/22d41b176b9989efd21c3b2d3abf6728f05b9d9a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/37382293f174b82a0616c8295e32b1fc8e13d1ed\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/83b1362edc9d6ae376c6f36da116e2c70f2e70a6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b99366d74b535d0cadb1ef73e04639415d9ff3b7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c4cc6b3b0013acb3ed0b2b60e57dfae98647fe98\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ed6d5d97dad0334a7f43d218753429cbe2f70a4f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f040e590c035bfd9553fe79ee9585caf1b14d67b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…