ata: pata_sl82c105: fix bridge revision use-after-free
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 44c10138fd4bbc4b6d6bff0873c24902f2a9da65 · < a837deeaa37cc3f0e8c4e5c096787047f272c956| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ata: pata_sl82c105: fix bridge revision use-after-free
pci_get_slot() returns a referenced PCI device. Commit 44c10138fd4b ("PCI: Change all drivers to use pci_device->revision") replaced a configuration-space read with direct access to the cached revision field, but left that access after pci_dev_put(). The bridge may therefore be freed before its revision is read.
Read the revision before dropping the reference.
From the CVE record · Linux
The Linux kernel's pata_sl82c105 driver can read a PCI bridge's revision after releasing its reference, potentially accessing freed memory. The input does not specify how an attacker could trigger this or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the pata_sl82c105 driver should check whether their kernel is affected; affected versions are not specified.