CVE-2022-49935

Source
https://cve.org/CVERecord?id=CVE-2022-49935
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49935.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49935
Downstream
Related
Published
2025-06-18T10:54:36.963Z
Modified
2026-04-03T13:14:25.484758416Z
Summary
dma-buf/dma-resv: check if the new fence is really later
Details

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 Jason's work to add an UAPI to explicit export/import that's 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 it's 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49935.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
27836b641c1bf693c96c627388497b4e0f57441b
Fixed
c4c798fe98adceb642050819cb57cbc8f5c27870
Fixed
a3f7c10a269d5b77dd5822ade822643ced3057f0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49935.json"