CVE-2024-35916

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

Medium · published May 19, 2024

CVSS v3.1
5.3
EPSS
1%
Percentile
49.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.00637 · 49.9th percentile
Published
2024-05-19T08:35Z
EPSS history
Timeline
  • 19 MAY 08:35Z
    dma-buf: Fix NULL pointer dereference in sanitycheck()
    cvelistv5