What’s Vulnerable › Vulnerabilities

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

Description

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.85, 6.6.26, 6.8.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-35916 or the next vulnerability affects your stack