{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-90221",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-90221"
  ],
  "published": "2026-09-17T16:10:40Z",
  "summary": "nfc: nci: fix use of uninitialized memory in CORE_INIT_RSP parsing",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: nci: fix use of uninitialized memory in CORE_INIT_RSP parsing\n\nnci_core_init_rsp_packet_v1() and nci_core_init_rsp_packet_v2() parse\nthe CORE_INIT_RSP packet without validating that the skb contains\nenough data. A malformed response (e.g. injected via virtual_ncidev)\ncan declare a large num_supported_rf_interfaces while providing\ninsufficient data, causing reads of uninitialized slab memory. This\nis later used in nci_init_complete_req(), triggering a KMSAN\nuninit-value warning.\n\nAdd skb length checks before accessing packet fields:\n- Validate the skb has at least 1 byte for the status field.\n- Validate the skb can hold the fixed-size header before parsing.\n- In v2, bounds-check each variable-length rf_interface entry and its\n  extension parameters within the parsing loop.\n- In v1, verify the skb is large enough for both the variable-length\n  rf_interfaces array and the trailing rsp_2 structure.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.188",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-90221"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/baed3fdf6ed2195c56f25ae18a086b938dcd3983"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/2f434478771a4ebdd535033561c0590bcde39753"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/5487f04c1ccbfa15aa6e531eb1ec9c9ec9c7bf31"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/bbe68e8249e2c76d65adfd9224fa95f1ca0fbe4e"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/4f0483bbcdaccc9d4aee30df7351863334cecfa7"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/7d44b897bff84edcd4814899314d661ad4956a8e"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d56575a2595ee1f597f39e8a1cfb67ed3501678d"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-17T16:10:40Z"
  }
}
