Home/CVE/In the Linux kernel, the following vulnerability has been resolved: of: module: add buffer overflow check in of_modalia
CVE

CVE-2024-38541

In the Linux kernel, the following vulnerability has been resolved: of: module: add buffer overflow check in of_modalia

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).

CRITICAL · CVSS 9.8 EPSS 0.00111
Act now
  • Public exploit or PoC is available
  • SSVC automatable: yes - attacks can be scripted at scale
  • CVSS base score ≥ 7.0
Sigma rules0 YARA rules0
Look this up elsewhere - one-click external pivots
How to read a CVE - triage first, then detect and patch
This page is every public fact about CVE-2024-38541, cross-linked. Its job is to answer one question fast - does this need my attention now? - and then hand you the two things you do about it. Here is how an analyst reads it.
Triage: should I act now? Four signals, and they are not interchangeable:
CVSSseverity - how bad it is IF exploited, 0-10. A high CVSS alone is not urgency; a flaw can be a perfect 10 and never actually be attacked. EPSSprobability - a model’s estimate of the chance it is exploited in the next 30 days, 0-1. This is the “will it actually happen” signal. CISA KEVconfirmed - it is being exploited in the wild right now. The strongest signal on the page; KEV beats any score. Weaponisedavailability - public exploits / PoCs, and especially Metasploit modules rated Excellent / Great. Reliable, packaged exploit code means low-skill attackers can use it today.
How they combine: KEV, or a dependable Metasploit module, means patch now regardless of CVSS. High CVSS + low EPSS + no exploit is real but not an emergency - schedule it. Low CVSS but KEV-listed still gets patched now. The verdict above already weighed these for you; this is how it got there.
Then what - two workflows:
Detectwhen you cannot patch today, follow this CVE to the ATT&CK techniques it enables, then Build a SIEM detection (the green button) - author a rule, test it in Atomic, deploy it. That buys visibility while the patch waits. PatchAffected products / packages tell you if you are exposed; Fixed versions by distribution and Vendor advisories give the exact version that closes it.
Reading order for the panels below: verdict + badges, then Public exploits / Metasploit (is it weaponised), then ATT&CK techniques + Sigma / IDS rules (can I detect it), then Affected products / packages + Fixed versions (am I exposed, what patches it), then Threat actors / IOCs (who uses it), then Scoring & timeline / references (the evidence).

ATT&CK techniques

1

Techniques this CVE enables - linked via CWECAPECATT&CK. High◆ = named directly in ATT&CK or Nuclei templates.

▤ Build a SIEM detection for these techniques

Affected Products & Versions

7
linux kernel>= 4.14 and < 5.4.294
linux kernel>= 5.5 and < 5.10.238
linux kernel>= 5.11 and < 5.15.182
linux kernel>= 5.16 and < 6.1.136
linux kernel>= 6.2 and < 6.6.33
linux kernel>= 6.7 and < 6.8.12
linux kernel>= 6.9 and < 6.9.3

Affected Packages

40
Language-ecosystem packages (from OSV) tied to this CVE, with the version that fixes it - the dependency-level detail NVD doesn’t carry.
Ubuntu:14.04:LTS linux fixed in 3.11.0-12.19
Ubuntu:14.04:LTS linux-aws fixed in 4.4.0-1002.2
Ubuntu:14.04:LTS linux-lts-xenial fixed in 4.4.0-13.29~14.04.1
Ubuntu:16.04:LTS linux fixed in 4.4.0-2.16
Ubuntu:16.04:LTS linux-aws fixed in 4.4.0-1001.10
Ubuntu:16.04:LTS linux-kvm fixed in 4.4.0-1004.9
Ubuntu:20.04:LTS linux
Ubuntu:20.04:LTS linux-aws
Ubuntu:20.04:LTS linux-aws-5.11
Ubuntu:20.04:LTS linux-aws-5.13
Ubuntu:20.04:LTS linux-aws-5.15
Ubuntu:20.04:LTS linux-aws-5.8
Ubuntu:20.04:LTS linux-azure
Ubuntu:20.04:LTS linux-azure-5.11
Ubuntu:20.04:LTS linux-azure-5.13
Ubuntu:20.04:LTS linux-azure-5.15
Ubuntu:20.04:LTS linux-azure-5.8
Ubuntu:20.04:LTS linux-azure-fde
Ubuntu:20.04:LTS linux-azure-fde-5.15
Ubuntu:20.04:LTS linux-bluefield
Ubuntu:20.04:LTS linux-gcp
Ubuntu:20.04:LTS linux-gcp-5.11
Ubuntu:20.04:LTS linux-gcp-5.13
Ubuntu:20.04:LTS linux-gcp-5.15
Ubuntu:20.04:LTS linux-gcp-5.8
Ubuntu:20.04:LTS linux-gke
Ubuntu:20.04:LTS linux-gke-5.15
Ubuntu:20.04:LTS linux-gkeop
Ubuntu:20.04:LTS linux-gkeop-5.15
Ubuntu:20.04:LTS linux-hwe-5.11
Ubuntu:20.04:LTS linux-hwe-5.13
Ubuntu:20.04:LTS linux-hwe-5.15
Ubuntu:20.04:LTS linux-hwe-5.8
Ubuntu:20.04:LTS linux-ibm
Ubuntu:20.04:LTS linux-ibm-5.15
Ubuntu:20.04:LTS linux-intel-5.13
Ubuntu:20.04:LTS linux-intel-iotg-5.15
Ubuntu:20.04:LTS linux-iot
Ubuntu:20.04:LTS linux-kvm
Ubuntu:20.04:LTS linux-lowlatency-hwe-5.15

Public Exploits & PoCs

3
These PoC and exploit links come from public sources and are not verified to be safe or functional. Review the code before running anything, and treat unverified entries as untrusted.
📦

Fixed versions by distribution

80
The package version that resolves this CVE on each Linux distribution, from the vendor’s published security data. fixed in shows a patched version exists; open means the package is listed as affected with no fix yet.
oracle allbpftool open
oracle allkernel open
oracle allkernel-abi-stablelists fixed in 0:4.18.0-553.27.1.el8_10
oracle allkernel-core open
oracle allkernel-cross-headers fixed in 0:4.18.0-553.27.1.el8_10
oracle allkernel-debug fixed in 0:4.18.0-553.27.1.el8_10
oracle allkernel-debug-core fixed in 0:4.18.0-553.27.1.el8_10
oracle allkernel-debug-devel fixed in 0:4.18.0-553.27.1.el8_10
oracle allkernel-debug-devel-matched fixed in 0:5.14.0-570.12.1.0.1.el9_6
oracle allkernel-debug-modules fixed in 0:4.18.0-553.27.1.el8_10
oracle allkernel-debug-modules-core open
oracle allkernel-debug-modules-extra open
oracle allkernel-debug-uki-virt fixed in 0:5.14.0-570.12.1.0.1.el9_6
oracle allkernel-devel open
oracle allkernel-devel-matched fixed in 0:5.14.0-570.12.1.0.1.el9_6
oracle allkernel-headers open
oracle allkernel-modules fixed in 0:4.18.0-553.27.1.el8_10
oracle allkernel-modules-core fixed in 0:5.14.0-570.12.1.0.1.el9_6
oracle allkernel-modules-extra fixed in 0:4.18.0-553.27.1.el8_10
oracle allkernel-tools open
oracle allkernel-tools-libs fixed in 0:4.18.0-553.27.1.el8_10
oracle allkernel-tools-libs-devel fixed in 0:4.18.0-553.27.1.el8_10
oracle allkernel-uek fixed in 0:5.15.0-310.184.5.2.el8uek
oracle allkernel-uek-container open
oracle allkernel-uek-container-debug fixed in 0:5.15.0-310.184.5.2.el8uek
oracle allkernel-uek-core fixed in 0:5.15.0-310.184.5.2.el8uek
oracle allkernel-uek-debug open
oracle allkernel-uek-debug-core open
oracle allkernel-uek-debug-devel open
oracle allkernel-uek-debug-modules open
oracle allkernel-uek-debug-modules-extra open
oracle allkernel-uek-devel open
oracle allkernel-uek-modules fixed in 0:5.15.0-310.184.5.2.el8uek
oracle allkernel-uek-modules-extra fixed in 0:5.15.0-310.184.5.2.el9uek
oracle allkernel-uek-tools fixed in 0:5.4.17-2136.346.6.el7uek
oracle allkernel-uek64k open
oracle allkernel-uek64k-core fixed in 0:5.15.0-310.184.5.2.el9uek
oracle allkernel-uek64k-devel open
oracle allkernel-uek64k-modules open
oracle allkernel-uek64k-modules-extra open
oracle allkernel-uki-virt open
oracle allkernel-uki-virt-addons fixed in 0:5.14.0-570.12.1.0.1.el9_6
oracle alllibperf fixed in 0:5.14.0-570.12.1.0.1.el9_6
oracle allperf fixed in 0:4.18.0-553.27.1.el8_10
oracle allpython3-perf fixed in 0:4.18.0-553.27.1.el8_10
oracle allrtla open
oracle allrv fixed in 0:5.14.0-570.12.1.0.1.el9_6
rhel 8bpftool fixed in 0:4.18.0-553.27.1.el8_10
rhel 8kernel open
rhel 8kernel-abi-stablelists fixed in 0:4.18.0-553.27.1.el8_10
rhel 8kernel-core fixed in 0:4.18.0-553.27.1.el8_10
rhel 8kernel-debug fixed in 0:4.18.0-553.27.1.el8_10
rhel 8kernel-debug-core open
rhel 8kernel-debug-devel fixed in 0:4.18.0-553.27.1.el8_10
rhel 8kernel-debug-modules fixed in 0:4.18.0-553.27.1.el8_10
rhel 8kernel-debug-modules-extra open
rhel 8kernel-devel open
rhel 8kernel-modules open
rhel 8kernel-modules-extra open
rhel 8kernel-rt open
rhel 8kernel-rt-core fixed in 0:4.18.0-553.27.1.rt7.368.el8_10
rhel 8kernel-rt-debug fixed in 0:4.18.0-553.27.1.rt7.368.el8_10
rhel 8kernel-rt-debug-core open
rhel 8kernel-rt-debug-devel fixed in 0:4.18.0-553.27.1.rt7.368.el8_10
rhel 8kernel-rt-debug-kvm open
rhel 8kernel-rt-debug-modules fixed in 0:4.18.0-553.27.1.rt7.368.el8_10
rhel 8kernel-rt-debug-modules-extra fixed in 0:4.18.0-553.27.1.rt7.368.el8_10
rhel 8kernel-rt-devel fixed in 0:4.18.0-553.27.1.rt7.368.el8_10
rhel 8kernel-rt-kvm fixed in 0:4.18.0-553.27.1.rt7.368.el8_10
rhel 8kernel-rt-modules fixed in 0:4.18.0-553.27.1.rt7.368.el8_10
rhel 8kernel-rt-modules-extra fixed in 0:4.18.0-553.27.1.rt7.368.el8_10
rhel 8kernel-tools open
rhel 8kernel-tools-libs fixed in 0:4.18.0-553.27.1.el8_10
rhel 8kernel-tools-libs-devel open
rhel 8kernel-zfcpdump fixed in 0:4.18.0-553.27.1.el8_10
rhel 8kernel-zfcpdump-core fixed in 0:4.18.0-553.27.1.el8_10
rhel 8kernel-zfcpdump-devel open
rhel 8kernel-zfcpdump-modules open
rhel 8kernel-zfcpdump-modules-extra open
rhel 8perf open

Scoring & Timeline

9.8
CRITICAL · CVSS v3.1 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View on NVD
Attack Vector
Network Adjacent Local Physical
Attack Complexity
Low High
Privileges Required
None Low High
User Interaction
None Required
Scope
Unchanged Changed
Confidentiality
None Low High
Integrity
None Low High
Availability
None Low High
Published to NVD19 Jun 2024 · 02:15 PM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SSVC triage · cisa-vulnrichment
Exploitation
none
Automatable
yes
Technical impact
total
SSVC asks the questions that actually drive patch urgency: is it being exploited, can attacks be automated, and how total is the impact.

Vendor Advisories

30
rhsaRHSA-2024:10771Moderate
SOC and Response
CVE triage
Stack monitoring
Am I affected
IOC triage
KEV catalog
Daily brief
Change tracking
Detection Engineering
Coverage workspace
Detection coverage
Coverage check
Telemetry ceiling
SIEM query builder
Sigma rules
SIEM rules
YARA rules
Network rules
D3FEND
Threat Hunting
Threat actors
ATT&CK techniques
Attack paths
Indicators
Atomic tests
Red Team and Pentest
Exploitability triage
Recon pack
Attack paths
CAPEC patterns
Adversary emulation
Compliance and GRC
Framework mapping
Control assessment
Audit view
Coverage report
Atlas Search Threat actors Techniques Tools & malware CWE CAPEC KEV catalog Package vulns TAXII feed Data sources
About All capabilities Pricing API docs Live statistics Live status Privacy policy Terms of service
threatengine.sh