Skip to content
CVE PROGRAM SOURCE RECORD5.3 Medium

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • d62c43a953ce02d54521ec06217d0c2ed6d489af to < 0336995512cdab0c65e99e4cdd47c4606debe14eaffected
  • d62c43a953ce02d54521ec06217d0c2ed6d489af to < 156c226cbbdcf5f3bce7b2408a33b59fab7fae2caffected
  • d62c43a953ce02d54521ec06217d0c2ed6d489af to < eabf131cba1db12005a68378305f13b9090a7a6baffected
  • d62c43a953ce02d54521ec06217d0c2ed6d489af to < 2295bd846765c766701e666ed2e4b35396be25e6affected

Linux Linux

Default version status: affected

  • 6.1affected
  • 0 to < 6.1unaffected
  • 6.1.85 to ≤ 6.1.*unaffected
  • 6.6.26 to ≤ 6.6.*unaffected
  • 6.8.5 to ≤ 6.8.*unaffected
  • 6.9 to ≤ *unaffected

References