Skip to content
Fencer Vulns
no cvss —

CVE-2025-40023 json

drm/xe/vf: Don't expose sysfs attributes not applicable for VFs

published 2025-10-24 12 mo ago modified 2026-10-19 20 d ago also EUVD-2025-35836

cvss
—
not scored
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 8%
public exploits
0
none known

Summary

In the Linux kernel, the following vulnerability has been resolved:

drm/xe/vf: Don't expose sysfs attributes not applicable for VFs

VFs can't read BMG_PCIE_CAP(0x138340) register nor access PCODE (already guarded by the info.skip_pcode flag) so we shouldn't expose attributes that require any of them to avoid errors like:

[] xe 0000:03:00.1: [drm] Tile0: GT0: VF is trying to read an \ inaccessible register 0x138340+0x0 [] RIP: 0010:xe_gt_sriov_vf_read32+0x6c2/0x9a0 [xe] [] Call Trace: [] xe_mmio_read32+0x110/0x280 [xe] [] auto_link_downgrade_capable_show+0x2e/0x70 [xe] [] dev_attr_show+0x1a/0x70 [] sysfs_kf_seq_show+0xaa/0x120 [] kernfs_seq_show+0x41/0x60

(cherry picked from commit a2d6223d224f333f705ed8495bf8bebfbc585c35)

Patch / fix

  • Linux Linux 6.16.10, 6.17
  • linux Debian 14 6.16.10-1

debian advisories DEBIAN-CVE-2025-40023

  • linux Ubuntu 25.10 6.17.0-6.6
  • linux-aws Ubuntu 25.10 6.17.0-1003.3
  • linux-gcp Ubuntu 25.10 6.17.0-1003.3
  • linux-azure Ubuntu 25.10 6.17.0-1006.6
  • linux-raspi Ubuntu 25.10 6.17.0-1004.4
  • linux-riscv Ubuntu 25.10 6.17.0-6.6.1
  • linux-oracle Ubuntu 25.10 6.17.0-1003.3
  • linux-realtime Ubuntu 25.10 6.17.0-1002.3

ubuntu advisories UBUNTU-CVE-2025-40023

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-40023 updated

kernel: drm/xe/vf: Don't expose sysfs attributes not applicable for VFs

  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernel
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.18% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-08).

Affected products

  • Linux Linux

Classification

Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.