Description
In the Linux kernel, the following vulnerability has been resolved:

rseq: Fix using an uninitialized stack variable in rseq_exit_user_update()

There is an bug in which an uninitialized stack variable is used in
rseq_exit_user_update() as reported by syzbot:

BUG: KMSAN: kernel-infoleak in rseq_set_ids_get_csaddr include/linux/rseq_entry.h:502 [inline]

The local variable:

struct rseq_ids ids = {
.cpu_id = task_cpu(t),
.mm_cid = task_mm_cid(t),
.node_id = cpu_to_node(ids.cpu_id),
};

According to the C standard, the evaluation order of expressions in an
initializer list is indeterminately sequenced. The compiler (Clang, in
this KMSAN build) evaluates `cpu_to_node(ids.cpu_id)` *before*
`ids.cpu_id` is initialized with `task_cpu(t)`.

This is fixed by moving the assignment of ids.node_id outside the
structure initialization.
Published: 2026-06-25
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the Linux kernel’s rseq subsystem; a bug allows an uninitialized stack variable, struct rseq_ids ids, to be used before its field node_id is properly set. Because the compiler may evaluate cpu_to_node(ids.cpu_id) before ids.cpu_id is assigned, node_id can contain an indeterminate value, leading to a kernel‑information leak when rseq_set_ids_get_csaddr is invoked. The weakness is an uninitialized variable usage (CWE‑682).

Affected Systems

All Linux kernel releases before the patch are affected. The vendor is Linux, product is the Linux kernel, and no specific version range is provided. Users should update to a kernel containing the commit that moves the assignment of ids.node_id outside the structure initialization.

Risk and Exploitability

The CVSS score is not publicly available, and the EPSS score is not currently provided; the vulnerability is not listed in CISA KEV. However, kernel information leakage can expose sensitive data and potentially enable further privileged attacks, giving the risk a substantive level. Exploitation would generally require local or privileged execution to trigger rseq paths, so it is more a local kernel component issue than a remote exploit. No publicly known exploit exists at this time, but the lack of a precise EPSS score indicates that exploitation is possible and should be treated as moderate to high severity.

Generated by OpenCVE AI on June 25, 2026 at 11:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the patch that moves the assignment of ids.node.
  • If an immediate kernel upgrade is not possible, recompile your kernel with the latest official patches or apply the relevant patch manually to the rseq_exit_user_update code.
  • Restart services and reboot to ensure the updated kernel is in use.

Generated by OpenCVE AI on June 25, 2026 at 11:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 25 Jun 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-682

Thu, 25 Jun 2026 09:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: rseq: Fix using an uninitialized stack variable in rseq_exit_user_update() There is an bug in which an uninitialized stack variable is used in rseq_exit_user_update() as reported by syzbot: BUG: KMSAN: kernel-infoleak in rseq_set_ids_get_csaddr include/linux/rseq_entry.h:502 [inline] The local variable: struct rseq_ids ids = { .cpu_id = task_cpu(t), .mm_cid = task_mm_cid(t), .node_id = cpu_to_node(ids.cpu_id), }; According to the C standard, the evaluation order of expressions in an initializer list is indeterminately sequenced. The compiler (Clang, in this KMSAN build) evaluates `cpu_to_node(ids.cpu_id)` *before* `ids.cpu_id` is initialized with `task_cpu(t)`. This is fixed by moving the assignment of ids.node_id outside the structure initialization.
Title rseq: Fix using an uninitialized stack variable in rseq_exit_user_update()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-25T08:39:37.794Z

Reserved: 2026-06-09T07:44:35.393Z

Link: CVE-2026-53243

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-25T12:00:13Z

Weaknesses