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

io_uring/query: cap user size passed to copy_struct_to_user

io_handle_query_entry() clamps hdr.size for the inbound copy_from_user()
but keeps the original user value as usize. copy_struct_to_user() uses
that usize and, when it is larger than the kernel result, clear_user()s
the trailing bytes.

As hdr.size is a __u32, a query can request nearly 4 GiB of zeroing,
including on the error path where res_size stays 0. The interface is
reachable without a ring via IORING_REGISTER_QUERY.

Reject sizes larger than PAGE_SIZE, as recommended for copy_struct_*
interfaces.
Published: 2026-09-11
Score: 4.7 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Local Buffer Overwrite
Action: Patch Kernel
AI Analysis

Impact

The Linux kernel’s io_uring query interface mishandles the hdr.size field that is passed to copy_struct_to_user. The value is clamped for copy_from_user but then reused by copy_struct_to_user(); hdr.size is a __u32, a caller can request an amount of zeroing nearly up to 4 GiB, even on error paths where no data is returned. This can overwrite user‑space memory beyond the intended buffer, leading to memory corruption and potentially a denial‑of‑service when the kernel attempts to access invalid memory.

Affected Systems

All Linux kernel installations that have not applied the CVE‑2026‑81009 patch are affected. The vulnerability is present in any distribution that ships the unpatched kernel, as the io_uring query interface can be reached via the IORING_REGISTER_QUERY ioctl even when no ring is allocated.

Risk and Exploitability

The CVSS score of 4.7 indicates moderate severity. The EPSS score is <1%, which indicates a very low probability of exploitation, and the flaw is not listed in the CISA KEV catalog, suggesting limited current exploitation activity. The likely attack vector requires a local user running on the same system as the vulnerable kernel, able to invoke the IORING_REGISTER code execution or persistence, but it enables local buffer overwrite that can lead to denial of service if an attacker controls a process that can supply a crafted hdr.size value.

Generated by OpenCVE AI on September 13, 2026 at 03:56 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the CVE‑2026‑81009 fix.
  • If a kernel upgrade is not immediately feasible, disable the io_uring query functionality by removing or restricting the IORING_REGISTER_QUERY ioctl in the kernel configuration or using access‑control mechanisms such as SELinux or AppArmor to limit its use to trusted processes.
  • uring queries verifies that hdr.size does not exceed PAGE_SIZE before invoking the ioctl; reject larger values to prevent excessive zeroing.

Generated by OpenCVE AI on September 13, 2026 at 03:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 12 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Fri, 11 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: io_uring/query: cap user size passed to copy_struct_to_user io_handle_query_entry() clamps hdr.size for the inbound copy_from_user() but keeps the original user value as usize. copy_struct_to_user() uses that usize and, when it is larger than the kernel result, clear_user()s the trailing bytes. As hdr.size is a __u32, a query can request nearly 4 GiB of zeroing, including on the error path where res_size stays 0. The interface is reachable without a ring via IORING_REGISTER_QUERY. Reject sizes larger than PAGE_SIZE, as recommended for copy_struct_* interfaces.
Title io_uring/query: cap user size passed to copy_struct_to_user
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-09-11T19:43:00.074Z

Reserved: 2026-08-26T14:34:25.812Z

Link: CVE-2026-81009

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-11T20:19:09.687

Modified: 2026-09-11T20:19:09.687

Link: CVE-2026-81009

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-11T19:43:00Z

Links: CVE-2026-81009 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-13T04:00:08Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling