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.
Metrics
CVSS 3.1 5.3/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= d62c43a953ce02d54521ec06217d0c2ed6d489af, < 0336995512cdab0c65e99e4cdd47c4606debe14e; >= d62c43a953ce02d54521ec06217d0c2ed6d489af, < 156c226cbbdcf5f3bce7b2408a33b59fab7fae2c; >= d62c43a953ce02d54521ec06217d0c2ed6d489af, < eabf131cba1db12005a68378305f13b9090a7a6b; >= d62c43a953ce02d54521ec06217d0c2ed6d489af, < 2295bd846765c766701e666ed2e4b35396be25e6 |
| Linux | Linux | 6.1 |
References
- https://git.kernel.org/stable/c/0336995512cdab0c65e99e4cdd47c4606debe14ePatch
- https://git.kernel.org/stable/c/156c226cbbdcf5f3bce7b2408a33b59fab7fae2cPatch
- https://git.kernel.org/stable/c/2295bd846765c766701e666ed2e4b35396be25e6Patch
- https://git.kernel.org/stable/c/eabf131cba1db12005a68378305f13b9090a7a6bPatch
- https://git.kernel.org/stable/c/0336995512cdab0c65e99e4cdd47c4606debe14ePatch
- https://git.kernel.org/stable/c/156c226cbbdcf5f3bce7b2408a33b59fab7fae2cPatch
- https://git.kernel.org/stable/c/2295bd846765c766701e666ed2e4b35396be25e6Patch
- https://git.kernel.org/stable/c/eabf131cba1db12005a68378305f13b9090a7a6bPatch
Timeline
- Published
- May 19, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed