{"id":"CVE-2024-35916","published":"2024-05-19T08:35:09Z","modified":"2026-05-11T20:13:43Z","title":"dma-buf: Fix NULL pointer dereference in sanitycheck()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00637,"percentile":0.51488,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/0336995512cdab0c65e99e4cdd47c4606debe14e","tags":[]},{"url":"https://git.kernel.org/stable/c/156c226cbbdcf5f3bce7b2408a33b59fab7fae2c","tags":[]},{"url":"https://git.kernel.org/stable/c/eabf131cba1db12005a68378305f13b9090a7a6b","tags":[]},{"url":"https://git.kernel.org/stable/c/2295bd846765c766701e666ed2e4b35396be25e6","tags":[]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":10.3},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= d62c43a953ce02d54521ec06217d0c2ed6d489af, < 0336995512cdab0c65e99e4cdd47c4606debe14e",">= d62c43a953ce02d54521ec06217d0c2ed6d489af, < 156c226cbbdcf5f3bce7b2408a33b59fab7fae2c",">= d62c43a953ce02d54521ec06217d0c2ed6d489af, < eabf131cba1db12005a68378305f13b9090a7a6b",">= d62c43a953ce02d54521ec06217d0c2ed6d489af, < 2295bd846765c766701e666ed2e4b35396be25e6"]},{"vendor":"Linux","product":"Linux","versions":["6.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-21T15:09:05.507584Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-35634","exploited":false,"provenance":"source"}}