{"id":"CVE-2026-53120","state":"PUBLISHED","title":"PCI: use generic driver_override infrastructure","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: use generic driver_override infrastructure\n\nWhen a driver is probed through __driver_attach(), the bus' match()\ncallback is called without the device lock held, thus accessing the\ndriver_override field without a lock, which can cause a UAF.\n\nFix this by using the driver-core driver_override infrastructure taking\ncare of proper locking internally.\n\nNote that calling match() from __driver_attach() without the device lock\nheld is intentional. [1]","publishedAt":"2026-06-24T16:30:50.592Z","updatedAt":"2026-10-21T12:42:07.442Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"782a985d7af26db39e86070d28f987cad21313c0","status":"affected","lessThan":"fdfa287956d00b936e0ac409b21e4f90501ad109","versionType":"git"},{"version":"782a985d7af26db39e86070d28f987cad21313c0","status":"affected","lessThan":"dfe950d9464cad609f3b118c6203e2708055bc61","versionType":"git"},{"version":"782a985d7af26db39e86070d28f987cad21313c0","status":"affected","lessThan":"58a42be0d70307d765594fc581f5f5e5ef059712","versionType":"git"},{"version":"782a985d7af26db39e86070d28f987cad21313c0","status":"affected","lessThan":"c5b2c5755495507e14f310c2653c85de0a309b1f","versionType":"git"},{"version":"782a985d7af26db39e86070d28f987cad21313c0","status":"affected","lessThan":"10a4206a24013be4d558d476010cbf2eb4c9fa64","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pci/pci-driver.c","drivers/pci/pci-sysfs.c","drivers/pci/probe.c","drivers/vfio/pci/vfio_pci_core.c","drivers/xen/xen-pciback/pci_stub.c","include/linux/pci.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.16","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.91","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.33","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.10","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pci/pci-driver.c","drivers/pci/pci-sysfs.c","drivers/pci/probe.c","drivers/vfio/pci/vfio_pci_core.c","drivers/xen/xen-pciback/pci_stub.c","include/linux/pci.h"]}],"references":["https://git.kernel.org/stable/c/fdfa287956d00b936e0ac409b21e4f90501ad109","https://git.kernel.org/stable/c/dfe950d9464cad609f3b118c6203e2708055bc61","https://git.kernel.org/stable/c/58a42be0d70307d765594fc581f5f5e5ef059712","https://git.kernel.org/stable/c/c5b2c5755495507e14f310c2653c85de0a309b1f","https://git.kernel.org/stable/c/10a4206a24013be4d558d476010cbf2eb4c9fa64"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53120.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53120","state":"PUBLISHED","datePublished":"2026-06-24T16:30:50.592Z","dateUpdated":"2026-10-21T12:42:07.442Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-06-09T07:44:35.386Z"},"containers":{"cna":{"title":"PCI: use generic driver_override infrastructure","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: use generic driver_override infrastructure\n\nWhen a driver is probed through __driver_attach(), the bus' match()\ncallback is called without the device lock held, thus accessing the\ndriver_override field without a lock, which can cause a UAF.\n\nFix this by using the driver-core driver_override infrastructure taking\ncare of proper locking internally.\n\nNote that calling match() from __driver_attach() without the device lock\nheld is intentional. [1]"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"782a985d7af26db39e86070d28f987cad21313c0","status":"affected","lessThan":"fdfa287956d00b936e0ac409b21e4f90501ad109","versionType":"git"},{"version":"782a985d7af26db39e86070d28f987cad21313c0","status":"affected","lessThan":"dfe950d9464cad609f3b118c6203e2708055bc61","versionType":"git"},{"version":"782a985d7af26db39e86070d28f987cad21313c0","status":"affected","lessThan":"58a42be0d70307d765594fc581f5f5e5ef059712","versionType":"git"},{"version":"782a985d7af26db39e86070d28f987cad21313c0","status":"affected","lessThan":"c5b2c5755495507e14f310c2653c85de0a309b1f","versionType":"git"},{"version":"782a985d7af26db39e86070d28f987cad21313c0","status":"affected","lessThan":"10a4206a24013be4d558d476010cbf2eb4c9fa64","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pci/pci-driver.c","drivers/pci/pci-sysfs.c","drivers/pci/probe.c","drivers/vfio/pci/vfio_pci_core.c","drivers/xen/xen-pciback/pci_stub.c","include/linux/pci.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.16","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.91","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.33","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.10","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pci/pci-driver.c","drivers/pci/pci-sysfs.c","drivers/pci/probe.c","drivers/vfio/pci/vfio_pci_core.c","drivers/xen/xen-pciback/pci_stub.c","include/linux/pci.h"]}],"references":[{"url":"https://git.kernel.org/stable/c/fdfa287956d00b936e0ac409b21e4f90501ad109"},{"url":"https://git.kernel.org/stable/c/dfe950d9464cad609f3b118c6203e2708055bc61"},{"url":"https://git.kernel.org/stable/c/58a42be0d70307d765594fc581f5f5e5ef059712"},{"url":"https://git.kernel.org/stable/c/c5b2c5755495507e14f310c2653c85de0a309b1f"},{"url":"https://git.kernel.org/stable/c/10a4206a24013be4d558d476010cbf2eb4c9fa64"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-21T12:42:07.442Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"6.12.91"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"6.18.33"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"7.0.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}