cbcvebase.
CVE-2024-35878
published 2024-05-19

CVE-2024-35878: In the Linux kernel, the following vulnerability has been resolved: of: module: prevent NULL pointer dereference in vsnprintf() In of_modalias(), we can get…

PriorityP426medium5.3CVSS 3.1
AVNACLPRNUINSUCNINAL
EPSS
0.79%
52.6th percentile
In the Linux kernel, the following vulnerability has been resolved: of: module: prevent NULL pointer dereference in vsnprintf() In of_modalias(), we can get passed the str and len parameters which would cause a kernel oops in vsnprintf() since it only allows passing a NULL ptr when the length is also 0. Also, we need to filter out the negative values of the len parameter as these will result in a really huge buffer since snprintf() takes size_t parameter while ours is ssize_t... Found by Linux Verification Center (linuxtesting.org) with the Svace static analysis tool.

Affected

12 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.8.9-1 (forky)linux 6.8.9-1 (forky)
linuxlinux
linuxlinux>= bd7a7ed774afd1a4174df34227626c95573be517 < e4a449368a2ce6d57a775d0ead27fc07f5a86e5be4a449368a2ce6d57a775d0ead27fc07f5a86e5b
linuxlinux>= bd7a7ed774afd1a4174df34227626c95573be517 < 544561dc56f7e69a053c25e11e6170f48bb97898544561dc56f7e69a053c25e11e6170f48bb97898
linuxlinux>= bd7a7ed774afd1a4174df34227626c95573be517 < a1aa5390cc912934fee76ce80af5f940452fa987a1aa5390cc912934fee76ce80af5f940452fa987
linuxlinux_kernel< 6.6.266.6.26
linuxlinux_kernel
linuxlinux_kernel>= 0 < 6.8.9-16.8.9-1
linuxlinux_kernel>= 0 < 6.8.9-16.8.9-1
linuxlinux_kernel>= 0 < 6.8.0-38.386.8.0-38.38
linuxlinux_kernel>= 6.7 < 6.8.56.8.5
msrccbl2_kernel_5.15.182.1-1_on_cbl_mariner_2.0

CVSS provenance

nvdv3.15.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
osv6.8MEDIUM
vendor_debian5.3LOW
vendor_msrc5.3MEDIUM
vendor_redhat5.3MEDIUM
vendor_ubuntu4.6MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.