CVE-2024-42130

medium

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/22a72c1c10f43ca645a98725e0faff34592f4d08

https://git.kernel.org/stable/c/068648aab72c9ba7b0597354ef4d81ffaac7b979

https://git.kernel.org/stable/c/056478b4321b36ca33567089d39ac992f6c9c37a

Details

Source: Mitre, NVD

Published: 2024-07-30

Updated: 2024-07-30

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:N/A:N

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Severity: Medium