CVE-2025-38067 Details
Description
In the Linux kernel, the following vulnerability has been resolved: rseq: Fix segfault on registration when rseq_cs is non-zero The rseq_cs field is documented as being set to 0 by user-space prior to registration, however this is not currently enforced by the kernel. This can result in a segfault on return to user-space if the value stored in the rseq_cs field doesn't point to a valid struct rseq_cs. The correct solution to this would be to fail the rseq registration when the rseq_cs field is non-zero. However, some older versions of glibc will reuse the rseq area of previous threads without clearing the rseq_cs field and will also terminate the process if the rseq registration fails in a secondary thread. This wasn't caught in testing because in this case the leftover rseq_cs does point to a valid struct rseq_cs. What we can do is clear the rseq_cs field on registration when it's non-zero which will prevent segfaults on registration and won't break the glibc versions that reuse rseq areas on thread creation.
A segmentation fault vulnerability has been identified in the Linux kernel related to the rseq registration process. The issue arises when the rseq_cs field, which is supposed to be set to zero by user space before registration, is not properly enforced by the kernel. This can lead to a segmentation fault when returning to user space if the rseq_cs value does not point to a valid struct rseq_cs. The vulnerability is particularly problematic because some older glibc versions reuse the rseq area of previous threads without clearing the rseq_cs field, potentially terminating the process if the rseq registration fails in a secondary thread.
The vulnerability has been addressed by modifying the kernel to clear the rseq_cs field on registration when it is non-zero. This change prevents segmentation faults during registration and does not interfere with glibc versions that reuse rseq areas when creating new threads.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cert-portal.siemens.com/productcert/html/ssa-082556.html | siemens-SADP | |
| https://git.kernel.org/stable/c/2df285dab00fa03a3ef939b6cb0d0d0aeb0791db | kernel.org | Patch |
| https://git.kernel.org/stable/c/3e4028ef31b69286c9d4878cee0330235f53f218 | kernel.org | Patch |
| https://git.kernel.org/stable/c/48900d839a3454050fd5822e34be8d54c4ec9b86 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b2b05d0dc2f4f0646922068af435aed5763d16ba | kernel.org | Patch |
| https://git.kernel.org/stable/c/eaf112069a904b6207b4106ff083e0208232a2eb | kernel.org | Patch |
| https://git.kernel.org/stable/c/f004f58d18a2d3dc761cf973ad27b4a5997bd876 | kernel.org | Patch |
| https://git.kernel.org/stable/c/fd881d0a085fc54354414aed990ccf05f282ba53 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html | CVE | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.18, < 5.10.240 >= 5.11, < 5.15.189 >= 5.16, < 6.1.146 >= 6.2, < 6.6.99 >= 6.7, < 6.12.39 >= 6.13, < 6.14.9 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
11 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Nov 5, 2026 | CVE Modified | CVE |
| Nov 5, 2026 | CVE Modified | siemens-SADP |
| Nov 5, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| May 12, 2026 | CVE Modified | siemens-SADP |
| Dec 17, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Jul 17, 2025 | CVE Modified | kernel.org |
| Jun 18, 2025 | New CVE Received | kernel.org |