CVE-2026-46264

Source
https://cve.org/CVERecord?id=CVE-2026-46264
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46264.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-46264
Downstream
Published
2026-06-03T15:50:04.620Z
Modified
2026-06-18T03:57:38.001994117Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
drm/xe/pf: Fix sysfs initialization
Details

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

drm/xe/pf: Fix sysfs initialization

In case of devmaddactionorreset() 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 kobjectput() is being called. [ ] WARNING: lib/kobject.c:734 at kobjectput+0xd9/0x250, CPU#0: kworker/0:0/9 [ ] RIP: 0010:kobjectput+0xdf/0x250 [ ] Call Trace: [ ] xesriovpfsysfsinit+0x21/0x100 [xe] [ ] xesriovpfinitlate+0x87/0x2b0 [xe] [ ] xesriovinitlate+0x5f/0x2c0 [xe] [ ] xedeviceprobe+0x5f2/0xc20 [xe] [ ] xepciprobe+0x396/0x610 [xe] [ ] localpciprobe+0x47/0xb0

[ ] refcountt: underflow; use-after-free. [ ] WARNING: lib/refcount.c:28 at refcountwarnsaturate+0x68/0xb0, CPU#0: kworker/0:0/9 [ ] RIP: 0010:refcountwarnsaturate+0x68/0xb0 [ ] Call Trace: [ ] kobjectput+0x174/0x250 [ ] xesriovpfsysfsinit+0x21/0x100 [xe] [ ] xesriovpfinitlate+0x87/0x2b0 [xe] [ ] xesriovinitlate+0x5f/0x2c0 [xe] [ ] xedeviceprobe+0x5f2/0xc20 [xe] [ ] xepciprobe+0x396/0x610 [xe] [ ] localpci_probe+0x47/0xb0

Fix that by calling kobjectinit() and kobjectadd() 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)

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46264.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5c170a4d9c530e872f2f788d95258fbaa39b4415
Fixed
6ae479b1919ee9bd0560fc7af649932dd420d010
Fixed
bf7172cd25ed182f30af2cbb9f80c730dc717d8e

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46264.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46264.json"