CVE-2022-49935

Publication date

2025-06-18 10:54:36

Family

Linux

State

PUBLISHED

Description

In the Linux kernel, the following vulnerability has been resolved: dma-buf/dma-resv: check if the new fence is really later Previously when we added a fence to a dma_resv object we always assumed the the newer than all the existing fences. With Jasons work to add an UAPI to explicit export/import thats not necessary the case any more. So without this check we would allow userspace to force the kernel into an use after free error. Since the change is very small and defensive its probably a good idea to backport this to stable kernels as well just in case others are using the dma_resv object in the same way.