CVE-2024-35916

published 19 May 2024 · updated 11 May 2026

dma-buf: Fix NULL pointer dereference in sanitycheck()

5.3MediumCVSS 5.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 0336995512cdab0c65e99e4cdd47c4606debe14e, Kernel 156c226cbbdcf5f3bce7b2408a33b59fab7fae2c, Kernel 2295bd846765c766701e666ed2e4b35396be25e6 and 1 more.

In the Linux kernel, the following vulnerability has been resolved: dma-buf: Fix NULL pointer dereference in sanitycheck() If due to a memory allocation failure mock_chain() returns NULL, it is passed to dma_fence_enable_sw_signaling() resulting in NULL pointer dereference there. Call dma_fence_enable_sw_signaling() only if mock_chain() succeeds. Found by Linux Verification Center (linuxtesting.org) with SVACE.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.1, >=d62c43a953ce02d54521ec06217d0c2ed6d489af <0336995512cdab0c65e99e4cdd47c4606debe14e, >=d62c43a953ce02d54521ec06217d0c2ed6d489af <156c226cbbdcf5f3bce7b2408a33b59fab7fae2c, >=d62c43a953ce02d54521ec06217d0c2ed6d489af <2295bd846765c766701e666ed2e4b35396be25e6, >=d62c43a953ce02d54521ec06217d0c2ed6d489af <eabf131cba1db12005a68378305f13b9090a7a6b0336995512cdab0c65e99e4cdd47c4606debe14e, 156c226cbbdcf5f3bce7b2408a33b59fab7fae2c, 2295bd846765c766701e666ed2e4b35396be25e6, eabf131cba1db12005a68378305f13b9090a7a6b

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-35916 severity on Zeptric[![CVE-2024-35916](https://zeptric.io/badge/cve/CVE-2024-35916.svg)](https://zeptric.io/cve/CVE-2024-35916)