CVE-2023-52509CWE-416

CVE-2023-52509

High · published March 3, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
14.7
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

ravb: Fix use-after-free issue in ravb_tx_timeout_work()

The ravb_stop() should call cancel_work_sync(). Otherwise,

ravb_tx_timeout_work() is possible to use the freed priv after

ravb_remove() was called like below:

CPU0 CPU1

ravb_tx_timeout()

ravb_remove()

unregister_netdev()

free_netdev(ndev)

// free priv

ravb_tx_timeout_work()

// use priv

unregister_netdev() will call .ndo_stop() so that ravb_stop() is

called. And, after phy_stop() is called, netif_carrier_off()

is also called. So that .ndo_tx_timeout() will not be called

after phy_stop().

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00244 · 14.7th percentile
Weakness
CWE-416 · Use After Free
Published
2024-03-03T03:15Z
Affected products (10)
ProductVersionsFixed in
linux/linux_kernel≥ 4.2, < 5.4.2595.4.259
linux/linux_kernel≥ 5.5, < 5.10.1995.10.199
linux/linux_kernel≥ 5.11, < 5.15.1365.15.136
linux/linux_kernel≥ 5.16, < 6.1.596.1.59
linux/linux_kernel≥ 6.2, < 6.5.86.5.8
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (12)
EPSS history
Timeline
  • 02 MAR 21:52Z
    ravb: Fix use-after-free issue in ravb_tx_timeout_work()
    cvelistv5