Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-35873

published

riscv: Fix vector state restore in rt_sigreturn()

Published
19 May 2024, 08:34:30 UTC
Updated
11 May 2026, 20:12:55 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxc2a658d419246108c9bf065ec347355de5ba8a05 to < 5b16d904e910183181b9d90efa957c787a8ac91b · c2a658d419246108c9bf065ec347355de5ba8a05 to < c27fa53b858b4ee6552a719aa599c250cf98a586 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.8.5 through 6.8.* (unaffected · semver) · 6.9 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 noble linux Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-aws Advisory build 6.8.0-1011.12 USN-6893-3
Ubuntu noble linux-aws-cloud-tools-6.8.0-1011 Advisory build 6.8.0-1011.12 USN-6893-3
Ubuntu noble linux-aws-headers-6.8.0-1011 Advisory build 6.8.0-1011.12 USN-6893-3
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu noble linux-aws-tools-6.8.0-1011 Advisory build 6.8.0-1011.12 USN-6893-3
Ubuntu noble linux-azure Advisory build 6.8.0-1010.10 USN-6893-1
Ubuntu noble linux-azure-cloud-tools-6.8.0-1010 Advisory build 6.8.0-1010.10 USN-6893-1
Ubuntu noble linux-azure-headers-6.8.0-1010 Advisory build 6.8.0-1010.10 USN-6893-1
Ubuntu noble linux-azure-tools-6.8.0-1010 Advisory build 6.8.0-1010.10 USN-6893-1
Ubuntu noble linux-buildinfo-6.8.0-1006-gke Advisory build 6.8.0-1006.9 USN-6893-2
Ubuntu noble linux-buildinfo-6.8.0-1007-intel Advisory build 6.8.0-1007.14 USN-6893-1
Ubuntu noble linux-buildinfo-6.8.0-1007-raspi Advisory build 6.8.0-1007.7 USN-6893-1
Ubuntu noble linux-buildinfo-6.8.0-1008-ibm Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-buildinfo-6.8.0-1008-oem Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-buildinfo-6.8.0-1008-oracle Advisory build 6.8.0-1008.8 USN-6918-1
Ubuntu noble linux-buildinfo-6.8.0-1008-oracle-64k Advisory build 6.8.0-1008.8 USN-6918-1
Ubuntu noble linux-buildinfo-6.8.0-1009-nvidia Advisory build 6.8.0-1009.9 USN-6893-2
Ubuntu noble linux-buildinfo-6.8.0-1009-nvidia-64k Advisory build 6.8.0-1009.9 USN-6893-2
Ubuntu noble linux-buildinfo-6.8.0-1010-azure Advisory build 6.8.0-1010.10 USN-6893-1
Ubuntu noble linux-buildinfo-6.8.0-1010-gcp Advisory build 6.8.0-1010.11 USN-6893-1
Ubuntu noble linux-buildinfo-6.8.0-1011-aws Advisory build 6.8.0-1011.12 USN-6893-3
Ubuntu noble linux-buildinfo-6.8.0-38-generic Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-buildinfo-6.8.0-38-generic-64k Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-buildinfo-6.8.0-38-lowlatency Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-buildinfo-6.8.0-38-lowlatency-64k Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-cloud-tools-6.8.0-1007-intel Advisory build 6.8.0-1007.14 USN-6893-1
Ubuntu noble linux-cloud-tools-6.8.0-1010-azure Advisory build 6.8.0-1010.10 USN-6893-1
Ubuntu noble linux-cloud-tools-6.8.0-1011-aws Advisory build 6.8.0-1011.12 USN-6893-3
Ubuntu noble linux-cloud-tools-6.8.0-38 Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-cloud-tools-6.8.0-38-generic Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-cloud-tools-6.8.0-38-lowlatency Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-cloud-tools-common Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-gcp Advisory build 6.8.0-1010.11 USN-6893-1
Ubuntu noble linux-gcp-headers-6.8.0-1010 Advisory build 6.8.0-1010.11 USN-6893-1
Ubuntu noble linux-gcp-tools-6.8.0-1010 Advisory build 6.8.0-1010.11 USN-6893-1
Ubuntu noble linux-gke Advisory build 6.8.0-1006.9 USN-6893-2
Ubuntu noble linux-gke-headers-6.8.0-1006 Advisory build 6.8.0-1006.9 USN-6893-2
Ubuntu noble linux-gke-tools-6.8.0-1006 Advisory build 6.8.0-1006.9 USN-6893-2
Ubuntu noble linux-headers-6.8.0-1006-gke Advisory build 6.8.0-1006.9 USN-6893-2
Ubuntu noble linux-headers-6.8.0-1007-intel Advisory build 6.8.0-1007.14 USN-6893-1
Ubuntu noble linux-headers-6.8.0-1007-raspi Advisory build 6.8.0-1007.7 USN-6893-1
Ubuntu noble linux-headers-6.8.0-1008-ibm Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-headers-6.8.0-1008-oem Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-headers-6.8.0-1008-oracle Advisory build 6.8.0-1008.8 USN-6918-1
Ubuntu noble linux-headers-6.8.0-1008-oracle-64k Advisory build 6.8.0-1008.8 USN-6918-1
Ubuntu noble linux-headers-6.8.0-1009-nvidia Advisory build 6.8.0-1009.9 USN-6893-2
Ubuntu noble linux-headers-6.8.0-1009-nvidia-64k Advisory build 6.8.0-1009.9 USN-6893-2
Ubuntu noble linux-headers-6.8.0-1010-azure Advisory build 6.8.0-1010.10 USN-6893-1
Ubuntu noble linux-headers-6.8.0-1010-gcp Advisory build 6.8.0-1010.11 USN-6893-1
Ubuntu noble linux-headers-6.8.0-1011-aws Advisory build 6.8.0-1011.12 USN-6893-3
Ubuntu noble linux-headers-6.8.0-38 Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-headers-6.8.0-38-generic Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-headers-6.8.0-38-generic-64k Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-headers-6.8.0-38-lowlatency Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-headers-6.8.0-38-lowlatency-64k Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-ibm Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-ibm-cloud-tools-common Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-ibm-headers-6.8.0-1008 Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-ibm-source-6.8.0 Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-ibm-tools-6.8.0-1008 Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-image-6.8.0-1007-raspi Advisory build 6.8.0-1007.7 USN-6893-1
Ubuntu noble linux-image-6.8.0-38-generic Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-image-unsigned-6.8.0-1006-gke Advisory build 6.8.0-1006.9 USN-6893-2
Ubuntu noble linux-image-unsigned-6.8.0-1007-intel Advisory build 6.8.0-1007.14 USN-6893-1
Ubuntu noble linux-image-unsigned-6.8.0-1008-ibm Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-image-unsigned-6.8.0-1008-oem Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-image-unsigned-6.8.0-1008-oracle Advisory build 6.8.0-1008.8 USN-6918-1
Ubuntu noble linux-image-unsigned-6.8.0-1008-oracle-64k Advisory build 6.8.0-1008.8 USN-6918-1
Ubuntu noble linux-image-unsigned-6.8.0-1009-nvidia Advisory build 6.8.0-1009.9 USN-6893-2
Ubuntu noble linux-image-unsigned-6.8.0-1009-nvidia-64k Advisory build 6.8.0-1009.9 USN-6893-2
Ubuntu noble linux-image-unsigned-6.8.0-1010-azure Advisory build 6.8.0-1010.10 USN-6893-1
Ubuntu noble linux-image-unsigned-6.8.0-1010-gcp Advisory build 6.8.0-1010.11 USN-6893-1
Ubuntu noble linux-image-unsigned-6.8.0-1011-aws Advisory build 6.8.0-1011.12 USN-6893-3
Ubuntu noble linux-image-unsigned-6.8.0-38-generic Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-image-unsigned-6.8.0-38-generic-64k Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-image-unsigned-6.8.0-38-lowlatency Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-image-unsigned-6.8.0-38-lowlatency-64k Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-intel Advisory build 6.8.0-1007.14 USN-6893-1
Ubuntu noble linux-intel-cloud-tools-6.8.0-1007 Advisory build 6.8.0-1007.14 USN-6893-1
Ubuntu noble linux-intel-headers-6.8.0-1007 Advisory build 6.8.0-1007.14 USN-6893-1
Ubuntu noble linux-intel-tools-6.8.0-1007 Advisory build 6.8.0-1007.14 USN-6893-1
Ubuntu noble linux-lib-rust-6.8.0-38-generic Advisory build 6.8.0-38.38 USN-6893-1
Ubuntu noble linux-lowlatency Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-lowlatency-cloud-tools-6.8.0-38 Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-lowlatency-cloud-tools-common Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-lowlatency-headers-6.8.0-38 Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-lowlatency-lib-rust-6.8.0-38-lowlatency Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-lowlatency-tools-6.8.0-38 Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-lowlatency-tools-common Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-lowlatency-tools-host Advisory build 6.8.0-38.38.1 USN-6893-1
Ubuntu noble linux-modules-6.8.0-1006-gke Advisory build 6.8.0-1006.9 USN-6893-2
Ubuntu noble linux-modules-6.8.0-1007-intel Advisory build 6.8.0-1007.14 USN-6893-1
Ubuntu noble linux-modules-6.8.0-1007-raspi Advisory build 6.8.0-1007.7 USN-6893-1
Ubuntu noble linux-modules-6.8.0-1008-ibm Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-modules-6.8.0-1008-oem Advisory build 6.8.0-1008.8 USN-6893-1
Ubuntu noble linux-modules-6.8.0-1008-oracle Advisory build 6.8.0-1008.8 USN-6918-1
Ubuntu noble linux-modules-6.8.0-1008-oracle-64k Advisory build 6.8.0-1008.8 USN-6918-1
Ubuntu noble linux-modules-6.8.0-1009-nvidia Advisory build 6.8.0-1009.9 USN-6893-2
Ubuntu noble linux-modules-6.8.0-1009-nvidia-64k Advisory build 6.8.0-1009.9 USN-6893-2
Ubuntu noble linux-modules-6.8.0-1010-azure Advisory build 6.8.0-1010.10 USN-6893-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: riscv: Fix vector state restore in rt_sigreturn() The RISC-V Vector specification states in "Appendix D: Calling Convention for Vector State" [1] that "Executing a system call causes all caller-saved vector registers (v0-v31, vl, vtype) and vstart to become unspecified.". In the RISC-V kernel this is called "discarding the vstate". Returning from a signal handler via the rt_sigreturn() syscall, vector discard is also performed. However, this is not an issue since the vector state should be restored from the sigcontext, and therefore not care about the vector discard. The "live state" is the actual vector register in the running context, and the "vstate" is the vector state of the task. A dirty live state, means that the vstate and live state are not in synch. When vectorized user_from_copy() was introduced, an bug sneaked in at the restoration code, related to the discard of the live state. An example when this go wrong: 1. A userland application is executing vector code 2. The application receives a signal, and the signal handler is entered. 3. The application returns from the signal handler, using the rt_sigreturn() syscall. 4. The live vector state is discarded upon entering the rt_sigreturn(), and the live state is marked as "dirty", indicating that the live state need to be synchronized with the current vstate. 5. rt_sigreturn() restores the vstate, except the Vector registers, from the sigcontext 6. rt_sigreturn() restores the Vector registers, from the sigcontext, and now the vectorized user_from_copy() is used. The dirty live state from the discard is saved to the vstate, making the vstate corrupt. 7. rt_sigreturn() returns to the application, which crashes due to corrupted vstate. Note that the vectorized user_from_copy() is invoked depending on the value of CONFIG_RISCV_ISA_V_UCOPY_THRESHOLD. Default is 768, which means that vlen has to be larger than 128b for this bug to trigger. The fix is simply to mark the live state as non-dirty/clean prior performing the vstate restore.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

4

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.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux c2a658d419246108c9bf065ec347355de5ba8a05 to < 5b16d904e910183181b9d90efa957c787a8ac91b (affected · git)c2a658d419246108c9bf065ec347355de5ba8a05 to < c27fa53b858b4ee6552a719aa599c250cf98a586 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.8 (affected)0 to < 6.8 (unaffected · semver)6.8.5 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

3

Linux · cna

riscv: Fix vector state restore in rt_sigreturn()

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
4e2355f7655357cadfbdfa9c99580189a4a6671f1bdbc293d30d5ed10df02709
Ingested
23 Sep 2026, 08:23:51 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected