CVE-2026-46264
published high CVSS 3.1 · 8.8drm/xe/pf: Fix sysfs initialization
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux5c170a4d9c530e872f2f788d95258fbaa39b4415 to < 6ae479b1919ee9bd0560fc7af649932dd420d010 · 5c170a4d9c530e872f2f788d95258fbaa39b4415 to < bf7172cd25ed182f30af2cbb9f80c730dc717d8e · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.19 (affected) · 0 to < 6.19 (unaffected · semver) · 6.19.4 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: drm/xe/pf: Fix sysfs initialization In case of devm_add_action_or_reset() failure the provided cleanup action will be run immediately on the not yet initialized kobject. This may lead to errors like: [ ] kobject: '(null)' (ff110001393608e0): is not initialized, yet kobject_put() is being called. [ ] WARNING: lib/kobject.c:734 at kobject_put+0xd9/0x250, CPU#0: kworker/0:0/9 [ ] RIP: 0010:kobject_put+0xdf/0x250 [ ] Call Trace: [ ] xe_sriov_pf_sysfs_init+0x21/0x100 [xe] [ ] xe_sriov_pf_init_late+0x87/0x2b0 [xe] [ ] xe_sriov_init_late+0x5f/0x2c0 [xe] [ ] xe_device_probe+0x5f2/0xc20 [xe] [ ] xe_pci_probe+0x396/0x610 [xe] [ ] local_pci_probe+0x47/0xb0 [ ] refcount_t: underflow; use-after-free. [ ] WARNING: lib/refcount.c:28 at refcount_warn_saturate+0x68/0xb0, CPU#0: kworker/0:0/9 [ ] RIP: 0010:refcount_warn_saturate+0x68/0xb0 [ ] Call Trace: [ ] kobject_put+0x174/0x250 [ ] xe_sriov_pf_sysfs_init+0x21/0x100 [xe] [ ] xe_sriov_pf_init_late+0x87/0x2b0 [xe] [ ] xe_sriov_init_late+0x5f/0x2c0 [xe] [ ] xe_device_probe+0x5f2/0xc20 [xe] [ ] xe_pci_probe+0x396/0x610 [xe] [ ] local_pci_probe+0x47/0xb0 Fix that by calling kobject_init() and kobject_add() separately and register cleanup action after the kobject is initialized. Also make this cleanup registration a part of the create helper to fix another mistake, as in the loop we were wrongly passing parent kobject while registering cleanup action, and this resulted in some undetected leaks. (cherry picked from commit 98b16727f07e26a5d4de84d88805ce7ffcfdd324)
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is reached only from the local PCI/driver probe path (xe_pci_probe → xe_device_probe → xe_sriov_pf_sysfs_init), not from any network protocol handler. AC:L - Triggering devm_add_action_or_reset failure is primarily ENOMEM from devres allocation, which an attacker can influence with sustained memory pressure; no rare layout or victim-state race is required beyond that. PR:L - No capability beyond a local login is needed to pressure the kernel into ENOMEM during probe on shared hosts; reaching the SR-IOV PF sysfs init path does not require init-namespace root if the Xe PF is already probing (boot, hotplug, or admin rebind). UI:N - Exploitation does not depend on a victim opening files or clicking anything; it occurs during automatic driver probe when the failure path runs. S:C - The flaw runs in the SR-IOV PF host driver that administers VF isolation; host kernel memory corruption during PF sysfs setup can break the virtualization boundary and impact tenant VFs on cloud/datacenter GPU hosts. C:H - Calling kobject_put() on an uninitialized kobject drives refcount underflow on uninitialized kref state, which the fix commit and kernel warnings classify as use-after-free with potential for arbitrary read primitives. I:H - The same uninitialized kobject_put()/refcount corruption can corrupt kernel heap metadata and be developed into arbitrary write or code execution, consistent with UAF-class impact. A:H - The observed failure mode includes kernel WARN/oops on kobject_put, refcount underflow warnings, and probe/setup failure that can deny GPU/SR-IOV availability on the host.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 5c170a4d9c530e872f2f788d95258fbaa39b4415 to < 6ae479b1919ee9bd0560fc7af649932dd420d010 (affected · git)5c170a4d9c530e872f2f788d95258fbaa39b4415 to < bf7172cd25ed182f30af2cbb9f80c730dc717d8e (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.19 (affected)0 to < 6.19 (unaffected · semver)6.19.4 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
drm/xe/pf: Fix sysfs initialization
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 620f9584589e4174721e19ed10fe67834666357c0b36ead83839d51d920c0ec8
- Ingested
- 23 Sep 2026, 09:16:17 UTC
- Source record
- Official CVE record