# CVE-2023-52509: ravb: Fix use-after-free issue in ravb_tx_timeout_work()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-03-02T21:52:22.006Z
- Modified: 2026-08-05T09:10:18.221Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from c156633f1353264634135dea86ffcae74f2122fc before 65d34cfd4e347054eb4193bc95d9da7eaa72dee5; from c156633f1353264634135dea86ffcae74f2122fc before db9aafa19547833240f58c2998aed7baf414dc82; from c156633f1353264634135dea86ffcae74f2122fc before 616761cf9df9af838c0a1a1232a69322a9eb67e6; from c156633f1353264634135dea86ffcae74f2122fc before 6f6fa8061f756aedb93af12a8a5d3cf659127965; from c156633f1353264634135dea86ffcae74f2122fc before 105abd68ad8f781985113aee2e92e0702b133705; from c156633f1353264634135dea86ffcae74f2122fc before 3971442870713de527684398416970cf025b4f89; 4.2 (not affected: before 4.2; from 5.4.259 up to 5.4.*; from 5.10.199 up to 5.10.*; from 5.15.136 up to 5.15.*; from 6.1.59 up to 6.1.*; from 6.5.8 up to 6.5.*; from 6.6 up to *)
- linux linux_kernel: from 4.2 before 5.4.259; from 5.5 before 5.10.199; from 5.11 before 5.15.136; from 5.16 before 6.1.59; from 6.2 before 6.5.8; 6.6

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/65d34cfd4e347054eb4193bc95d9da7eaa72dee5> (patch)
- <https://git.kernel.org/stable/c/db9aafa19547833240f58c2998aed7baf414dc82> (patch)
- <https://git.kernel.org/stable/c/616761cf9df9af838c0a1a1232a69322a9eb67e6> (patch)
- <https://git.kernel.org/stable/c/6f6fa8061f756aedb93af12a8a5d3cf659127965> (patch)
- <https://git.kernel.org/stable/c/105abd68ad8f781985113aee2e92e0702b133705> (patch)
- <https://git.kernel.org/stable/c/3971442870713de527684398416970cf025b4f89> (patch)

## Sources

- CVE List: [CVE-2023-52509](https://www.cve.org/CVERecord?id=CVE-2023-52509), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2023-52509](https://nvd.nist.gov/vuln/detail/CVE-2023-52509), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2023-52509 · Whole record: https://cve.day/CVE-2023-52509.json · Rebuilt by cve.day 2026-11-25T22:58:33.156Z
