{"id":"CVE-2024-42130","summary":"nfc/nci: Add the inconsistency check between the input data length and count","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfc/nci: Add the inconsistency check between the input data length and count\n\nwrite$nci(r0, &(0x7f0000000740)=ANY=[@ANYBLOB=\"610501\"], 0xf)\n\nSyzbot constructed a write() call with a data length of 3 bytes but a count value\nof 15, which passed too little data to meet the basic requirements of the function\nnci_rf_intf_activated_ntf_packet().\n\nTherefore, increasing the comparison between data length and count value to avoid\nproblems caused by inconsistent data length and count.","modified":"2026-04-16T00:01:22.707659050Z","published":"2024-07-30T07:46:26.153Z","related":["SUSE-SU-2024:3190-1","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3209-1","SUSE-SU-2024:3383-1","SUSE-SU-2024:3483-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42130.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/056478b4321b36ca33567089d39ac992f6c9c37a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/068648aab72c9ba7b0597354ef4d81ffaac7b979"},{"type":"WEB","url":"https://git.kernel.org/stable/c/22a72c1c10f43ca645a98725e0faff34592f4d08"},{"type":"WEB","url":"https://git.kernel.org/stable/c/41f5e2840cd0629f049ce5ce2f8dd10a8299de42"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f07bcd8bba803c9e6ad2048543185d6c56587a2f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42130.json"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42130"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e624e6c3e777fb3dfed036b9da4d433aee3608a5"},{"fixed":"f07bcd8bba803c9e6ad2048543185d6c56587a2f"},{"fixed":"41f5e2840cd0629f049ce5ce2f8dd10a8299de42"},{"fixed":"056478b4321b36ca33567089d39ac992f6c9c37a"},{"fixed":"22a72c1c10f43ca645a98725e0faff34592f4d08"},{"fixed":"068648aab72c9ba7b0597354ef4d81ffaac7b979"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42130.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.12.0"},{"fixed":"5.15.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.98"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.39"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.9.9"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42130.json"}}],"schema_version":"1.7.5"}