All reports
Medium

kernel: io_uring/rsrc: don't rely on user vaddr alignment

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-40216

Probability of exploitation in the next 30 days: 0.15%

FIRST EPSS · 2026-11-21

Description

In the Linux kernel, the following vulnerability has been resolved: io_uring/rsrc: don't rely on user vaddr alignment There is no guaranteed alignment for user pointers, however the calculation of an offset of the first page into a folio after coalescing uses some weird bit mask logic, get rid of it.

A flaw was found in the Linux kernel's io_uring subsystem. When handling registered memory buffers, the kernel incorrectly calculates memory offsets for unaligned user memory addresses. A local attacker could exploit this flaw during io_uring operations to cause memory corruption, resulting in a system crash and Denial of Service (DoS).