{"id":"CVE-2024-58068","revision":"f1fc62110ae84b529683940e78b806f3","records":[{"revision":"f1fc62110ae84b529683940e78b806f3","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2024-58068","aliases":[],"title":"OPP: fix dev_pm_opp_find_bw_*() when bandwidth table not initialized","description":"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().","state":0,"publishedAt":"2025-03-06T15:54:08.798+00:00","modifiedAt":"2026-10-15T01:01:38.101+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/opp/core.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"add1dc094a7456d3c56782b7478940b6a550c7ed\",\n                            \"lessThan\": \"8532fd078d2a5286915d03bb0a0893ee1955acef\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"add1dc094a7456d3c56782b7478940b6a550c7ed\",\n                            \"lessThan\": \"84ff05c9bd577157baed711a4f0b41206593978b\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"add1dc094a7456d3c56782b7478940b6a550c7ed\",\n                            \"lessThan\": \"ff2def251849133be6076a7c2d427d8eb963c223\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"add1dc094a7456d3c56782b7478940b6a550c7ed\",\n                            \"lessThan\": \"5165486681dbd67b61b975c63125f2a5cb7f96d1\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"add1dc094a7456d3c56782b7478940b6a550c7ed\",\n                            \"lessThan\": \"b44b9bc7cab2967c3d6a791b1cd542c89fc07f0e\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/opp/core.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.0\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.0\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.129\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.76\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.13\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.13.2\",\n                            \"lessThanOrEqual\": \"6.13.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.14\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/8532fd078d2a5286915d03bb0a0893ee1955acef","https://git.kernel.org/stable/c/84ff05c9bd577157baed711a4f0b41206593978b","https://git.kernel.org/stable/c/ff2def251849133be6076a7c2d427d8eb963c223","https://git.kernel.org/stable/c/5165486681dbd67b61b975c63125f2a5cb7f96d1","https://git.kernel.org/stable/c/b44b9bc7cab2967c3d6a791b1cd542c89fc07f0e"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-58068","license":"CVE Program Terms of Use","key":"cve-program:CVE-2024-58068","identifiers":["CVE-2024-58068"]},"retained":false,"historicalAffected":[]}],"coverage":[]}