CVE-2025-38067
rseq: Fix segfault on registration when rseq_cs is non-zero
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < 48900d839a3454050fd5822e34be8d54c4ec9b86; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < 3e4028ef31b69286c9d4878cee0330235f53f218; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < b2b05d0dc2f4f0646922068af435aed5763d16ba; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < eaf112069a904b6207b4106ff083e0208232a2eb; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < f004f58d18a2d3dc761cf973ad27b4a5997bd876; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < 2df285dab00fa03a3ef939b6cb0d0d0aeb0791db; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < fd881d0a085fc54354414aed990ccf05f282ba53
- Anyone running Linux 4.18
Vulnerability facts
- Affected
- Linux >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < 48900d839a3454050fd5822e34be8d54c4ec9b86; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < 3e4028ef31b69286c9d4878cee0330235f53f218; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < b2b05d0dc2f4f0646922068af435aed5763d16ba; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < eaf112069a904b6207b4106ff083e0208232a2eb; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < f004f58d18a2d3dc761cf973ad27b4a5997bd876; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < 2df285dab00fa03a3ef939b6cb0d0d0aeb0791db; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < fd881d0a085fc54354414aed990ccf05f282ba53; Linux 4.18
- Fixed in
- Linux 48900d839a3454050fd5822e34be8d54c4ec9b86, Linux 3e4028ef31b69286c9d4878cee0330235f53f218, Linux 2df285dab00fa03a3ef939b6cb0d0d0aeb0791db
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < 48900d839a3454050fd5822e34be8d54c4ec9b86; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < 3e4028ef31b69286c9d4878cee0330235f53f218; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < b2b05d0dc2f4f0646922068af435aed5763d16ba; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < eaf112069a904b6207b4106ff083e0208232a2eb; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < f004f58d18a2d3dc761cf973ad27b4a5997bd876; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < 2df285dab00fa03a3ef939b6cb0d0d0aeb0791db; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < fd881d0a085fc54354414aed990ccf05f282ba53 | — | cvelist |
| Linux | 4.18 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38067. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38067.md Affected: Linux >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < 48900d839a3454050fd5822e34be8d54c4ec9b86; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < 3e4028ef31b69286c9d4878cee0330235f53f218; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < b2b05d0dc2f4f0646922068af435aed5763d16ba; >= d7822b1e24f2df5df98c76f… Fixed in: Linux 48900d839a3454050fd5822e34be8d54c4ec9b86, Linux 3e4028ef31b69286c9d4878cee0330235f53f218, Linux 2df285dab00fa03a3ef939b6cb0d0d0aeb0791db Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/48900d839a3454050fd5822e34be8d54c4ec9b86
- https://git.kernel.org/stable/c/3e4028ef31b69286c9d4878cee0330235f53f218
- https://git.kernel.org/stable/c/b2b05d0dc2f4f0646922068af435aed5763d16ba
- https://git.kernel.org/stable/c/eaf112069a904b6207b4106ff083e0208232a2eb
- https://git.kernel.org/stable/c/f004f58d18a2d3dc761cf973ad27b4a5997bd876
- https://git.kernel.org/stable/c/2df285dab00fa03a3ef939b6cb0d0d0aeb0791db
- https://git.kernel.org/stable/c/fd881d0a085fc54354414aed990ccf05f282ba53
FAQ
Is CVE-2025-38067 being exploited?
There is no confirmed exploitation: CVE-2025-38067 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38067?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38067?
Linux >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < 48900d839a3454050fd5822e34be8d54c4ec9b86; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < 3e4028ef31b69286c9d4878cee0330235f53f218; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < b2b05d0dc2f4f0646922068af435aed5763d16ba; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < eaf112069a904b6207b4106ff083e0208232a2eb; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < f004f58d18a2d3dc761cf973ad27b4a5997bd876; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < 2df285dab00fa03a3ef939b6cb0d0d0aeb0791db; >= d7822b1e24f2df5df98c76f0e94a5416349ff759, < fd881d0a085fc54354414aed990ccf05f282ba53; Linux 4.18.
Is there a fix for CVE-2025-38067?
Yes. Fixed in Linux 48900d839a3454050fd5822e34be8d54c4ec9b86, Linux 3e4028ef31b69286c9d4878cee0330235f53f218, Linux 2df285dab00fa03a3ef939b6cb0d0d0aeb0791db. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-38067?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.