CVE-2023-52509

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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
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:*:*:*:*:*:*

History

11 Dec 2024, 15:07

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/105abd68ad8f781985113aee2e92e0702b133705 - () https://git.kernel.org/stable/c/105abd68ad8f781985113aee2e92e0702b133705 - Patch
References () https://git.kernel.org/stable/c/3971442870713de527684398416970cf025b4f89 - () https://git.kernel.org/stable/c/3971442870713de527684398416970cf025b4f89 - Patch
References () https://git.kernel.org/stable/c/616761cf9df9af838c0a1a1232a69322a9eb67e6 - () https://git.kernel.org/stable/c/616761cf9df9af838c0a1a1232a69322a9eb67e6 - Patch
References () https://git.kernel.org/stable/c/65d34cfd4e347054eb4193bc95d9da7eaa72dee5 - () https://git.kernel.org/stable/c/65d34cfd4e347054eb4193bc95d9da7eaa72dee5 - Patch
References () https://git.kernel.org/stable/c/6f6fa8061f756aedb93af12a8a5d3cf659127965 - () https://git.kernel.org/stable/c/6f6fa8061f756aedb93af12a8a5d3cf659127965 - Patch
References () https://git.kernel.org/stable/c/db9aafa19547833240f58c2998aed7baf414dc82 - () https://git.kernel.org/stable/c/db9aafa19547833240f58c2998aed7baf414dc82 - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CPE cpe:2.3:o:linux:linux_kernel:6.6:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.6:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.6:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.6:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.6:rc1:*:*:*:*:*:*
First Time Linux
Linux linux Kernel
CWE CWE-416

21 Nov 2024, 08:39

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/105abd68ad8f781985113aee2e92e0702b133705 - () https://git.kernel.org/stable/c/105abd68ad8f781985113aee2e92e0702b133705 -
References () https://git.kernel.org/stable/c/3971442870713de527684398416970cf025b4f89 - () https://git.kernel.org/stable/c/3971442870713de527684398416970cf025b4f89 -
References () https://git.kernel.org/stable/c/616761cf9df9af838c0a1a1232a69322a9eb67e6 - () https://git.kernel.org/stable/c/616761cf9df9af838c0a1a1232a69322a9eb67e6 -
References () https://git.kernel.org/stable/c/65d34cfd4e347054eb4193bc95d9da7eaa72dee5 - () https://git.kernel.org/stable/c/65d34cfd4e347054eb4193bc95d9da7eaa72dee5 -
References () https://git.kernel.org/stable/c/6f6fa8061f756aedb93af12a8a5d3cf659127965 - () https://git.kernel.org/stable/c/6f6fa8061f756aedb93af12a8a5d3cf659127965 -
References () https://git.kernel.org/stable/c/db9aafa19547833240f58c2998aed7baf414dc82 - () https://git.kernel.org/stable/c/db9aafa19547833240f58c2998aed7baf414dc82 -
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ravb: soluciona el problema de Use After Free en ravb_tx_timeout_work(). Ravb_stop() debería llamar a cancel_work_sync(). De lo contrario, ravb_tx_timeout_work() es posible usar el privilegio liberado después de que se llamó a ravb_remove() como se muestra a continuación: CPU0 CPU1 ravb_tx_timeout() ravb_remove() unregister_netdev() free_netdev(ndev) // priv libre ravb_tx_timeout_work() // usa priv unregister_netdev() llamará a .ndo_stop() para que se llame a ravb_stop(). Y, después de llamar a phy_stop(), también se llama a netif_carrier_off(). De modo que .ndo_tx_timeout() no será llamado después de phy_stop().

02 Mar 2024, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-03-02 22:15

Updated : 2024-12-11 15:07


NVD link : CVE-2023-52509

Mitre link : CVE-2023-52509

CVE.ORG link : CVE-2023-52509


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free