CVE-2023-52629
published high CVSS 3.1 · 8.4sh: push-switch: Reorder cleanup operations to avoid use-after-free bug
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux9f5e8eee5cfe1328660c71812d87c2a67bda389f to < ff635d1f143b55fa005e9e43b16e6d8f677e90a5 · 9f5e8eee5cfe1328660c71812d87c2a67bda389f to < 610dbd8ac271aa36080aac50b928d700ee3fe4de · 9f5e8eee5cfe1328660c71812d87c2a67bda389f to < 246f80a0b17f8f582b2c0996db02998239057c65 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.20 (affected) · 0 to < 2.6.20 (unaffected · semver) · 6.1.189 through 6.1.* (unaffected · semver) · 6.5.4 through 6.5.* (unaffected · semver) · 6.6 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| linux | — | linux_kernel9f5e8eee5cfe to < 610dbd8ac271 (affected · custom) · 9f5e8eee5cfe to < 246f80a0b17f (affected · custom) · 2.6.20 (affected) · 0 to < 2.6.20 (unaffected · custom) · 6.54 through 6.6 (unaffected · custom) · 0 through 6.6 (unaffected · custom) · Other versions: unknown | Version-specific | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.190-1 | DLA-4841-1 |
| Ubuntu | bionic | block-modules-4.15.0-228-generic-di | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | block-modules-5.4.0-193-generic-di | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | bionic | crypto-modules-4.15.0-228-generic-di | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | crypto-modules-5.4.0-193-generic-di | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | dasd-extra-modules-4.15.0-228-generic-di | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | dasd-extra-modules-5.4.0-193-generic-di | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | dasd-modules-4.15.0-228-generic-di | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | dasd-modules-5.4.0-193-generic-di | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | fat-modules-4.15.0-228-generic-di | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | fat-modules-5.4.0-193-generic-di | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | fb-modules-4.15.0-228-generic-di | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | fb-modules-5.4.0-193-generic-di | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | firewire-core-modules-4.15.0-228-generic-di | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | firewire-core-modules-5.4.0-193-generic-di | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | floppy-modules-4.15.0-228-generic-di | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | floppy-modules-5.4.0-193-generic-di | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | fs-core-modules-4.15.0-228-generic-di | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | fs-core-modules-5.4.0-193-generic-di | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | fs-secondary-modules-4.15.0-228-generic-di | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | fs-secondary-modules-5.4.0-193-generic-di | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | input-modules-4.15.0-228-generic-di | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | input-modules-5.4.0-193-generic-di | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | ipmi-modules-4.15.0-228-generic-di | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | ipmi-modules-5.4.0-193-generic-di | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | irda-modules-4.15.0-228-generic-di | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | kernel-image-4.15.0-228-generic-di | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | kernel-image-5.4.0-193-generic-di | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | linux | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | linux-aws | Advisory build | 4.15.0-1172.185 | USN-6972-2 |
| Ubuntu | bionic | linux-aws-5.4 | Advisory build | 5.4.0-1131.141~18.04.1 | USN-6973-3 |
| Ubuntu | bionic | linux-aws-5.4-cloud-tools-5.4.0-1131 | Advisory build | 5.4.0-1131.141~18.04.1 | USN-6973-3 |
| Ubuntu | bionic | linux-aws-5.4-headers-5.4.0-1131 | Advisory build | 5.4.0-1131.141~18.04.1 | USN-6973-3 |
| Ubuntu | bionic | linux-aws-5.4-tools-5.4.0-1131 | Advisory build | 5.4.0-1131.141~18.04.1 | USN-6973-3 |
| Ubuntu | bionic | linux-aws-cloud-tools-4.15.0-1172 | Advisory build | 4.15.0-1172.185 | USN-6972-2 |
| Ubuntu | bionic | linux-aws-headers-4.15.0-1172 | Advisory build | 4.15.0-1172.185 | USN-6972-2 |
| Ubuntu | bionic | linux-aws-tools-4.15.0-1172 | Advisory build | 4.15.0-1172.185 | USN-6972-2 |
| Ubuntu | bionic | linux-azure-4.15 | Advisory build | 4.15.0-1180.195 | USN-6972-3 |
| Ubuntu | bionic | linux-azure-4.15-cloud-tools-4.15.0-1180 | Advisory build | 4.15.0-1180.195 | USN-6972-3 |
| Ubuntu | bionic | linux-azure-4.15-headers-4.15.0-1180 | Advisory build | 4.15.0-1180.195 | USN-6972-3 |
| Ubuntu | bionic | linux-azure-4.15-tools-4.15.0-1180 | Advisory build | 4.15.0-1180.195 | USN-6972-3 |
| Ubuntu | bionic | linux-azure-5.4 | Advisory build | 5.4.0-1136.143~18.04.1 | USN-6973-2 |
| Ubuntu | bionic | linux-azure-5.4-cloud-tools-5.4.0-1136 | Advisory build | 5.4.0-1136.143~18.04.1 | USN-6973-2 |
| Ubuntu | bionic | linux-azure-5.4-headers-5.4.0-1136 | Advisory build | 5.4.0-1136.143~18.04.1 | USN-6973-2 |
| Ubuntu | bionic | linux-azure-5.4-tools-5.4.0-1136 | Advisory build | 5.4.0-1136.143~18.04.1 | USN-6973-2 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-1134-oracle | Advisory build | 4.15.0-1134.145 | USN-6972-4 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-1155-kvm | Advisory build | 4.15.0-1155.160 | USN-6972-1 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-1165-gcp | Advisory build | 4.15.0-1165.182 | USN-6972-1 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-1172-aws | Advisory build | 4.15.0-1172.185 | USN-6972-2 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-1180-azure | Advisory build | 4.15.0-1180.195 | USN-6972-3 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-228-generic | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-228-lowlatency | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | linux-buildinfo-5.4.0-1078-ibm | Advisory build | 5.4.0-1078.83~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | linux-buildinfo-5.4.0-1115-raspi | Advisory build | 5.4.0-1115.127~18.04.1 | USN-6973-4 |
| Ubuntu | bionic | linux-buildinfo-5.4.0-1130-oracle | Advisory build | 5.4.0-1130.139~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | linux-buildinfo-5.4.0-1131-aws | Advisory build | 5.4.0-1131.141~18.04.1 | USN-6973-3 |
| Ubuntu | bionic | linux-buildinfo-5.4.0-1135-gcp | Advisory build | 5.4.0-1135.144~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | linux-buildinfo-5.4.0-1136-azure | Advisory build | 5.4.0-1136.143~18.04.1 | USN-6973-2 |
| Ubuntu | bionic | linux-buildinfo-5.4.0-193-generic | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | linux-buildinfo-5.4.0-193-lowlatency | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | linux-cloud-tools-4.15.0-1172-aws | Advisory build | 4.15.0-1172.185 | USN-6972-2 |
| Ubuntu | bionic | linux-cloud-tools-4.15.0-1180-azure | Advisory build | 4.15.0-1180.195 | USN-6972-3 |
| Ubuntu | bionic | linux-cloud-tools-4.15.0-228 | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | linux-cloud-tools-4.15.0-228-generic | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | linux-cloud-tools-4.15.0-228-lowlatency | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | linux-cloud-tools-5.4.0-1131-aws | Advisory build | 5.4.0-1131.141~18.04.1 | USN-6973-3 |
| Ubuntu | bionic | linux-cloud-tools-5.4.0-1136-azure | Advisory build | 5.4.0-1136.143~18.04.1 | USN-6973-2 |
| Ubuntu | bionic | linux-cloud-tools-5.4.0-193-generic | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | linux-cloud-tools-5.4.0-193-lowlatency | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | linux-cloud-tools-common | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | linux-gcp-4.15 | Advisory build | 4.15.0-1165.182 | USN-6972-1 |
| Ubuntu | bionic | linux-gcp-4.15-headers-4.15.0-1165 | Advisory build | 4.15.0-1165.182 | USN-6972-1 |
| Ubuntu | bionic | linux-gcp-4.15-tools-4.15.0-1165 | Advisory build | 4.15.0-1165.182 | USN-6972-1 |
| Ubuntu | bionic | linux-gcp-5.4 | Advisory build | 5.4.0-1135.144~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | linux-gcp-5.4-headers-5.4.0-1135 | Advisory build | 5.4.0-1135.144~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | linux-gcp-5.4-tools-5.4.0-1135 | Advisory build | 5.4.0-1135.144~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | linux-headers-4.15.0-1134-oracle | Advisory build | 4.15.0-1134.145 | USN-6972-4 |
| Ubuntu | bionic | linux-headers-4.15.0-1155-kvm | Advisory build | 4.15.0-1155.160 | USN-6972-1 |
| Ubuntu | bionic | linux-headers-4.15.0-1165-gcp | Advisory build | 4.15.0-1165.182 | USN-6972-1 |
| Ubuntu | bionic | linux-headers-4.15.0-1172-aws | Advisory build | 4.15.0-1172.185 | USN-6972-2 |
| Ubuntu | bionic | linux-headers-4.15.0-1180-azure | Advisory build | 4.15.0-1180.195 | USN-6972-3 |
| Ubuntu | bionic | linux-headers-4.15.0-228 | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | linux-headers-4.15.0-228-generic | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | linux-headers-4.15.0-228-lowlatency | Advisory build | 4.15.0-228.240 | USN-6972-1 |
| Ubuntu | bionic | linux-headers-5.4.0-1078-ibm | Advisory build | 5.4.0-1078.83~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | linux-headers-5.4.0-1115-raspi | Advisory build | 5.4.0-1115.127~18.04.1 | USN-6973-4 |
| Ubuntu | bionic | linux-headers-5.4.0-1130-oracle | Advisory build | 5.4.0-1130.139~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | linux-headers-5.4.0-1131-aws | Advisory build | 5.4.0-1131.141~18.04.1 | USN-6973-3 |
| Ubuntu | bionic | linux-headers-5.4.0-1135-gcp | Advisory build | 5.4.0-1135.144~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | linux-headers-5.4.0-1136-azure | Advisory build | 5.4.0-1136.143~18.04.1 | USN-6973-2 |
| Ubuntu | bionic | linux-headers-5.4.0-193-generic | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | linux-headers-5.4.0-193-lowlatency | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | linux-hwe-5.4 | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | linux-hwe-5.4-cloud-tools-5.4.0-193 | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | linux-hwe-5.4-cloud-tools-common | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | linux-hwe-5.4-headers-5.4.0-193 | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | linux-hwe-5.4-source-5.4.0 | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | linux-hwe-5.4-tools-5.4.0-193 | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | linux-hwe-5.4-tools-common | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
| Ubuntu | bionic | linux-hwe-5.4-udebs-generic | Advisory build | 5.4.0-193.213~18.04.1 | USN-6973-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 9f5e8eee5cfe1328660c71812d87c2a67bda389f to < ff635d1f143b55fa005e9e43b16e6d8f677e90a5 (affected · git)9f5e8eee5cfe1328660c71812d87c2a67bda389f to < 610dbd8ac271aa36080aac50b928d700ee3fe4de (affected · git)9f5e8eee5cfe1328660c71812d87c2a67bda389f to < 246f80a0b17f8f582b2c0996db02998239057c65 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.20 (affected)0 to < 2.6.20 (unaffected · semver)6.1.189 through 6.1.* (unaffected · semver)6.5.4 through 6.5.* (unaffected · semver)6.6 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
| linux | linux_kernel | 9f5e8eee5cfe to < 610dbd8ac271 (affected · custom)9f5e8eee5cfe to < 246f80a0b17f (affected · custom)2.6.20 (affected)0 to < 2.6.20 (unaffected · custom)6.54 through 6.6 (unaffected · custom)0 through 6.6 (unaffected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
3Provider assertions
3Linux · cna
sh: push-switch: Reorder cleanup operations to avoid use-after-free bug
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- de76efdec86ecfa8fd692f7ee82eb761b333cdf137acf87cf33f6aa52360a888
- Ingested
- 03 Oct 2026, 11:47:00 UTC
- Source record
- Official CVE record