{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-138901","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.902Z","datePublished":"2026-11-30T13:26:02.491Z","dateUpdated":"2026-11-30T13:26:02.491Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:26:02.491Z"},"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":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pci/doe.c"],"versions":[{"version":"2311ab1820fed26caf0095d38ade892770ea574d","lessThan":"5ed7a6aed407e83d7a5b4972bd553d764544b7ab","status":"affected","versionType":"git"},{"version":"2311ab1820fed26caf0095d38ade892770ea574d","lessThan":"5ad79778884bb2a69378e5a03c51a4d334d68350","status":"affected","versionType":"git"},{"version":"2311ab1820fed26caf0095d38ade892770ea574d","lessThan":"624ee129620a054466b6a29d98cd7a40ccc239cd","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pci/doe.c"],"versions":[{"version":"6.15","status":"affected"},{"version":"0","lessThan":"6.15","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/5ed7a6aed407e83d7a5b4972bd553d764544b7ab"},{"url":"https://git.kernel.org/stable/c/5ad79778884bb2a69378e5a03c51a4d334d68350"},{"url":"https://git.kernel.org/stable/c/624ee129620a054466b6a29d98cd7a40ccc239cd"}],"title":"PCI/DOE: Fix double free of a duplicate feature's sysfs name","x_generator":{"engine":"bippy-1.2.0"}}}}