Bug 2301495 (CVE-2024-42130) - CVE-2024-42130 kernel: nfc/nci: Add the inconsistency check between the input data length and count
Summary: CVE-2024-42130 kernel: nfc/nci: Add the inconsistency check between the input...
Keywords:
Status: NEW
Alias: CVE-2024-42130
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2301811
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-30 08:35 UTC by OSIDB Bzimport
Modified: 2024-09-19 16:12 UTC (History)
4 users (show)

Fixed In Version: kernel 5.15.163, kernel 6.1.98, kernel 6.6.39, kernel 6.9.9, kernel 6.10
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-07-30 08:35:29 UTC
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.

Comment 1 Mauro Matteo Cascella 2024-07-30 19:52:32 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024073027-CVE-2024-42130-f6ce@gregkh/T

Comment 2 Mauro Matteo Cascella 2024-07-30 19:52:51 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2301811]


Note You need to log in before you can comment on or make changes to this bug.