{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-80802",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-80802"
  ],
  "published": "2026-09-04T15:14:07Z",
  "summary": "nfc: fdp: bound the device-reported read length and fix an skb leak",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: fdp: bound the device-reported read length and fix an skb leak\n\nfdp_nci_i2c_read() takes the next packet length from two device-supplied\nbytes and never validates it. The value is a u16 used as the\ni2c_master_recv() count into a 261-byte on-stack buffer: a malicious,\ncounterfeit or malfunctioning controller (or an i2c bus interposer) can\ndrive it far past the buffer for a stack out-of-bounds write that\nclobbers the canary and return address, or below the minimum frame size\n(directly, or by truncating the computed sum) so the header/LRC strip\nand the next length read run past a short receive. Reject a length\noutside [FDP_NCI_I2C_MIN_PAYLOAD, FDP_NCI_I2C_MAX_PAYLOAD], as a\ncorrupted packet already is, and force resynchronization.\n\nThe same loop allocates one data skb per iteration and assumes a length\npacket followed by a data packet; a device that sends two data packets\nin one call leaks the first skb when the second allocation overwrites\nit. Free a previously allocated skb before allocating the next.",
  "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.185",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-80802"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d9498ab9a78cb63d78dbe4f221d8cc6c91f285ee"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/1fc32327b927a6e2cde086f82575c29880844228"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/8d2c243b79854628ff076c38748c020042f02f57"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/fc3c2bd5b1ec6c7cbc8a50e32d9bcec114f25463"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/0d723090645b82c1cb27cfd7ebf81f0e7c96bcae"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/db7e464b350969c6ea8340de00d9796e5fd5123b"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/e5eec121f2c3bc4c7022613bedd9121a8aa4c949"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/1aa3fc769b0c45bd19f8dab1697084c2b3f6d706"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/7ad21dcfeb5181af0c3ee2608808c0c0a5283aa1"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-04T15:14:07Z"
  }
}
