Description

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().

Severity (CVSS)

Base score7.3
SeverityHigh
VersionCVSS 3.1
VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
Provided byCNA

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <552b50b04967952fd4464d414fb97d6c384be36e [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <a92d760c0eb19b8a826ff2a31ff900788e482208 [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <7d7c6d799e3ae3c12aaddb3b1ec4b54b717ed4ea [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <2e9d353801f64f792d769ce4ec67398b139dafeb [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <0a49ac3e05864a0a2758b621d97ff44e94cf45dc [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <9e48dbf6841e67c311a4099b768b4e331eae15c4 [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <6fe40c314fa078f06152f0f1f02c73f2e414de7a [affected]; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <87409eedc543d288cdd49c2174f7d61eca7b8db5 [affected]; 0 to <5.10.275 [affected]; 0 to <5.15.226 [affected]; 0 to <6.1.193 [affected]; 0 to <6.6.163 [affected]; 0 to <6.12.117 [affected]; 0 to <6.18.63 [affected]; 0 to <7.3.4 [affected]
LinuxLinux5.10.275 to <=5.10.* [unaffected]; 5.15.226 to <=5.15.* [unaffected]; 6.1.193 to <=6.1.* [unaffected]; 6.6.163 to <=6.6.* [unaffected]; 6.12.117 to <=6.12.* [unaffected]; 6.18.63 to <=6.18.* [unaffected]; 7.3.4 to <=7.3.* [unaffected]; 7.4-rc1 to <=* [unaffected]

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Assess this vulnerability

Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.

Browse all CVE security advisories · Symaro cybersecurity services

Generated from the official CVE List on 01 Dec 2026 08:04 UTC.