vulnerability
Ubuntu: (Multiple Advisories) (CVE-2023-52509): Linux kernel vulnerabilities
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 7 | (AV:L/AC:L/Au:S/C:C/I:C/A:C) | Mar 2, 2024 | Nov 19, 2024 | Mar 27, 2026 |
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().
Solutions
References
- CVE-2023-52509
- https://attackerkb.com/topics/CVE-2023-52509
- CWE-416
- EUVD-EUVD-2023-57134
- UBUNTU-USN-7183-1
- UBUNTU-USN-7184-1
- UBUNTU-USN-7185-1
- UBUNTU-USN-7185-2
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-57134
- https://git.kernel.org/linus/3971442870713de527684398416970cf025b4f89
- https://www.cve.org/CVERecord?id=CVE-2023-52509
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.