KernelScan.io

HIGH Introduced in 2.6.23

ata sl82c105 BridgeRevision UAF

CVE-2026-80732

CVSS 7.8 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

KernelScan AI6.7MEDIUM

01

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.

02

Engine v0.6.0

Risk summary

A use-after-free in the Winbond SL82C105 PATA host bridge driver allows a privileged local attacker to trigger a kernel panic or memory corruption by reading a freed PCI device's revision field. The bug requires specific hardware and root-level privileges to trigger.

Affecteddrivers/ata/pata_sl82c105.c (ATA/IDE PATA)

Vulnerability analysis

The SL82C105 PATA driver looks up a companion PCI bridge device and reads its cached revision field, but drops the reference count on that device before accessing the revision. If the bridge is removed between the reference drop and the field read, the driver dereferences freed memory. The fix reads the revision into a local variable before releasing the reference, ensuring the value is captured while the device is still pinned. This code path is only reached on systems with the specific Winbond SL82C105 PATA controller present, and triggering it requires privileged local access to the ATA subsystem.

03

BranchIntroducedFixed inPatch commit
5.102.6.235.10.2651268ca9418e2
6.12.6.236.1.1835ef87b1b4656
5.152.6.235.15.216a626dfca9604
6.182.6.236.18.45a837deeaa37c
6.62.6.236.6.152fa0dca89b4fb
7.12.6.237.1.956fd78c8c820
mainline2.6.237.27700a31039cd
6.122.6.236.12.104dc711fb137b3
cip/4.192.6.234.19.325-cip136488ca042d3f5
cip/4.19-rt2.6.234.19.325-cip136-rt50488ca042d3f5
cip/4.42.6.234.4.302-cip1153f1acfe2025f
cip/4.4-rt2.6.234.4.302-cip115-rt633f1acfe2025f
cip/5.102.6.235.10.268-cip771268ca9418e2
cip/5.10-rt2.6.235.10.268-cip77-rt341268ca9418e2
cip/6.12.6.236.1.187-cip605ef87b1b4656
cip/6.122.6.236.12.104-cip30dc711fb137b3