{"id":"CVE-2025-38137","state":"PUBLISHED","title":"PCI/pwrctrl: Cancel outstanding rescan work when unregistering","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI/pwrctrl: Cancel outstanding rescan work when unregistering\n\nIt's possible to trigger use-after-free here by:\n\n  (a) forcing rescan_work_func() to take a long time and\n  (b) utilizing a pwrctrl driver that may be unloaded for some reason\n\nCancel outstanding work to ensure it is finished before we allow our data\nstructures to be cleaned up.\n\n[bhelgaas: tidy commit log]","publishedAt":"2025-07-03T08:35:39.849Z","updatedAt":"2026-10-21T12:36:46.881Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8f62819aaace77dd85037ae766eb767f8c4417ce","status":"affected","lessThan":"a63ed775f476ba81558bba24d7538836e1ffb823","versionType":"git"},{"version":"8f62819aaace77dd85037ae766eb767f8c4417ce","status":"affected","lessThan":"b3ad6d23fec23fbef382ce9ea640c37446593cf5","versionType":"git"},{"version":"8f62819aaace77dd85037ae766eb767f8c4417ce","status":"affected","lessThan":"8b926f237743f020518162c62b93cb7107a2b5eb","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pci/pwrctrl/core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.15.3","status":"unaffected","lessThanOrEqual":"6.15.*","versionType":"semver"},{"version":"6.16","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pci/pwrctrl/core.c"]}],"references":["https://git.kernel.org/stable/c/a63ed775f476ba81558bba24d7538836e1ffb823","https://git.kernel.org/stable/c/b3ad6d23fec23fbef382ce9ea640c37446593cf5","https://git.kernel.org/stable/c/8b926f237743f020518162c62b93cb7107a2b5eb"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/38xxx/CVE-2025-38137.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-38137","state":"PUBLISHED","datePublished":"2025-07-03T08:35:39.849Z","dateUpdated":"2026-10-21T12:36:46.881Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T04:51:23.987Z"},"containers":{"cna":{"title":"PCI/pwrctrl: Cancel outstanding rescan work when unregistering","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI/pwrctrl: Cancel outstanding rescan work when unregistering\n\nIt's possible to trigger use-after-free here by:\n\n  (a) forcing rescan_work_func() to take a long time and\n  (b) utilizing a pwrctrl driver that may be unloaded for some reason\n\nCancel outstanding work to ensure it is finished before we allow our data\nstructures to be cleaned up.\n\n[bhelgaas: tidy commit log]"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8f62819aaace77dd85037ae766eb767f8c4417ce","status":"affected","lessThan":"a63ed775f476ba81558bba24d7538836e1ffb823","versionType":"git"},{"version":"8f62819aaace77dd85037ae766eb767f8c4417ce","status":"affected","lessThan":"b3ad6d23fec23fbef382ce9ea640c37446593cf5","versionType":"git"},{"version":"8f62819aaace77dd85037ae766eb767f8c4417ce","status":"affected","lessThan":"8b926f237743f020518162c62b93cb7107a2b5eb","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pci/pwrctrl/core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.15.3","status":"unaffected","lessThanOrEqual":"6.15.*","versionType":"semver"},{"version":"6.16","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pci/pwrctrl/core.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/a63ed775f476ba81558bba24d7538836e1ffb823"},{"url":"https://git.kernel.org/stable/c/b3ad6d23fec23fbef382ce9ea640c37446593cf5"},{"url":"https://git.kernel.org/stable/c/8b926f237743f020518162c62b93cb7107a2b5eb"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-21T12:36:46.881Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.12.114"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.15.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.16"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}