{"id":"CVE-2024-58068","summary":"OPP: fix dev_pm_opp_find_bw_*() when bandwidth table not initialized","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nOPP: fix dev_pm_opp_find_bw_*() when bandwidth table not initialized\n\nIf a driver calls dev_pm_opp_find_bw_ceil/floor() the retrieve bandwidth\nfrom the OPP table but the bandwidth table was not created because the\ninterconnect properties were missing in the OPP consumer node, the\nkernel will crash with:\n\nUnable to handle kernel NULL pointer dereference at virtual address 0000000000000004\n...\npc : _read_bw+0x8/0x10\nlr : _opp_table_find_key+0x9c/0x174\n...\nCall trace:\n  _read_bw+0x8/0x10 (P)\n  _opp_table_find_key+0x9c/0x174 (L)\n  _find_key+0x98/0x168\n  dev_pm_opp_find_bw_ceil+0x50/0x88\n...\n\nIn order to fix the crash, create an assert function to check\nif the bandwidth table was created before trying to get a\nbandwidth with _read_bw().","modified":"2026-04-02T12:25:30.475378Z","published":"2025-03-06T15:54:08.798Z","related":["ALSA-2025:20518","SUSE-SU-2025:01614-1","SUSE-SU-2025:01707-1","SUSE-SU-2025:01919-1","SUSE-SU-2025:01951-1","SUSE-SU-2025:01964-1","SUSE-SU-2025:01967-1","SUSE-SU-2025:20343-1","SUSE-SU-2025:20344-1","SUSE-SU-2025:20354-1","SUSE-SU-2025:20355-1","USN-7521-2"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58068.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5165486681dbd67b61b975c63125f2a5cb7f96d1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/84ff05c9bd577157baed711a4f0b41206593978b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8532fd078d2a5286915d03bb0a0893ee1955acef"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b44b9bc7cab2967c3d6a791b1cd542c89fc07f0e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ff2def251849133be6076a7c2d427d8eb963c223"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58068.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58068"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"add1dc094a7456d3c56782b7478940b6a550c7ed"},{"fixed":"8532fd078d2a5286915d03bb0a0893ee1955acef"},{"fixed":"84ff05c9bd577157baed711a4f0b41206593978b"},{"fixed":"ff2def251849133be6076a7c2d427d8eb963c223"},{"fixed":"5165486681dbd67b61b975c63125f2a5cb7f96d1"},{"fixed":"b44b9bc7cab2967c3d6a791b1cd542c89fc07f0e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58068.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}