{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-52629","published":"2024-03-29T10:15:09.327000Z","last_modified":"2026-10-03T11:17:26.973000Z","status":"Modified","cvss":{"version":"3.1","score":8.4,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":true,"cwes":["CWE-416"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"2.6.20","version_end_excluding":"6.5.4"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.00337,"percentile":0.19663,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":50,"links":{"html_es":"/es/cve/CVE-2023-52629/","html_en":"/en/cve/CVE-2023-52629/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-52629","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-52629"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nsh: push-switch: Reorder cleanup operations to avoid use-after-free bug\n\nThe original code puts flush_work() before timer_shutdown_sync()\nin switch_drv_remove(). Although we use flush_work() to stop\nthe worker, it could be rescheduled in switch_timer(). As a result,\na use-after-free bug can occur. The details are shown below:\n\n      (cpu 0)                    |      (cpu 1)\nswitch_drv_remove()              |\n flush_work()                    |\n  ...                            |  switch_timer // timer\n                                 |   schedule_work(&psw->work)\n timer_shutdown_sync()           |\n ...                             |  switch_work_handler // worker\n kfree(psw) // free              |\n                                 |   psw->state = 0 // use\n\nThis patch puts timer_shutdown_sync() before flush_work() to\nmitigate the bugs. As a result, the worker and timer will be\nstopped safely before the deallocate operations.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]},{"untrusted_vendor":"linux","untrusted_product":"linux_kernel","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/246f80a0b17f8f582b2c0996db02998239057c65","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/610dbd8ac271aa36080aac50b928d700ee3fe4de","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/ff635d1f143b55fa005e9e43b16e6d8f677e90a5","tags":[]}]}}