CVE-2026-80802

nfc: fdp: bound the device-reported read length and fix an skb leak

State
Published
Severity
Not scored
Published
Sep 4, 2026
Updated
Oct 19, 2026
Reserved
Aug 26, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

nfc: fdp: bound the device-reported read length and fix an skb leak

fdp_nci_i2c_read() takes the next packet length from two device-supplied bytes and never validates it. The value is a u16 used as the i2c_master_recv() count into a 261-byte on-stack buffer: a malicious, counterfeit or malfunctioning controller (or an i2c bus interposer) can drive it far past the buffer for a stack out-of-bounds write that clobbers the canary and return address, or below the minimum frame size (directly, or by truncating the computed sum) so the header/LRC strip and the next length read run past a short receive. Reject a length outside [FDP_NCI_I2C_MIN_PAYLOAD, FDP_NCI_I2C_MAX_PAYLOAD], as a corrupted packet already is, and force resynchronization.

The same loop allocates one data skb per iteration and assumes a length packet followed by a data packet; a device that sends two data packets in one call leaks the first skb when the second allocation overwrites it. Free a previously allocated skb before allocating the next.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a06347c04c13e380afce0c9816df51f00b83faf1 to before d9498ab9a78cb63d78dbe4f221d8cc6c91f285eeAffected
  • a06347c04c13e380afce0c9816df51f00b83faf1 to before 1fc32327b927a6e2cde086f82575c29880844228Affected
  • a06347c04c13e380afce0c9816df51f00b83faf1 to before 8d2c243b79854628ff076c38748c020042f02f57Affected
  • a06347c04c13e380afce0c9816df51f00b83faf1 to before fc3c2bd5b1ec6c7cbc8a50e32d9bcec114f25463Affected
  • a06347c04c13e380afce0c9816df51f00b83faf1 to before 0d723090645b82c1cb27cfd7ebf81f0e7c96bcaeAffected
  • a06347c04c13e380afce0c9816df51f00b83faf1 to before db7e464b350969c6ea8340de00d9796e5fd5123bAffected
  • a06347c04c13e380afce0c9816df51f00b83faf1 to before e5eec121f2c3bc4c7022613bedd9121a8aa4c949Affected
  • a06347c04c13e380afce0c9816df51f00b83faf1 to before 1aa3fc769b0c45bd19f8dab1697084c2b3f6d706Affected
  • a06347c04c13e380afce0c9816df51f00b83faf1 to before 7ad21dcfeb5181af0c3ee2608808c0c0a5283aa1Affected
LinuxLinux
  • 4.4Affected
  • before 4.4Not affected
  • 5.10.267 through 5.10.*Not affected
  • 5.15.218 through 5.15.*Not affected
  • 6.1.185 through 6.1.*Not affected
  • 6.6.154 through 6.6.*Not affected
  • 6.12.106 through 6.12.*Not affected
  • 6.18.47 through 6.18.*Not affected
  • 7.1.11 through 7.1.*Not affected
  • 7.2.1 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.