Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-40023— drm/xe/vf: Don't expose sysfs attributes not applicable for VFs

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于未限制VF访问sysfs属性,可能导致错误访问寄存器。

AI Predicted 3.3 Difficulty: Theoretical EPSS 0.18% · P8

Affected Version Matrix 6

VendorProduct Version RangeStatus
Linux Linux 0e414bf7ad012e55c8a0aa4e91f68cb1cf5801ff< bacbadedbba737da8ae6e0464bc0971c30cda4cb affected
0e414bf7ad012e55c8a0aa4e91f68cb1cf5801ff< 500dad428e5b0de4c1bdfa893822a6e06ddad0b5 affected
6.16 affected
< 6.16 unaffected
6.16.10≤ 6.16.* unaffected
6.17≤ * unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-40023

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
drm/xe/vf: Don't expose sysfs attributes not applicable for VFs
Source: CVE Program / CVE List V5
Vulnerability Description
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)
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于未限制VF访问sysfs属性,可能导致错误访问寄存器。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 0e414bf7ad012e55c8a0aa4e91f68cb1cf5801ff ~ bacbadedbba737da8ae6e0464bc0971c30cda4cb -
Linux Linux 6.16 -

II. Public POCs for CVE-2025-40023

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-40023

请登录查看更多情报信息。

Same Patch Batch · Linux · 2025-10-24 · 8 CVEs total

CVE-2023-53733 7.8 HIGH net: sched: cls_u32: Undo tcf_bind_filter if u32_replace_hw_knode
CVE-2025-40018 7.8 HIGH ipvs: Defer ip_vs_ftp unregister during netns cleanup
CVE-2025-40024 7.8 HIGH vhost: Take a reference on the task in struct vhost_task.
CVE-2025-40019 crypto: essiv - Check ssize for decryption and in-place encryption
CVE-2025-40020 can: peak_usb: fix shift-out-of-bounds issue
CVE-2025-40021 tracing: dynevent: Add a missing lockdown check on dynevent
CVE-2025-40022 crypto: af_alg - Fix incorrect boolean values in af_alg_ctx

IV. Related Vulnerabilities

V. Comments for CVE-2025-40023

No comments yet


Leave a comment