nfc: port100: reject frames whose declared length exceeds the received data

Summary

CVECVE-2026-98481
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-18 16:16:58 UTC
Updated2026-10-19 10:18:59 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: nfc: port100: reject frames whose declared length exceeds the received data port100_recv_response() passes the URB transfer buffer to port100_rx_frame_is_valid(), which checksums le16_to_cpu(frame->datalen) bytes of frame->data. datalen is a 16-bit field supplied by the device and is never checked against the number of bytes actually received (urb->actual_length), so a device reporting a datalen larger than the received frame makes port100_data_checksum() read out of bounds past the transfer buffer. Reject a response whose declared frame size does not fit the received length before validating it. Found by 0sec (https://0sec.ai) using automated source analysis; the missing bound is evident from source. Compile-tested.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 0d482995f0cdd0302450aa300c684c642d8ab31f git Not specified
CNA Linux Linux affected 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 9e8df087826b9999d1b83b06f5d85675d5a69c9e git Not specified
CNA Linux Linux affected 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 db66a30588630c7de30ef033f00daddef69f6ad9 git Not specified
CNA Linux Linux affected 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 144ad477c381e2c592b64898d04ab4ce03b32861 git Not specified
CNA Linux Linux affected 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 e4da1452e10c6472a4bac48dc2f6a35fff1fcd69 git Not specified
CNA Linux Linux affected 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 14b1467cfc6630583650f33538174c5a1ec685ab git Not specified
CNA Linux Linux affected 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 035056e07ea65be670284246d9bc62f2f00ff4a3 git Not specified
CNA Linux Linux affected 562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06 092c6a605cbd6414ef499834c2e0da69c2c3388e git Not specified
CNA Linux Linux affected 3.13 Not specified
CNA Linux Linux unaffected 3.13 semver Not specified
CNA Linux Linux unaffected 5.10.271 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.222 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.189 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.158 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.112 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.55 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.9 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/144ad477c381e2c592b64898d04ab4ce03b32861 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/14b1467cfc6630583650f33538174c5a1ec685ab 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0d482995f0cdd0302450aa300c684c642d8ab31f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e4da1452e10c6472a4bac48dc2f6a35fff1fcd69 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/092c6a605cbd6414ef499834c2e0da69c2c3388e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/db66a30588630c7de30ef033f00daddef69f6ad9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/035056e07ea65be670284246d9bc62f2f00ff4a3 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9e8df087826b9999d1b83b06f5d85675d5a69c9e 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