{"id":"CVE-2023-52509","title":"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()","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…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-416"],"vendor":"linux","product":"linux_kernel","affected":["linux_kernel >= 4.2, < 5.4.259","linux_kernel >= 5.5, < 5.10.199","linux_kernel >= 5.11, < 5.15.136","linux_kernel >= 5.16, < 6.1.59","linux_kernel >= 6.2, < 6.5.8","linux_kernel = 6.6"],"patched":["linux_kernel 6.5.8"],"published":"2024-03-02","updated":"2026-08-04","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2023-52509","references":[{"url":"https://git.kernel.org/stable/c/105abd68ad8f781985113aee2e92e0702b133705","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/3971442870713de527684398416970cf025b4f89","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/616761cf9df9af838c0a1a1232a69322a9eb67e6","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/65d34cfd4e347054eb4193bc95d9da7eaa72dee5","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/6f6fa8061f756aedb93af12a8a5d3cf659127965","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/db9aafa19547833240f58c2998aed7baf414dc82","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/105abd68ad8f781985113aee2e92e0702b133705","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/3971442870713de527684398416970cf025b4f89","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/616761cf9df9af838c0a1a1232a69322a9eb67e6","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/65d34cfd4e347054eb4193bc95d9da7eaa72dee5","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/6f6fa8061f756aedb93af12a8a5d3cf659127965","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/db9aafa19547833240f58c2998aed7baf414dc82","label":"af854a3a-2127-422b-91ae-364da2661108"}],"tags":["nvd"],"epss":0.00244,"epssPercentile":0.15919,"ingestedAt":"2026-08-04T10:39:40.040Z","slug":"CVE-2023-52509","body":"## Overview\n\nIn 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().\n\n## Affected\n\n- `linux_kernel >= 4.2, < 5.4.259`\n- `linux_kernel >= 5.5, < 5.10.199`\n- `linux_kernel >= 5.11, < 5.15.136`\n- `linux_kernel >= 5.16, < 6.1.59`\n- `linux_kernel >= 6.2, < 6.5.8`\n- `linux_kernel = 6.6`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `linux_kernel 6.5.8`","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}