Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-58081

MEDIUM 5.5EPSS 13%

clk: mmp2: call pm_genpd_init() only after genpd.name is set

Mitigation

  • Upgrade Linux to 6.12 or later.

Who should check

  • Anyone running Linux >= 899f44531fe6cac4b024710fec647ecc127724b8, < eca01d5911fb34218d10a58d8d9534b758c8fd0a; >= 899f44531fe6cac4b024710fec647ecc127724b8, < 763517124e27b07fa300b486d7d13c5d563a215e; >= 899f44531fe6cac4b024710fec647ecc127724b8, < e24b15d4704dcb73920c3d18a6157abd18df08c1; 94a03c0400c9696735184c7d76630b818d0f5cca; >= 6.11.10, < 6.12
  • Anyone running Linux 6.12

Vulnerability facts

Affected
Linux >= 899f44531fe6cac4b024710fec647ecc127724b8, < eca01d5911fb34218d10a58d8d9534b758c8fd0a; >= 899f44531fe6cac4b024710fec647ecc127724b8, < 763517124e27b07fa300b486d7d13c5d563a215e; >= 899f44531fe6cac4b024710fec647ecc127724b8, < e24b15d4704dcb73920c3d18a6157abd18df08c1; 94a03c0400c9696735184c7d76630b818d0f5cca; >= 6.11.10, < 6.12; Linux 6.12
Fixed in
Linux 763517124e27b07fa300b486d7d13c5d563a215e, Linux 6.12
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
CWE
CWE-476
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: clk: mmp2: call pm_genpd_init() only after genpd.name is set Setting the genpd's struct device's name with dev_set_name() is happening within pm_genpd_init(). If it remains NULL, things can blow up later, such as when crafting the devfs hierarchy for the power domain: Unable to handle kernel NULL pointer dereference at virtual address 00000000 when read ... Call trace: strlen from start_creating+0x90/0x138 start_creating from debugfs_create_dir+0x20/0x178 debugfs_create_dir from genpd_debug_add.part.0+0x4c/0x144 genpd_debug_add.part.0 from genpd_debug_init+0x74/0x90 genpd_debug_init from do_one_initcall+0x5c/0x244 do_one_initcall from kernel_init_freeable+0x19c/0x1f4 kernel_init_freeable from kernel_init+0x1c/0x12c kernel_init from ret_from_fork+0x14/0x28 Bisecting tracks this crash back to commit 899f44531fe6 ("pmdomain: core: Add GENPD_FLAG_DEV_NAME_FW flag"), which exchanges use of genpd->name with dev_name(&genpd->dev) in genpd_debug_add.part().

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 899f44531fe6cac4b024710fec647ecc127724b8, < eca01d5911fb34218d10a58d8d9534b758c8fd0a; >= 899f44531fe6cac4b024710fec647ecc127724b8, < 763517124e27b07fa300b486d7d13c5d563a215e; >= 899f44531fe6cac4b024710fec647ecc127724b8, < e24b15d4704dcb73920c3d18a6157abd18df08c1; 94a03c0400c9696735184c7d76630b818d0f5cca; >= 6.11.10, < 6.12—cvelist
Linux6.12—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-58081. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-58081.md
Affected: Linux >= 899f44531fe6cac4b024710fec647ecc127724b8, < eca01d5911fb34218d10a58d8d9534b758c8fd0a; >= 899f44531fe6cac4b024710fec647ecc127724b8, < 763517124e27b07fa300b486d7d13c5d563a215e; >= 899f44531fe6cac4b024710fec647ecc127724b8, < e24b15d4704dcb73920c3d18a6157abd18df08c1; 94a03c0400c9696735184c7d76…
Fixed in: Linux 763517124e27b07fa300b486d7d13c5d563a215e, Linux 6.12

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-58081 being exploited?

There is no confirmed exploitation: CVE-2024-58081 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-58081?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-58081?

Linux >= 899f44531fe6cac4b024710fec647ecc127724b8, < eca01d5911fb34218d10a58d8d9534b758c8fd0a; >= 899f44531fe6cac4b024710fec647ecc127724b8, < 763517124e27b07fa300b486d7d13c5d563a215e; >= 899f44531fe6cac4b024710fec647ecc127724b8, < e24b15d4704dcb73920c3d18a6157abd18df08c1; 94a03c0400c9696735184c7d76630b818d0f5cca; >= 6.11.10, < 6.12; Linux 6.12.

Is there a fix for CVE-2024-58081?

Yes. Fixed in Linux 763517124e27b07fa300b486d7d13c5d563a215e, Linux 6.12. Upgrade Linux to 6.12 or later.

How do I check if I'm affected by CVE-2024-58081?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors