Review reviewHigh

CVE-2025-38595

Linux Linux, linux kernel

In the Linux kernel, the following vulnerability has been resolved: xen: fix UAF in dmabuf_exp_from_pages() [dma_buf_fd() fixes; no preferences regarding the tree it goes through - up to xen folks] As soon as we'd inserted a file reference into descriptor table, another thread could close it. That's fine for the case when all we are doing is returning that descriptor to userland (it's a race, but it's a userland race and there's nothing the kernel can do about it). However, if we follow fd_install() with any kind of access to objects that would be destroyed on close (be it the struct file i...

CVSS
7.8
EPSS
0.18%
7.28% percentile
CISA KEV
Not listed
Published
2025.08.20
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.18%
Technical severityCVSS 7.8

Vulnerability overview

In the Linux kernel, the following vulnerability has been resolved: xen: fix UAF in dmabuf_exp_from_pages() [dma_buf_fd() fixes; no preferences regarding the tree it goes through - up to xen folks] As soon as we'd inserted a file reference into descriptor table, another thread could close it. That's fine for the case when all we are doing is returning that descriptor to userland (it's a race, but it's a userland race and there's nothing the kernel can do about it). However, if we follow fd_install() with any kind of access to objects that would be destroyed on close (be it the struct file i...

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= a240d6e42e28c34fdc34b3a98ca838a31c939901 < e5907885260401bba300d4d18d79875c05b82651, >= a240d6e42e28c34fdc34b3a98ca838a31c939901 < 3edfd2353f301bfffd5ee41066e37320a59ccc2d, >= a240d6e42e28c34fdc34b3a98ca838a31c939901 < d59d49af4aeed9a81e673e37c26c6a3bacf1a181, >= a240d6e42e28c34fdc34b3a98ca838a31c939901 < 532c8b51b3a8676cbf533a291f8156774f30ea87, >= 4.19, >= 4.19 < 6.12.42, >= 6.13 < 6.15.10, >= 6.16 < 6.16.1
Fixed versions
6.12.42, 6.15.10, 6.16.1

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-416
CVE-2025-38595 — Linux Linux, linux kernel | SECUFOCUS NOW