CVE-2024-38667
publishedriscv: prevent pt_regs corruption for secondary idle threads
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux2875fe0561569f82d0e63658ccf0d11ce7da8922 to < ea22d4195cca13d5fdbc4d6555a2dfb8a7867a9e · 2875fe0561569f82d0e63658ccf0d11ce7da8922 to < 3090c06d50eaa91317f84bf3eac4c265e6cb8d44 · 2875fe0561569f82d0e63658ccf0d11ce7da8922 to < 0c1f28c32a194303da630fca89481334b9547b80 · 2875fe0561569f82d0e63658ccf0d11ce7da8922 to < a638b0461b58aa3205cd9d5f14d6f703d795b4af · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.7 (affected) · 0 to < 5.7 (unaffected · semver) · 6.1.93 through 6.1.* (unaffected · semver) · 6.6.33 through 6.6.* (unaffected · semver) · 6.9.4 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | focal | linux-aws-5.15 | Advisory build | 5.15.0-1073.79~20.04.1 | USN-7166-2 |
| Ubuntu | focal | linux-aws-5.15-cloud-tools-5.15.0-1073 | Advisory build | 5.15.0-1073.79~20.04.1 | USN-7166-2 |
| Ubuntu | focal | linux-aws-5.15-headers-5.15.0-1073 | Advisory build | 5.15.0-1073.79~20.04.1 | USN-7166-2 |
| Ubuntu | focal | linux-aws-5.15-tools-5.15.0-1073 | Advisory build | 5.15.0-1073.79~20.04.1 | USN-7166-2 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | focal | linux-azure-5.15 | Advisory build | 5.15.0-1078.87~20.04.1 | USN-7194-1 |
| Ubuntu | focal | linux-azure-5.15-cloud-tools-5.15.0-1078 | Advisory build | 5.15.0-1078.87~20.04.1 | USN-7194-1 |
| Ubuntu | focal | linux-azure-5.15-headers-5.15.0-1078 | Advisory build | 5.15.0-1078.87~20.04.1 | USN-7194-1 |
| Ubuntu | focal | linux-azure-5.15-tools-5.15.0-1078 | Advisory build | 5.15.0-1078.87~20.04.1 | USN-7194-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1066-ibm | Advisory build | 5.15.0-1066.69~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1071-intel-iotg | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7186-2 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1071-oracle | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1072-gcp | Advisory build | 5.15.0-1072.80~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1073-aws | Advisory build | 5.15.0-1073.79~20.04.1 | USN-7166-2 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1078-azure | Advisory build | 5.15.0-1078.87~20.04.1 | USN-7194-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-127-generic | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-3 |
| Ubuntu | focal | linux-buildinfo-5.15.0-127-generic-64k | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-3 |
| Ubuntu | focal | linux-buildinfo-5.15.0-127-generic-lpae | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-3 |
| Ubuntu | focal | linux-buildinfo-5.15.0-127-lowlatency | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-127-lowlatency-64k | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1071-intel-iotg | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7186-2 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1073-aws | Advisory build | 5.15.0-1073.79~20.04.1 | USN-7166-2 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1078-azure | Advisory build | 5.15.0-1078.87~20.04.1 | USN-7194-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-127-generic | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-3 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-127-lowlatency | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-gcp-5.15 | Advisory build | 5.15.0-1072.80~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-gcp-5.15-headers-5.15.0-1072 | Advisory build | 5.15.0-1072.80~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-gcp-5.15-tools-5.15.0-1072 | Advisory build | 5.15.0-1072.80~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-headers-5.15.0-1066-ibm | Advisory build | 5.15.0-1066.69~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-headers-5.15.0-1071-intel-iotg | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7186-2 |
| Ubuntu | focal | linux-headers-5.15.0-1071-oracle | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-headers-5.15.0-1072-gcp | Advisory build | 5.15.0-1072.80~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-headers-5.15.0-1073-aws | Advisory build | 5.15.0-1073.79~20.04.1 | USN-7166-2 |
| Ubuntu | focal | linux-headers-5.15.0-1078-azure | Advisory build | 5.15.0-1078.87~20.04.1 | USN-7194-1 |
| Ubuntu | focal | linux-headers-5.15.0-127-generic | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-3 |
| Ubuntu | focal | linux-headers-5.15.0-127-generic-64k | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-3 |
| Ubuntu | focal | linux-headers-5.15.0-127-generic-lpae | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-3 |
| Ubuntu | focal | linux-headers-5.15.0-127-lowlatency | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-headers-5.15.0-127-lowlatency-64k | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-hwe-5.15 | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-3 |
| Ubuntu | focal | linux-hwe-5.15-cloud-tools-5.15.0-127 | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-3 |
| Ubuntu | focal | linux-hwe-5.15-headers-5.15.0-127 | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-3 |
| Ubuntu | focal | linux-hwe-5.15-tools-5.15.0-127 | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-3 |
| Ubuntu | focal | linux-ibm-5.15 | Advisory build | 5.15.0-1066.69~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-ibm-5.15-headers-5.15.0-1066 | Advisory build | 5.15.0-1066.69~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-ibm-5.15-source-5.15.0 | Advisory build | 5.15.0-1066.69~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-ibm-5.15-tools-5.15.0-1066 | Advisory build | 5.15.0-1066.69~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-image-5.15.0-127-generic | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-3 |
| Ubuntu | focal | linux-image-5.15.0-127-generic-lpae | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-3 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1066-ibm | Advisory build | 5.15.0-1066.69~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1071-intel-iotg | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7186-2 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1071-oracle | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1072-gcp | Advisory build | 5.15.0-1072.80~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1073-aws | Advisory build | 5.15.0-1073.79~20.04.1 | USN-7166-2 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1078-azure | Advisory build | 5.15.0-1078.87~20.04.1 | USN-7194-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-127-generic | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-3 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-127-generic-64k | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-3 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-127-lowlatency | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-127-lowlatency-64k | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-intel-iotg-5.15 | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7186-2 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-5.15.0-1071 | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7186-2 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-common | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7186-2 |
| Ubuntu | focal | linux-intel-iotg-5.15-headers-5.15.0-1071 | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7186-2 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-5.15.0-1071 | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7186-2 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-common | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7186-2 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-host | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7186-2 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15 | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-127 | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-headers-5.15.0-127 | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-tools-5.15.0-127 | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-modules-5.15.0-1066-ibm | Advisory build | 5.15.0-1066.69~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-modules-5.15.0-1071-intel-iotg | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7186-2 |
| Ubuntu | focal | linux-modules-5.15.0-1071-oracle | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-modules-5.15.0-1072-gcp | Advisory build | 5.15.0-1072.80~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-modules-5.15.0-1073-aws | Advisory build | 5.15.0-1073.79~20.04.1 | USN-7166-2 |
| Ubuntu | focal | linux-modules-5.15.0-1078-azure | Advisory build | 5.15.0-1078.87~20.04.1 | USN-7194-1 |
| Ubuntu | focal | linux-modules-5.15.0-127-generic | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-3 |
| Ubuntu | focal | linux-modules-5.15.0-127-generic-64k | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-3 |
| Ubuntu | focal | linux-modules-5.15.0-127-generic-lpae | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-3 |
| Ubuntu | focal | linux-modules-5.15.0-127-lowlatency | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-modules-5.15.0-127-lowlatency-64k | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1066-ibm | Advisory build | 5.15.0-1066.69~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1071-intel-iotg | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7186-2 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1071-oracle | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1072-gcp | Advisory build | 5.15.0-1072.80~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1073-aws | Advisory build | 5.15.0-1073.79~20.04.1 | USN-7166-2 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1078-azure | Advisory build | 5.15.0-1078.87~20.04.1 | USN-7194-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-127-generic | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-3 |
| Ubuntu | focal | linux-modules-involflt-5.15.0-1078-azure | Advisory build | 5.15.0-1078.87~20.04.1 | USN-7194-1 |
| Ubuntu | focal | linux-modules-iwlwifi-5.15.0-1071-intel-iotg | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7186-2 |
| Ubuntu | focal | linux-modules-iwlwifi-5.15.0-1072-gcp | Advisory build | 5.15.0-1072.80~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-modules-iwlwifi-5.15.0-127-generic | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-3 |
| Ubuntu | focal | linux-modules-iwlwifi-5.15.0-127-lowlatency | Advisory build | 5.15.0-127.137~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-oracle-5.15 | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-oracle-5.15-headers-5.15.0-1071 | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-oracle-5.15-tools-5.15.0-1071 | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-tools-5.15.0-1066-ibm | Advisory build | 5.15.0-1066.69~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-tools-5.15.0-1071-intel-iotg | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7186-2 |
| Ubuntu | focal | linux-tools-5.15.0-1071-oracle | Advisory build | 5.15.0-1071.77~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-tools-5.15.0-1072-gcp | Advisory build | 5.15.0-1072.80~20.04.1 | USN-7166-1 |
| Ubuntu | focal | linux-tools-5.15.0-1073-aws | Advisory build | 5.15.0-1073.79~20.04.1 | USN-7166-2 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: riscv: prevent pt_regs corruption for secondary idle threads Top of the kernel thread stack should be reserved for pt_regs. However this is not the case for the idle threads of the secondary boot harts. Their stacks overlap with their pt_regs, so both may get corrupted. Similar issue has been fixed for the primary hart, see c7cdd96eca28 ("riscv: prevent stack corruption by reserving task_pt_regs(p) early"). However that fix was not propagated to the secondary harts. The problem has been noticed in some CPU hotplug tests with V enabled. The function smp_callin stored several registers on stack, corrupting top of pt_regs structure including status field. As a result, kernel attempted to save or restore inexistent V context.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 2875fe0561569f82d0e63658ccf0d11ce7da8922 to < ea22d4195cca13d5fdbc4d6555a2dfb8a7867a9e (affected · git)2875fe0561569f82d0e63658ccf0d11ce7da8922 to < 3090c06d50eaa91317f84bf3eac4c265e6cb8d44 (affected · git)2875fe0561569f82d0e63658ccf0d11ce7da8922 to < 0c1f28c32a194303da630fca89481334b9547b80 (affected · git)2875fe0561569f82d0e63658ccf0d11ce7da8922 to < a638b0461b58aa3205cd9d5f14d6f703d795b4af (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.7 (affected)0 to < 5.7 (unaffected · semver)6.1.93 through 6.1.* (unaffected · semver)6.6.33 through 6.6.* (unaffected · semver)6.9.4 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
3Linux · cna
riscv: prevent pt_regs corruption for secondary idle threads
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8a86896746896478a7563637aacbf36d82f1ab38efc8ba99a6eeab7666b6b721
- Ingested
- 23 Sep 2026, 08:25:04 UTC
- Source record
- Official CVE record