Vulnerability CVE-2024-42130


Published: 2024-07-30

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

nfc/nci: Add the inconsistency check between the input data length and count

write$nci(r0, &(0x7f0000000740)=ANY=[@ANYBLOB="610501"], 0xf)

Syzbot constructed a write() call with a data length of 3 bytes but a count value
of 15, which passed too little data to meet the basic requirements of the function
nci_rf_intf_activated_ntf_packet().

Therefore, increasing the comparison between data length and count value to avoid
problems caused by inconsistent data length and count.

 References:
https://git.kernel.org/stable/c/f07bcd8bba803c9e6ad2048543185d6c56587a2f
https://git.kernel.org/stable/c/41f5e2840cd0629f049ce5ce2f8dd10a8299de42
https://git.kernel.org/stable/c/056478b4321b36ca33567089d39ac992f6c9c37a
https://git.kernel.org/stable/c/22a72c1c10f43ca645a98725e0faff34592f4d08
https://git.kernel.org/stable/c/068648aab72c9ba7b0597354ef4d81ffaac7b979

Copyright 2026, cxsecurity.com

 

Back to Top