{"id":"CVE-2026-98481","summary":"nfc: port100: reject frames whose declared length exceeds the received data","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: port100: reject frames whose declared length exceeds the received data\n\nport100_recv_response() passes the URB transfer buffer to\nport100_rx_frame_is_valid(), which checksums le16_to_cpu(frame-\u003edatalen)\nbytes of frame-\u003edata. datalen is a 16-bit field supplied by the device\nand is never checked against the number of bytes actually received\n(urb-\u003eactual_length), so a device reporting a datalen larger than the\nreceived frame makes port100_data_checksum() read out of bounds past the\ntransfer buffer.\n\nReject a response whose declared frame size does not fit the received\nlength before validating it.\n\nFound by 0sec (https://0sec.ai) using automated source analysis; the\nmissing bound is evident from source. Compile-tested.","modified":"2026-10-20T02:31:00.113039233Z","published":"2026-10-18T15:15:55.360Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98481.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/035056e07ea65be670284246d9bc62f2f00ff4a3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/092c6a605cbd6414ef499834c2e0da69c2c3388e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0d482995f0cdd0302450aa300c684c642d8ab31f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/144ad477c381e2c592b64898d04ab4ce03b32861"},{"type":"WEB","url":"https://git.kernel.org/stable/c/14b1467cfc6630583650f33538174c5a1ec685ab"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9e8df087826b9999d1b83b06f5d85675d5a69c9e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/db66a30588630c7de30ef033f00daddef69f6ad9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e4da1452e10c6472a4bac48dc2f6a35fff1fcd69"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98481.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98481"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"562d4d59b8a1d5f3ca75115d6ac10c7b7bc68c06"},{"fixed":"0d482995f0cdd0302450aa300c684c642d8ab31f"},{"fixed":"9e8df087826b9999d1b83b06f5d85675d5a69c9e"},{"fixed":"db66a30588630c7de30ef033f00daddef69f6ad9"},{"fixed":"144ad477c381e2c592b64898d04ab4ce03b32861"},{"fixed":"e4da1452e10c6472a4bac48dc2f6a35fff1fcd69"},{"fixed":"14b1467cfc6630583650f33538174c5a1ec685ab"},{"fixed":"035056e07ea65be670284246d9bc62f2f00ff4a3"},{"fixed":"092c6a605cbd6414ef499834c2e0da69c2c3388e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98481.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.13.0"},{"fixed":"5.10.271"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.222"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.189"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.112"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.55"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98481.json"}}],"schema_version":"1.9.0"}