CVE-2026-138901
not scored yetPCI/DOE: Fix double free of a duplicate feature's sysfs name
In the Linux kernel, the following vulnerability has been resolved:
PCI/DOE: Fix double free of a duplicate feature's sysfs name
When a DOE feature is reported twice, sysfs_add_file_to_group() fails
with -EEXIST for the second copy and pci_doe_sysfs_feature_populate()
frees that attribute's name, but leaves the pointer in place.
pci_doe_sysfs_feature_remove() frees every name again when the device
is removed, or when a later feature fails to register, so the name is
freed twice:
BUG: KASAN: double-free in pci_doe_sysfs_feature_remove+0x117/0x1b0
Call Trace:
kfree+0x11a/0x420
pci_doe_sysfs_feature_remove+0x117/0x1b0
pci_doe_sysfs_teardown+0x90/0xf0
pci_remove_bus_device+0x128/0x2e0
pci_stop_and_remove_bus_device_locked+0x1d/0x30
remove_store+0xd2/0xf0
Clear the pointer after freeing the name.
- Published
- 30 Nov 2026
- Last modified
- 30 Nov 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 2311ab1820fed26caf0095d38ade892770ea574d, < 5ed7a6aed407e83d7a5b4972bd553d764544b7ab; >= 2311ab1820fed26caf0095d38ade892770ea574d, < 5ad79778884bb2a69378e5a03c51a4d334d68350; >= 2311ab1820fed26caf0095d38ade892770ea574d, < 624ee129620a054466b6a29d98cd7a40ccc239cd | 5ed7a6aed407e83d7a5b4972bd553d764544b7ab, 5ad79778884bb2a69378e5a03c51a4d334d68350, 624ee129620a054466b6a29d98cd7a40ccc239cd |
| CVE List | Linux | Linux | = 6.15 |
References
- https://git.kernel.org/stable/c/5ad79778884bb2a69378e5a03c51a4d334d68350
- https://git.kernel.org/stable/c/5ed7a6aed407e83d7a5b4972bd553d764544b7ab
- https://git.kernel.org/stable/c/624ee129620a054466b6a29d98cd7a40ccc239cd
History
- 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 13:31 UTC · CVE List: first stored (published 30 Nov 2026)