{"id":"CVE-2023-52509","aliases":["CVE-2023-52509"],"related":[],"kind":"vulnerability","state":"published","title":"ravb: Fix use-after-free issue in ravb_tx_timeout_work()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nravb: Fix use-after-free issue in ravb_tx_timeout_work()\n\nThe ravb_stop() should call cancel_work_sync(). Otherwise,\nravb_tx_timeout_work() is possible to use the freed priv after\nravb_remove() was called like below:\n\nCPU0\t\t\tCPU1\n\t\t\travb_tx_timeout()\nravb_remove()\nunregister_netdev()\nfree_netdev(ndev)\n// free priv\n\t\t\travb_tx_timeout_work()\n\t\t\t// use priv\n\nunregister_netdev() will call .ndo_stop() so that ravb_stop() is\ncalled. And, after phy_stop() is called, netif_carrier_off()\nis also called. So that .ndo_tx_timeout() will not be called\nafter phy_stop().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nravb: Fix use-after-free issue in ravb_tx_timeout_work()\n\nThe ravb_stop() should call cancel_work_sync(). Otherwise,\nravb_tx_timeout_work() is possible to use the freed priv after\nravb_remove() was called like below:\n\nCPU0\t\t\tCPU1\n\t\t\travb_tx_timeout()\nravb_remove()\nunregister_netdev()\nfree_netdev(ndev)\n// free priv\n\t\t\travb_tx_timeout_work()\n\t\t\t// use priv\n\nunregister_netdev() will call .ndo_stop() so that ravb_stop() is\ncalled. And, after phy_stop() is called, netif_carrier_off()\nis also called. So that .ndo_tx_timeout() will not be called\nafter phy_stop().","source":"cvelist"},{"lang":"es","text":"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().","source":"nvd"}],"published":"2024-03-02T21:52:22.006Z","modified":"2026-08-05T09:10:18.221Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"c156633f1353264634135dea86ffcae74f2122fc","fixed":"65d34cfd4e347054eb4193bc95d9da7eaa72dee5","status":"affected"},{"type":"git","introduced":"c156633f1353264634135dea86ffcae74f2122fc","fixed":"db9aafa19547833240f58c2998aed7baf414dc82","status":"affected"},{"type":"git","introduced":"c156633f1353264634135dea86ffcae74f2122fc","fixed":"616761cf9df9af838c0a1a1232a69322a9eb67e6","status":"affected"},{"type":"git","introduced":"c156633f1353264634135dea86ffcae74f2122fc","fixed":"6f6fa8061f756aedb93af12a8a5d3cf659127965","status":"affected"},{"type":"git","introduced":"c156633f1353264634135dea86ffcae74f2122fc","fixed":"105abd68ad8f781985113aee2e92e0702b133705","status":"affected"},{"type":"git","introduced":"c156633f1353264634135dea86ffcae74f2122fc","fixed":"3971442870713de527684398416970cf025b4f89","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.2","status":"unaffected"},{"type":"semver","introduced":"5.4.259","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.199","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.136","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.59","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.5.8","lastAffected":"6.5.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.6","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.2","fixed":"5.4.259"},{"status":"affected","introduced":"5.5","fixed":"5.10.199"},{"status":"affected","introduced":"5.11","fixed":"5.15.136"},{"status":"affected","introduced":"5.16","fixed":"6.1.59"},{"status":"affected","introduced":"6.2","fixed":"6.5.8"},{"status":"affected","version":"6.6"},{"status":"affected","version":"6.6"},{"status":"affected","version":"6.6"},{"status":"affected","version":"6.6"},{"status":"affected","version":"6.6"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/65d34cfd4e347054eb4193bc95d9da7eaa72dee5","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/db9aafa19547833240f58c2998aed7baf414dc82","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/616761cf9df9af838c0a1a1232a69322a9eb67e6","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6f6fa8061f756aedb93af12a8a5d3cf659127965","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/105abd68ad8f781985113aee2e92e0702b133705","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3971442870713de527684398416970cf025b4f89","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-07-24T20:38:43.674Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52509","url":"https://www.cve.org/CVERecord?id=CVE-2023-52509","licence":"CVE Terms of Use","modified":"2026-08-05T09:10:18.221Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52509","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52509","licence":"Public domain","modified":"2026-08-04T10:18:30.977Z"}],"updatedAt":"2026-11-25T22:58:33.156Z","epss":{"score":0.00244,"percentile":0.16745,"date":"2026-12-01T12:00:22.000Z"}}