CVE-2023-52509

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
02/03/2024
Last modified:
11/12/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ravb: Fix use-after-free issue in ravb_tx_timeout_work()<br /> <br /> The ravb_stop() should call cancel_work_sync(). Otherwise,<br /> ravb_tx_timeout_work() is possible to use the freed priv after<br /> ravb_remove() was called like below:<br /> <br /> CPU0 CPU1<br /> ravb_tx_timeout()<br /> ravb_remove()<br /> unregister_netdev()<br /> free_netdev(ndev)<br /> // free priv<br /> ravb_tx_timeout_work()<br /> // use priv<br /> <br /> unregister_netdev() will call .ndo_stop() so that ravb_stop() is<br /> called. And, after phy_stop() is called, netif_carrier_off()<br /> is also called. So that .ndo_tx_timeout() will not be called<br /> after phy_stop().

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.2 (including) 5.4.259 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5 (including) 5.10.199 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.136 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 6.1.59 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.5.8 (excluding)
cpe:2.3:o:linux:linux_kernel:6.6:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.6:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.6:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.6:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.6:rc5:*:*:*:*:*:*