loop: check for read-write open mode on LOOP_SET_STATUS in lo_compat_ioctl()
CVE-2026-99883Published 30 Nov 2026, 13:17 UTC
Real-world risk
3.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.3
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Linux)
In the Linux kernel, the following vulnerability has been resolved: loop: check for read-write open mode on LOOP_SET_STATUS in lo_compat_ioctl() lo_ioctl() checks for (mode & BLK_OPEN_WRITE) || capable(CAP_SYS_ADMIN) before allowing LOOP_SET_STATUS or LOOP_SET_STATUS64, but not lo_compat_ioctl(), the handler used by 32-bit user space on 64-bit kernels. As a result, on 64-bit kernels with CONFIG_COMPAT=y, a 32-bit unprivileged user-space process holding a read-only (O_RDONLY) file descriptor to an active /dev/loopN device can issue a compat LOOP_SET_STATUS ioctl to modify lo_offset, clear lo_sizelimit to 0 (exposing backing-file data past the configured limit), or alter lo_flags. Enforce the same (mode & BLK_OPEN_WRITE) || capable(CAP_SYS_ADMIN) check on LOOP_SET_STATUS in lo_compat_ioctl().
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Linux kernelUbiquitous | = 2.6.12 | 7.4-rc1 |
What to do
Update to a fixed version: 7.4-rc1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.2% chance of exploitation in 30 days (percentile 6), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.500
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.5 × threat 0.853.400
- Rounded to one decimal between 0.1 and 103.4
Exploitation and evidence timeline
- 30 Nov 2026 Published
- 2 Dec 2026 Risk 3.4 (cvss fallback)
Weakness
No weakness type given.
References
- https://git.kernel.org/stable/c/552b50b04967952fd4464d414fb97d6c384be36e
- https://git.kernel.org/stable/c/a92d760c0eb19b8a826ff2a31ff900788e482208
- https://git.kernel.org/stable/c/7d7c6d799e3ae3c12aaddb3b1ec4b54b717ed4ea
- https://git.kernel.org/stable/c/2e9d353801f64f792d769ce4ec67398b139dafeb
- https://git.kernel.org/stable/c/0a49ac3e05864a0a2758b621d97ff44e94cf45dc
- https://git.kernel.org/stable/c/9e48dbf6841e67c311a4099b768b4e331eae15c4
- https://git.kernel.org/stable/c/6fe40c314fa078f06152f0f1f02c73f2e414de7a
- https://git.kernel.org/stable/c/87409eedc543d288cdd49c2174f7d61eca7b8db5
- CVE-2026-99883 on CVE.org