{"id":"CVE-2024-24856","state":"PUBLISHED","title":"NULL pointer deference in acpi_db_convert_to_package of Linux acpi module","description":"The memory allocation function ACPI_ALLOCATE_ZEROED does not guarantee a\nsuccessful allocation, but the subsequent code directly dereferences the\npointer that receives it, which may lead to null pointer dereference.\n\nTo fix this issue, a null pointer check should be added. If it is null, \nreturn exception code AE_NO_MEMORY.","publishedAt":"2024-04-17T08:34:59.559Z","updatedAt":"2024-08-01T23:28:12.874Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H","source":"Anolis"},"assigner":"Anolis","products":["OpenAnolis Anolis OS"],"affected":[{"vendor":"OpenAnolis","product":"Anolis OS","packageName":"kernel","defaultStatus":"unaffected","versions":[{"version":"v4.4","status":"affected","lessThan":"v6.9","versionType":"custom"}],"modules":["acpi"],"platforms":["Linux"],"programFiles":["https://gitee.com/anolis/cloud-kernel/blob/devel-5.10/drivers/acpi/acpica/dbconvert.c"],"repo":"https://gitee.com/anolis/cloud-kernel.git"}],"references":["https://bugzilla.openanolis.cn/show_bug.cgi?id=8764"],"weaknesses":["CWE-476"],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/24xxx/CVE-2024-24856.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-24856","state":"PUBLISHED","datePublished":"2024-04-17T08:34:59.559Z","dateUpdated":"2024-08-01T23:28:12.874Z","assignerShortName":"Anolis","assignerOrgId":"cb8f1db9-b4b1-487b-a760-f65c4f368d8e","dateReserved":"2024-02-01T09:11:56.214Z"},"containers":{"cna":{"title":"NULL pointer deference in acpi_db_convert_to_package of Linux acpi module","descriptions":[{"lang":"en","value":"The memory allocation function ACPI_ALLOCATE_ZEROED does not guarantee a\nsuccessful allocation, but the subsequent code directly dereferences the\npointer that receives it, which may lead to null pointer dereference.\n\nTo fix this issue, a null pointer check should be added. If it is null, \nreturn exception code AE_NO_MEMORY."}],"affected":[{"vendor":"OpenAnolis","product":"Anolis OS","packageName":"kernel","defaultStatus":"unaffected","versions":[{"version":"v4.4","status":"affected","lessThan":"v6.9","versionType":"custom"}],"modules":["acpi"],"platforms":["Linux"],"programFiles":["https://gitee.com/anolis/cloud-kernel/blob/devel-5.10/drivers/acpi/acpica/dbconvert.c"],"repo":"https://gitee.com/anolis/cloud-kernel.git"}],"references":[{"url":"https://bugzilla.openanolis.cn/show_bug.cgi?id=8764"}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:N/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-476","description":"CWE-476 NULL Pointer Dereference","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Anolis","orgId":"cb8f1db9-b4b1-487b-a760-f65c4f368d8e","dateUpdated":"2024-05-29T07:56:57.064Z"},"credits":[{"lang":"en","type":"finder","value":"白家驹 <baijiaju@buaa.edu.cn>"},{"lang":"en","type":"reporter","value":"刘怀远 <qq810974084@gmail.com>"}],"impacts":[{"capecId":"CAPEC-129","descriptions":[{"lang":"en","value":"CAPEC-129 Pointer Manipulation"}]}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<a target=\"_blank\" rel=\"nofollow\" href=\"https://github.com/acpica/acpica/pull/946/commits/4d4547cf13cca820ff7e0f859ba83e1a610b9fd0\">https://github.com/acpica/acpica/pull/946/commits/4d4547cf13cca820ff7e0f859ba83e1a610b9fd0</a><br>"}],"value":"https://github.com/acpica/acpica/pull/946/commits/4d4547cf13cca820ff7e0f859ba83e1a610b9fd0"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"openanolis","product":"anolis_os","defaultStatus":"unaffected","versions":[{"version":"v4.4","status":"affected","lessThan":"v6.9","versionType":"custom"}],"cpes":["cpe:2.3:o:openanolis:anolis_os:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-05T15:41:12.748133Z","id":"CVE-2024-24856","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-05T15:42:27.369Z"}},{"title":"CVE Program Container","references":[{"url":"https://bugzilla.openanolis.cn/show_bug.cgi?id=8764","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T23:28:12.874Z"}}]}}}