CVE-2023-52509

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

HIGH
7.8
CVSS Score
Published: March 2, 2024 at 09:52 PM UTC
Updated: August 5, 2026 at 09:25 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.2 ≤ v < 5.10.1994.2 ≤ v < 5.15.1364.2 ≤ v < 5.4.2594.2 ≤ v < 6.1.594.2 ≤ v < 6.5.84.2 ≤ v < 6.65.11 ≤ v < 5.15.1365.16 ≤ v < 6.1.595.5 ≤ v < 5.10.1996.2 ≤ v < 6.5.86.6 rc16.6 rc26.6 rc36.6 rc46.6 rc5c156633f1353264634135dea86ffcae74f2122fc
Vendor states this is fixed in 105abd68ad8f781985113aee2e92e0702b133705 (fixed)
Vendor states this is fixed in 3971442870713de527684398416970cf025b4f89 (fixed)
Vendor states this is fixed in 616761cf9df9af838c0a1a1232a69322a9eb67e6 (fixed)
Vendor states this is fixed in 65d34cfd4e347054eb4193bc95d9da7eaa72dee5 (fixed)
Vendor states this is fixed in 6f6fa8061f756aedb93af12a8a5d3cf659127965 (fixed)
Vendor states this is fixed in db9aafa19547833240f58c2998aed7baf414dc82 (fixed)
Vendor states this is fixed in 4.2 (unaffected)
Vendor states this is fixed in 5.10.199 (unaffected)
Vendor states this is fixed in 5.15.136 (unaffected)
Vendor states this is fixed in 5.4.259 (unaffected)
Vendor states this is fixed in 6.1.59 (unaffected)
Vendor states this is fixed in 6.5.8 (unaffected)
Vendor states this is fixed in 6.6 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/105abd68ad8f781985113aee2e92e0702b133705
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3971442870713de527684398416970cf025b4f89
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/616761cf9df9af838c0a1a1232a69322a9eb67e6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/65d34cfd4e347054eb4193bc95d9da7eaa72dee5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6f6fa8061f756aedb93af12a8a5d3cf659127965
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/db9aafa19547833240f58c2998aed7baf414dc82

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card