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

Summary

CVECVE-2026-80802
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-04 16:18:07 UTC
Updated2026-09-04 16:18:07 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.001950000 probability, percentile 0.092850000 (date 2026-09-07)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected a06347c04c13e380afce0c9816df51f00b83faf1 d9498ab9a78cb63d78dbe4f221d8cc6c91f285ee git Not specified
CNA Linux Linux affected a06347c04c13e380afce0c9816df51f00b83faf1 1fc32327b927a6e2cde086f82575c29880844228 git Not specified
CNA Linux Linux affected a06347c04c13e380afce0c9816df51f00b83faf1 8d2c243b79854628ff076c38748c020042f02f57 git Not specified
CNA Linux Linux affected a06347c04c13e380afce0c9816df51f00b83faf1 fc3c2bd5b1ec6c7cbc8a50e32d9bcec114f25463 git Not specified
CNA Linux Linux affected a06347c04c13e380afce0c9816df51f00b83faf1 0d723090645b82c1cb27cfd7ebf81f0e7c96bcae git Not specified
CNA Linux Linux affected a06347c04c13e380afce0c9816df51f00b83faf1 db7e464b350969c6ea8340de00d9796e5fd5123b git Not specified
CNA Linux Linux affected a06347c04c13e380afce0c9816df51f00b83faf1 e5eec121f2c3bc4c7022613bedd9121a8aa4c949 git Not specified
CNA Linux Linux affected a06347c04c13e380afce0c9816df51f00b83faf1 1aa3fc769b0c45bd19f8dab1697084c2b3f6d706 git Not specified
CNA Linux Linux affected a06347c04c13e380afce0c9816df51f00b83faf1 7ad21dcfeb5181af0c3ee2608808c0c0a5283aa1 git Not specified
CNA Linux Linux affected 4.4 Not specified
CNA Linux Linux unaffected 4.4 semver Not specified
CNA Linux Linux unaffected 5.10.267 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.218 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.185 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.154 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.106 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.47 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.11 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2.1 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/d9498ab9a78cb63d78dbe4f221d8cc6c91f285ee 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e5eec121f2c3bc4c7022613bedd9121a8aa4c949 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/fc3c2bd5b1ec6c7cbc8a50e32d9bcec114f25463 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/db7e464b350969c6ea8340de00d9796e5fd5123b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1aa3fc769b0c45bd19f8dab1697084c2b3f6d706 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1fc32327b927a6e2cde086f82575c29880844228 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8d2c243b79854628ff076c38748c020042f02f57 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0d723090645b82c1cb27cfd7ebf81f0e7c96bcae 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7ad21dcfeb5181af0c3ee2608808c0c0a5283aa1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report