{"id":"CVE-2026-138901","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:17:48.130","lastModified":"2026-11-30T14:17:48.130","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI/DOE: Fix double free of a duplicate feature's sysfs name\n\nWhen a DOE feature is reported twice, sysfs_add_file_to_group() fails\nwith -EEXIST for the second copy and pci_doe_sysfs_feature_populate()\nfrees that attribute's name, but leaves the pointer in place.\npci_doe_sysfs_feature_remove() frees every name again when the device\nis removed, or when a later feature fails to register, so the name is\nfreed twice:\n\n  BUG: KASAN: double-free in pci_doe_sysfs_feature_remove+0x117/0x1b0\n  Call Trace:\n   kfree+0x11a/0x420\n   pci_doe_sysfs_feature_remove+0x117/0x1b0\n   pci_doe_sysfs_teardown+0x90/0xf0\n   pci_remove_bus_device+0x128/0x2e0\n   pci_stop_and_remove_bus_device_locked+0x1d/0x30\n   remove_store+0xd2/0xf0\n\nClear the pointer after freeing the name."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/pci/doe.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"2311ab1820fed26caf0095d38ade892770ea574d","lessThan":"5ed7a6aed407e83d7a5b4972bd553d764544b7ab","versionType":"git","status":"affected"},{"version":"2311ab1820fed26caf0095d38ade892770ea574d","lessThan":"5ad79778884bb2a69378e5a03c51a4d334d68350","versionType":"git","status":"affected"},{"version":"2311ab1820fed26caf0095d38ade892770ea574d","lessThan":"624ee129620a054466b6a29d98cd7a40ccc239cd","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/pci/doe.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.15","status":"affected"},{"version":"0","lessThan":"6.15","versionType":"semver","status":"unaffected"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/5ad79778884bb2a69378e5a03c51a4d334d68350","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/5ed7a6aed407e83d7a5b4972bd553d764544b7ab","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/624ee129620a054466b6a29d98cd7a40ccc239cd","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}