# CVE-2023-52509: ravb: Fix use-after-free issue in ravb\_tx\_timeout\_work()

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-03-02 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2023-52509, DEBIAN-CVE-2023-52509
- Record: https://cvemate.com/vulnerability/CVE-2023-52509 · JSON: https://cvemate.com/vulnerability/CVE-2023-52509/json

## Description

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

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.244%, percentile 16.703%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 118)

- debian linux (Debian): \< 6.1.64-1 \| \< 6.5.8-1
- ubuntu linux (Ubuntu): \< 4.4.0-262.296 \| \< 4.15.0-232.244 \| \< 5.4.0-171.189 \| \< 5.15.0-94.104
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1139.145 \| \< 4.4.0-1177.192 \| \< 4.15.0-1176.189 \| \< 5.4.0-1118.128 \| \< 5.15.0-1053.58
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1053.58~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1118.128~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2114.120 \| All versions (No fix recorded) \| \< 5.4.0-1118.128+fips1 \| \< 5.15.0-1053.58+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1176.189~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1184.199~14.04.1 \| \< 4.15.0-1184.199~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1123.130 \| \< 5.15.0-1056.64
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1184.199
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/65d34cfd4e347054eb4193bc95d9da7eaa72dee5>
- <https://git.kernel.org/stable/c/db9aafa19547833240f58c2998aed7baf414dc82>
- <https://git.kernel.org/stable/c/616761cf9df9af838c0a1a1232a69322a9eb67e6>
- <https://git.kernel.org/stable/c/6f6fa8061f756aedb93af12a8a5d3cf659127965>
- <https://git.kernel.org/stable/c/105abd68ad8f781985113aee2e92e0702b133705>
- <https://git.kernel.org/stable/c/3971442870713de527684398416970cf025b4f89>
- <https://ubuntu.com/security/CVE-2023-52509>
- <https://git.kernel.org/linus/3971442870713de527684398416970cf025b4f89>
- <https://www.cve.org/CVERecord?id=CVE-2023-52509>
- <https://ubuntu.com/security/notices/USN-7183-1>
- <https://ubuntu.com/security/notices/USN-7184-1>
- <https://ubuntu.com/security/notices/USN-7185-1>
- <https://ubuntu.com/security/notices/USN-7185-2>
- <https://security-tracker.debian.org/tracker/CVE-2023-52509>

---

Data as of 2026-12-05T04:23:53.008Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
