Skip to content
Heist/ feed
Unrated

nfc: nci: fix use of uninitialized memory in CORE_INIT_RSP parsing

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: nfc: nci: fix use of uninitialized memory in CORE_INIT_RSP parsing nci_core_init_rsp_packet_v1() and nci_core_init_rsp_packet_v2() parse the CORE_INIT_RSP packet without validating that the skb contains enough data. A malformed response (e.g. injected via virtual_ncidev) can declare a large num_supported_rf_interfaces while providing insufficient data, causing reads of uninitialized slab memory. This is later used in nci_init_complete_req(), triggering a KMSAN uninit-value warning. Add skb length checks before accessing packet fields: - Validate the skb has at least 1 byte for the status field. - Validate the skb can hold the fixed-size header before parsing. - In v2, bounds-check each variable-length rf_interface entry and its extension parameters within the parsing loop. - In v1, verify the skb is large enough for both the variable-length rf_interfaces array and the trailing rsp_2 structure.

Announced Group revision 1
Original source ↗

CVE-2026-90221

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-90221

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "bcd684aace34fedbd473fbd9b21ed06b0c2d2212",
        "lessThan": "baed3fdf6ed2195c56f25ae18a086b938dcd3983",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "bcd684aace34fedbd473fbd9b21ed06b0c2d2212",
        "lessThan": "2f434478771a4ebdd535033561c0590bcde39753",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "bcd684aace34fedbd473fbd9b21ed06b0c2d2212",
        "lessThan": "5487f04c1ccbfa15aa6e531eb1ec9c9ec9c7bf31",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "bcd684aace34fedbd473fbd9b21ed06b0c2d2212",
        "lessThan": "bbe68e8249e2c76d65adfd9224fa95f1ca0fbe4e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "bcd684aace34fedbd473fbd9b21ed06b0c2d2212",
        "lessThan": "4f0483bbcdaccc9d4aee30df7351863334cecfa7",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "bcd684aace34fedbd473fbd9b21ed06b0c2d2212",
        "lessThan": "7d44b897bff84edcd4814899314d661ad4956a8e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "bcd684aace34fedbd473fbd9b21ed06b0c2d2212",
        "lessThan": "d56575a2595ee1f597f39e8a1cfb67ed3501678d",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "net/nfc/nci/rsp.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.11"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.11",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.15.221",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.188",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.157",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.110",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.52",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.6",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "net/nfc/nci/rsp.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-90221

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#36592 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement