cbcvebase.
CVE-2024-38541
published 2024-06-19

CVE-2024-38541: In the Linux kernel, the following vulnerability has been resolved: of: module: add buffer overflow check in of_modalias() In of_modalias(), if the buffer…

PriorityP352critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
1.48%
71.0th percentile
In the Linux kernel, the following vulnerability has been resolved: of: module: add buffer overflow check in of_modalias() In of_modalias(), if the buffer happens to be too small even for the 1st snprintf() call, the len parameter will become negative and str parameter (if not NULL initially) will point beyond the buffer's end. Add the buffer overflow check after the 1st snprintf() call and fix such check after the strlen() call (accounting for the terminating NUL char).

Affected

27 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.137-1 (bookworm)linux 6.1.137-1 (bookworm)
debianlinux-6.1< linux 6.1.137-1 (bookworm)linux 6.1.137-1 (bookworm)
linuxlinux
linuxlinux>= bc575064d688c8933a6ca51429bea9bc63628d3b < 46795440ef2b4ac919d09310a69a404c5bc90a8846795440ef2b4ac919d09310a69a404c5bc90a88
linuxlinux>= bc575064d688c8933a6ca51429bea9bc63628d3b < 733e62786bdf1b2b9dbb09ba2246313306503414733e62786bdf1b2b9dbb09ba2246313306503414
linuxlinux>= bc575064d688c8933a6ca51429bea9bc63628d3b < c7f24b7d94549ff4623e8f41ea4d9f5319bd8ac8c7f24b7d94549ff4623e8f41ea4d9f5319bd8ac8
linuxlinux>= bc575064d688c8933a6ca51429bea9bc63628d3b < 5d59fd637a8af42b211a92b2edb2474325b4d4885d59fd637a8af42b211a92b2edb2474325b4d488
linuxlinux>= bc575064d688c8933a6ca51429bea9bc63628d3b < 0b0d5701a8bf02f8fee037e81aacf6746558bfd60b0d5701a8bf02f8fee037e81aacf6746558bfd6
linuxlinux>= bc575064d688c8933a6ca51429bea9bc63628d3b < ee332023adfd5882808f2dabf037b32d6ce36f9eee332023adfd5882808f2dabf037b32d6ce36f9e
linuxlinux>= bc575064d688c8933a6ca51429bea9bc63628d3b < e45b69360a63165377b30db4a1dfddd89ca18e9ae45b69360a63165377b30db4a1dfddd89ca18e9a
linuxlinux>= bc575064d688c8933a6ca51429bea9bc63628d3b < cf7385cb26ac4f0ee6c7385960525ad534323252cf7385cb26ac4f0ee6c7385960525ad534323252
linuxlinux_kernel>= 0 < 5.10.244-15.10.244-1
linuxlinux_kernel>= 0 < 6.1.137-16.1.137-1
linuxlinux_kernel>= 0 < 6.8.12-16.8.12-1
linuxlinux_kernel>= 0 < 6.8.12-16.8.12-1
linuxlinux_kernel>= 0 < 5.15.0-144.1575.15.0-144.157
linuxlinux_kernel>= 0 < 6.8.0-40.406.8.0-40.40
linuxlinux_kernel>= 0 < 4.15.0-240.2524.15.0-240.252
linuxlinux_kernel>= 0 < 5.4.0-220.2405.4.0-220.240
linuxlinux_kernel>= 4.14 < 5.4.2945.4.294
linuxlinux_kernel>= 5.11 < 5.15.1825.15.182
linuxlinux_kernel>= 5.16 < 6.1.1366.1.136
linuxlinux_kernel>= 5.5 < 5.10.2385.10.238
linuxlinux_kernel>= 6.2 < 6.6.336.6.33
linuxlinux_kernel>= 6.7 < 6.8.126.8.12

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_msrc9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu8.8HIGH
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.