CVE-2026-99883: loop: check for read-write open mode on LOOP_SET_STATUS in lo_compat_ioctl()

Published Nov 30, 2026
·
Updated

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

loop: check for read-write open mode on LOOPSETSTATUS in locompatioctl()

loioctl() checks for (mode & BLKOPENWRITE) || capable(CAPSYSADMIN) before allowing LOOPSETSTATUS or LOOPSETSTATUS64, but not locompatioctl(), the handler used by 32-bit user space on 64-bit kernels.

As a result, on 64-bit kernels with CONFIGCOMPAT=y, a 32-bit unprivileged user-space process holding a read-only (ORDONLY) file descriptor to an active /dev/loopN device can issue a compat LOOPSETSTATUS ioctl to modify looffset, clear losizelimit to 0 (exposing backing-file data past the configured limit), or alter loflags.

Enforce the same (mode & BLKOPENWRITE) || capable(CAPSYSADMIN) check on LOOPSETSTATUS in locompatioctl().

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In lo_compat_ioctl(), enforce the `(mode & BLK_OPEN_WRITE) || capable(CAP_SYS_ADMIN)` check on LOOP_SET_STATUS.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:17 PM
Data Sourced
via MITRE·01:17 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203