{"id":"CVE-2024-35916","summary":"dma-buf: Fix NULL pointer dereference in sanitycheck()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndma-buf: Fix NULL pointer dereference in sanitycheck()\n\nIf due to a memory allocation failure mock_chain() returns NULL, it is\npassed to dma_fence_enable_sw_signaling() resulting in NULL pointer\ndereference there.\n\nCall dma_fence_enable_sw_signaling() only if mock_chain() succeeds.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","modified":"2026-03-20T12:36:44.120011Z","published":"2024-05-19T08:35:09.121Z","related":["SUSE-SU-2024:2135-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1","SUSE-SU-2025:20166-1","SUSE-SU-2025:20249-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35916.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0336995512cdab0c65e99e4cdd47c4606debe14e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/156c226cbbdcf5f3bce7b2408a33b59fab7fae2c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2295bd846765c766701e666ed2e4b35396be25e6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eabf131cba1db12005a68378305f13b9090a7a6b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35916.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35916"},{"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":"d62c43a953ce02d54521ec06217d0c2ed6d489af"},{"fixed":"0336995512cdab0c65e99e4cdd47c4606debe14e"},{"fixed":"156c226cbbdcf5f3bce7b2408a33b59fab7fae2c"},{"fixed":"eabf131cba1db12005a68378305f13b9090a7a6b"},{"fixed":"2295bd846765c766701e666ed2e4b35396be25e6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35916.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}