CVE-2022-49935

HIGH EPSS 4.1%
Published Jun 18, 20251y ago · Modified Jun 17, 20261w ago
7.8 CVSS 3.1
High
Find Similar
Published Jun 18, 2025 1y ago
Last Modified Jun 17, 2026 1w ago

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 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.

CVSS Details

Base Score
7.8
Exploitability
1.8
Impact
5.9
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
4.1% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-416 Use After Free Memory Safety

Affected Products 4

VendorProductVersionRange
linuxlinux_kernel*≥5.0  –  <5.19.8
linuxlinux_kernel6.0any
linuxlinux_kernel6.0any
linuxlinux_kernel6.0any

References 2

  • git.kernel.org https://git.kernel.org/stable/c/a3f7c10a269d5b77dd5822ade822643ced3057f0
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c4c798fe98adceb642050819cb57cbc8f5c27870
    Patch

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/a3f7c10a269d5b77dd5822ade822643ced3057f0
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/c4c798fe98adceb642050819cb57cbc8f5c27870
    Patch