CVE-2024-58068
OPP: fix dev_pm_opp_find_bw_*() when bandwidth table not initialized
Reported by linux · Published March 6, 2025
In the Linux kernel, the following vulnerability has been resolved: OPP: fix dev_pm_opp_find_bw_*() when bandwidth table not initialized If a driver calls dev_pm_opp_find_bw_ceil/floor() the retrieve bandwidth from the OPP table but the bandwidth table was not created because the interconnect properties were missing in the OPP consumer node, the kernel will crash with: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000004 ... pc : _read_bw+0x8/0x10 lr : _opp_table_find_key+0x9c/0x174 ... Call trace: _read_bw+0x8/0x10 (P) _opp_table_find_key+0x9c/0x174 (L) _find_key+0x98/0x168 dev_pm_opp_find_bw_ceil+0x50/0x88 ... In order to fix the crash, create an assert function to check if the bandwidth table was created before trying to get a bandwidth with _read_bw().
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | add1dc094a7456d3c56782b7478940b6a550c7ed, add1dc094a7456d3c56782b7478940b6a550c7ed, add1dc094a7456d3c56782b7478940b6a550c7ed |
| Linux | Linux | 6.0, 0, 6.1.129 |
| linux | linux_kernel | 6.0, 6.0, 6.0 |
| Linux | Linux | 6.1.129, 6.12.13, 6.13.2 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
Timeline
- Mar 6, 2025 CVE Published
- Mar 7, 2025 EPSS Score (30 in total, the first dated here)
- Mar 7, 2025 Coalition ESS Score (15 in total, the first dated here)
- Dec 29, 2025 Security Advisory (112 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (111 in total, the first dated here)
- Nov 12, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-58068
vulnetix vdb fixes CVE-2024-58068
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-58068/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart