In the Linux kernel, the following vulnerability has been resolved:EOL][EOL]dma-buf/dma-resv: check if the new fence is really later[EOL][EOL]Previously when we added a fence to a dma_resv object we always[EOL]assumed the the newer than all the existing fences.[EOL][EOL]With Jason's work to add an UAPI to explicit export/import that's not[EOL]necessary the case any more. So without this check we would allow[EOL]userspace to force the kernel into an use after free error.[EOL][EOL]Since the change is very small and defensive it's probably a good[EOL]idea to backport this to stable kernels as well just in case others[EOL]are using the dma_resv object in the same way. CREATE(Triage):(User=lchen-cn) [CVE-2022-49935 (https://nvd.nist.gov/vuln/detail/CVE-2022-49935)