CVE-2025-38067
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
4.18
and later are affected. Fixed in
5.10.240,
5.15.189,
6.1.146,
6.6.99,
6.12.39,
6.14.9,
6.15
and their respective stable series.
References
The following references provide additional information about CVE-2025-38067 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
Third Party Advisory
-
Third Party Advisory
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/2df285dab00fa03a3ef939b6cb0d0d0aeb0791db
-
PatchKernel patch commithttps://git.kernel.org/stable/c/3e4028ef31b69286c9d4878cee0330235f53f218
-
PatchKernel patch commithttps://git.kernel.org/stable/c/48900d839a3454050fd5822e34be8d54c4ec9b86
Frequently asked questions
-
What is CVE-2025-38067?
CVE-2025-38067 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 4.18 onward and has been patched in 5.10.240, 5.15.189, 6.1.146 and others. CVE-2025-38067 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-38067?
CVE-2025-38067 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-38067?
Yes — CVE-2025-38067 has been patched. Fixed versions include 5.10.240, 5.15.189, 6.1.146 and others. If you are running Linux kernel 4.18 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-38067 actively exploited?
No — CVE-2025-38067 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.