{"id":72294,"date":"2025-10-24T16:45:47","date_gmt":"2025-10-24T13:15:47","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-40023-drm-xe-vf-dont-expose-sysfs-attributes-not-applicable-for-vfs\/"},"modified":"2025-10-24T16:45:47","modified_gmt":"2025-10-24T13:15:47","slug":"cve-2025-40023-drm-xe-vf-dont-expose-sysfs-attributes-not-applicable-for-vfs","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-40023-drm-xe-vf-dont-expose-sysfs-attributes-not-applicable-for-vfs\/","title":{"rendered":"CVE-2025-40023 &#8211; drm\/xe\/vf: Don&#8217;t expose sysfs attributes not applicable for VFs"},"content":{"rendered":"<p>CVE ID : CVE-2025-40023<\/p>\n<p>Published :  Oct. 24, 2025, 1:15 p.m. | 1\u00a0hour, 27\u00a0minutes ago<\/p>\n<p>Description : In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>drm\/xe\/vf: Don&#8217;t expose sysfs attributes not applicable for VFs<\/p>\n<p>VFs can&#8217;t read BMG_PCIE_CAP(0x138340) register nor access PCODE<br \/>\n(already guarded by the info.skip_pcode flag) so we shouldn&#8217;t<br \/>\nexpose attributes that require any of them to avoid errors like:<\/p>\n<p> [] xe 0000:03:00.1: [drm] Tile0: GT0: VF is trying to read an<br \/>\n                     inaccessible register 0x138340+0x0<br \/>\n [] RIP: 0010:xe_gt_sriov_vf_read32+0x6c2\/0x9a0 [xe]\n [] Call Trace:<br \/>\n []  xe_mmio_read32+0x110\/0x280 [xe]\n []  auto_link_downgrade_capable_show+0x2e\/0x70 [xe]\n []  dev_attr_show+0x1a\/0x70<br \/>\n []  sysfs_kf_seq_show+0xaa\/0x120<br \/>\n []  kernfs_seq_show+0x41\/0x60<\/p>\n<p>(cherry picked from commit a2d6223d224f333f705ed8495bf8bebfbc585c35)<\/p>\n<p>Severity: 0.0 | NA<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-40023 Published : Oct. 24, 2025, 1:15 p.m. | 1\u00a0hour, 27\u00a0minutes ago Description : In the Linux kernel, the following vulnerability has been resolved: drm\/xe\/vf: Don&#8217;t expose sysfs attributes not applicable for VFs VFs can&#8217;t read BMG_PCIE_CAP(0x138340) register nor access PCODE (already guarded by the info.skip_pcode flag) so we shouldn&#8217;t expose attributes &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-72294","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/72294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=72294"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/72294\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=72294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=72294"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=72294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}