8.4

CVE-2023-52629: sh: push-switch: Reorder cleanup operations to avoid use-after-free bug

Modified
AliasesUBUNTU-CVE-2023-52629DEBIAN-CVE-2023-52629
Published 29-03-2024Last modified 03-10-2026

Vulnerability summary

CVE-2023-52629 is a high (CVSS 8.4) Use After Free vulnerability in linux. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 16.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.4, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.4/10
010
High · v3.1 (CVE.org)
EPSS score
0.25%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 13 · Related 13

Timeline

  1. 29-03-2024
    PublishedVulnerability first disclosed.
  2. 03-10-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: sh: push-switch: Reorder cleanup operations to avoid use-after-free bug The original code puts flush_work() before timer_shutdown_sync() in switch_drv_remove(). Although we use flush_work() to stop the worker, it could be rescheduled in switch_timer(). As a result, a use-after-free bug can occur. The details are shown below: (cpu 0) | (cpu 1) switch_drv_remove() | flush_work() | ... | switch_timer // timer | schedule_work(&psw->work) timer_shutdown_sync() | ... | switch_work_handler // worker kfree(psw) // free | | psw->state = 0 // use This patch puts timer_shutdown_sync() before flush_work() to mitigate the bugs. As a result, the worker and timer will be stopped safely before the deallocate operations.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.25%

Chance of exploitation in the next 30 days

Percentile

17%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.25% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu114 products
  • linuxAll versions (No fix recorded) | < 4.4.0-258.292 | < 4.15.0-228.240 | < 5.4.0-193.213 | < 5.15.0-119.129
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 4.4.0-1135.141 | < 4.4.0-1173.188 | < 4.15.0-1172.185 | < 5.4.0-1131.141 | < 5.15.0-1068.74
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 9f5e8eee5cfe1328660c71812d87c2a67bda389f, < ff635d1f143b55fa005e9e43b16e6d8f677e90a5 | ≥ 9f5e8eee5cfe1328660c71812d87c2a67bda389f, < 610dbd8ac271aa36080aac50b928d700ee3fe4de | ≥ 9f5e8eee5cfe1328660c71812d87c2a67bda389f, < 246f80a0b17f8f582b2c0996db02998239057c65 | 2.6.20
  • linux_kernel≥ 2.6.20, < 6.5.4
Debian1 product
  • linuxAll versions (No fix recorded) | < 6.1.190-1 | < 6.5.6-1

3 vendors · 117 products

References

20 links
Show all 20 references