CVE-2026-45975

ublk: use READ_ONCE() to read struct ublksrv_ctrl_cmd

Published May 27, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ublk: use READ_ONCE() to read struct ublksrv_ctrl_cmd

struct ublksrv_ctrl_cmd is part of the io_uring_sqe, which may lie in
userspace-mapped memory. It's racy to access its fields with normal
loads, as userspace may write to them concurrently. Use READ_ONCE() to
copy the ublksrv_ctrl_cmd from the io_uring_sqe to the stack. Use the
local copy in place of the one in the io_uring_sqe.

Analysis

AI-generated

Technical impact

The vulnerability lies in the Linux kernel’s ublk subsystem where the struct ublksrv_ctrl_cmd, embedded in a userspace‑mapped io_uring submission queue entry, is accessed with normal loads. Because the kernel may read this structure concurrently while userspace writes to it, the loaded values can become torn or stale, causing the kernel to process an incorrect command. This race condition could disrupt device command handling and result in unpredicted kernel behavior. The underlying weakness is a race condition that violates atomic access to shared data. The flaw corresponds to CWE-820, NVD-CWE-noinfo.

Affected Systems

All Linux kernel releases that expose the ublk driver and allow userspace applications to submit io_uring entries containing ublksrv_ctrl_cmd structures are potentially affected. No explicit version constraints were provided, so the impact spectrum extends to any kernel build implementing the unpatched ublk logic.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity. The EPSS score of <1% indicates an extremely low likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog, suggesting no widespread exploitation to date. Attackers would need to invoke the race by manipulating userspace memory mapped to the kernel, which implies the attack is local and dependent on the ability to write to the mapped region. Given the low EPSS probability, the overall risk remains moderate, but a successful race could destabilize the kernel and disrupt services.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that applies the READ_ONCE() fix for the ublksrv_ctrl_cmd structure
  • If a kernel upgrade cannot be applied immediately, disable the ublk driver or prevent any application from submitting io_uring entries that map userspace memory containing ublksrv_ctrl_cmd structures
  • Keep the system monitored for official advisories or new patches from the Linux kernel project

Generated by OpenCVE AI on June 17, 2026 at 23:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
Metrics cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Weaknesses CWE-362
CWE-564
Type Values Removed Values Added
Weaknesses CWE-820
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important

Type Values Removed Values Added
Weaknesses CWE-362
CWE-564
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ublk: use READ_ONCE() to read struct ublksrv_ctrl_cmd struct ublksrv_ctrl_cmd is part of the io_uring_sqe, which may lie in userspace-mapped memory. It's racy to access its fields with normal loads, as userspace may write to them concurrently. Use READ_ONCE() to copy the ublksrv_ctrl_cmd from the io_uring_sqe to the stack. Use the local copy in place of the one in the io_uring_sqe.
Title ublk: use READ_ONCE() to read struct ublksrv_ctrl_cmd
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
May 27, 2026, 12:18 PM
Reserved
May 13, 2026, 3:03 PM
Status
Analyzed
Published
May 27, 2026, 2:17 PM
Modified
Jun 17, 2026, 10:52 AM
Severity
Important
Public date
May 27, 2026, 12:00 AM