CVE-2026-138901
publishedPCI/DOE: Fix double free of a duplicate feature's sysfs name
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux2311ab1820fed26caf0095d38ade892770ea574d to < 5ed7a6aed407e83d7a5b4972bd553d764544b7ab · 2311ab1820fed26caf0095d38ade892770ea574d to < 5ad79778884bb2a69378e5a03c51a4d334d68350 · 2311ab1820fed26caf0095d38ade892770ea574d to < 624ee129620a054466b6a29d98cd7a40ccc239cd · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.15 (affected) · 0 to < 6.15 (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 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: 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.
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.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 2311ab1820fed26caf0095d38ade892770ea574d to < 5ed7a6aed407e83d7a5b4972bd553d764544b7ab (affected · git)2311ab1820fed26caf0095d38ade892770ea574d to < 5ad79778884bb2a69378e5a03c51a4d334d68350 (affected · git)2311ab1820fed26caf0095d38ade892770ea574d to < 624ee129620a054466b6a29d98cd7a40ccc239cd (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.15 (affected)0 to < 6.15 (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
PCI/DOE: Fix double free of a duplicate feature's sysfs name
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e6631950c5a6f5fc0e0f34971d2c776e9d221764679cd60a794db8bb9724101b
- Ingested
- 30 Nov 2026, 13:30:07 UTC
- Source record
- Official CVE record