{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-52509","id":"CVE-2023-52509","title":"ravb: Fix use-after-free issue in ravb_tx_timeout_work()","description":"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_time","descriptionLong":"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().","published":"2024-03-02T21:52:22.006Z","updated":"2026-10-28T02:30:22.318559221Z","reserved":"2024-02-20T12:30:33.315Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c156633f1353264634135dea86ffcae74f2122fc","lessThan":"65d34cfd4e347054eb4193bc95d9da7eaa72dee5","status":"affected","versionType":"git"},{"version":"c156633f1353264634135dea86ffcae74f2122fc","lessThan":"db9aafa19547833240f58c2998aed7baf414dc82","status":"affected","versionType":"git"},{"version":"c156633f1353264634135dea86ffcae74f2122fc","lessThan":"616761cf9df9af838c0a1a1232a69322a9eb67e6","status":"affected","versionType":"git"},{"version":"c156633f1353264634135dea86ffcae74f2122fc","lessThan":"6f6fa8061f756aedb93af12a8a5d3cf659127965","status":"affected","versionType":"git"},{"version":"c156633f1353264634135dea86ffcae74f2122fc","lessThan":"105abd68ad8f781985113aee2e92e0702b133705","status":"affected","versionType":"git"},{"version":"c156633f1353264634135dea86ffcae74f2122fc","lessThan":"3971442870713de527684398416970cf025b4f89","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.2","status":"affected"},{"version":"0","lessThan":"4.2","status":"unaffected","versionType":"semver"},{"version":"5.4.259","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.199","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.136","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.59","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.5.8","lessThanOrEqual":"6.5.*","status":"unaffected","versionType":"semver"},{"version":"6.6","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/65d34cfd4e347054eb4193bc95d9da7eaa72dee5","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/db9aafa19547833240f58c2998aed7baf414dc82","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/616761cf9df9af838c0a1a1232a69322a9eb67e6","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/6f6fa8061f756aedb93af12a8a5d3cf659127965","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/105abd68ad8f781985113aee2e92e0702b133705","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/3971442870713de527684398416970cf025b4f89","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52509.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52509","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00244,"epssPercentile":0.15822,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-52509","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52509","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-52509","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-52509","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}