{"id":"CVE-2026-80802","aliases":["CVE-2026-80802"],"related":[],"kind":"vulnerability","state":"published","title":"nfc: fdp: bound the device-reported read length and fix an skb leak","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-04T15:13:16.241Z","modified":"2026-10-19T09:17:14.740Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a06347c04c13e380afce0c9816df51f00b83faf1","fixed":"d9498ab9a78cb63d78dbe4f221d8cc6c91f285ee","status":"affected"},{"type":"git","introduced":"a06347c04c13e380afce0c9816df51f00b83faf1","fixed":"1fc32327b927a6e2cde086f82575c29880844228","status":"affected"},{"type":"git","introduced":"a06347c04c13e380afce0c9816df51f00b83faf1","fixed":"8d2c243b79854628ff076c38748c020042f02f57","status":"affected"},{"type":"git","introduced":"a06347c04c13e380afce0c9816df51f00b83faf1","fixed":"fc3c2bd5b1ec6c7cbc8a50e32d9bcec114f25463","status":"affected"},{"type":"git","introduced":"a06347c04c13e380afce0c9816df51f00b83faf1","fixed":"0d723090645b82c1cb27cfd7ebf81f0e7c96bcae","status":"affected"},{"type":"git","introduced":"a06347c04c13e380afce0c9816df51f00b83faf1","fixed":"db7e464b350969c6ea8340de00d9796e5fd5123b","status":"affected"},{"type":"git","introduced":"a06347c04c13e380afce0c9816df51f00b83faf1","fixed":"e5eec121f2c3bc4c7022613bedd9121a8aa4c949","status":"affected"},{"type":"git","introduced":"a06347c04c13e380afce0c9816df51f00b83faf1","fixed":"1aa3fc769b0c45bd19f8dab1697084c2b3f6d706","status":"affected"},{"type":"git","introduced":"a06347c04c13e380afce0c9816df51f00b83faf1","fixed":"7ad21dcfeb5181af0c3ee2608808c0c0a5283aa1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.4","status":"unaffected"},{"type":"semver","introduced":"5.10.267","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.218","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.185","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.154","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.106","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.47","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.11","lastAffected":"7.1.*","status":"unaffected"},{"type":"semver","introduced":"7.2.1","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/d9498ab9a78cb63d78dbe4f221d8cc6c91f285ee","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1fc32327b927a6e2cde086f82575c29880844228","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8d2c243b79854628ff076c38748c020042f02f57","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fc3c2bd5b1ec6c7cbc8a50e32d9bcec114f25463","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0d723090645b82c1cb27cfd7ebf81f0e7c96bcae","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/db7e464b350969c6ea8340de00d9796e5fd5123b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e5eec121f2c3bc4c7022613bedd9121a8aa4c949","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1aa3fc769b0c45bd19f8dab1697084c2b3f6d706","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7ad21dcfeb5181af0c3ee2608808c0c0a5283aa1","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80802","url":"https://www.cve.org/CVERecord?id=CVE-2026-80802","licence":"CVE Terms of Use","modified":"2026-10-19T08:43:55.498Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80802","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80802","licence":"Public domain","modified":"2026-10-19T09:17:14.740Z"}],"updatedAt":"2026-11-25T22:59:36.331Z","epss":{"score":0.00195,"percentile":0.09672,"date":"2026-12-02T12:00:21.000Z"}}