CVE-2024-38541CWE-120

CVE-2024-38541

High · published June 19, 2024

CVSS v3.1
7.8
EPSS
1%
Percentile
59.3
In the wild
Unconfirmed
What it is

🔥 A buffer overflow in the Linux kernel has been discovered, and it can lead to some serious chaos if not addressed! Think of it as a packed suitcase that suddenly bursts open because there’s too much crammed inside — when the buffer can’t hold the data, it spills out where it shouldn’t, causing a mess everywhere! If exploited, this vulnerability could allow an attacker to overwrite critical memory, possibly leading to system crashes or, even worse, remote code execution. It's a pathway for complete system compromise — imagine someone breaking into your house by simply pushing against a door that wasn't properly secured!

Put simply

Think of it as a packed suitcase that suddenly bursts open because there’s too much crammed inside — when the buffer can’t hold the data, it spills out where it shouldn’t, causing a mess everywhere! In the of_modalias() function, a buffer overflow check was missing, allowing a negative length parameter to cause the str parameter to point beyond the buffer's end, potentially leading to memory corruption.

What to do

If exploited, this vulnerability could allow an attacker to overwrite critical memory, possibly leading to system crashes or, even worse, remote code execution. It's a pathway for complete system compromise — imagine someone breaking into your house by simply pushing against a door that wasn't properly secured! To secure your systems, update to the latest Linux kernel version where this vulnerability is patched. Regularly review coding practices to ensure buffer sizes are adequately checked, and implement rigorous testing to catch these issues before they escalate. You've got this! Stay vigilant and proactive, and you'll keep your systems safe and sound! 🛡️

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00902 · 59.3th percentile
Weakness
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Published
2024-06-19T18:15Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 4.14, < 5.4.2945.4.294
linux/linux_kernel≥ 5.5, < 5.10.2385.10.238
linux/linux_kernel≥ 5.11, < 5.15.1825.15.182
linux/linux_kernel≥ 5.16, < 6.1.1366.1.136
linux/linux_kernel≥ 6.2, < 6.6.336.6.33
linux/linux_kernel≥ 6.7, < 6.8.126.8.12
linux/linux_kernel≥ 6.9, < 6.9.36.9.3
References (14)
https://git.kernel.org/stable/c/0b0d5701a8bf02f8fee037e81aacf6746558bfd6 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/46795440ef2b4ac919d09310a69a404c5bc90a88 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/5d59fd637a8af42b211a92b2edb2474325b4d488 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/733e62786bdf1b2b9dbb09ba2246313306503414 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/c7f24b7d94549ff4623e8f41ea4d9f5319bd8ac8 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/cf7385cb26ac4f0ee6c7385960525ad534323252 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/e45b69360a63165377b30db4a1dfddd89ca18e9a · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/ee332023adfd5882808f2dabf037b32d6ce36f9e · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/0b0d5701a8bf02f8fee037e81aacf6746558bfd6 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/cf7385cb26ac4f0ee6c7385960525ad534323252 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/e45b69360a63165377b30db4a1dfddd89ca18e9a · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/ee332023adfd5882808f2dabf037b32d6ce36f9e · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html · af854a3a-2127-422b-91ae-364da2661108
EPSS history
Timeline
  • 19 JUN 13:35Z
    of: module: add buffer overflow check in of_modalias()
    cvelistv5