{"id":"CVE-2026-99883","aliases":["CVE-2026-99883"],"related":[],"kind":"vulnerability","state":"published","title":"loop: check for read-write open mode on LOOP_SET_STATUS in lo_compat_ioctl()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nloop: check for read-write open mode on LOOP_SET_STATUS in lo_compat_ioctl()\n\nlo_ioctl() checks for (mode & BLK_OPEN_WRITE) || capable(CAP_SYS_ADMIN)\nbefore allowing LOOP_SET_STATUS or LOOP_SET_STATUS64, but not\nlo_compat_ioctl(), the handler used by 32-bit user space on 64-bit\nkernels.\n\nAs a result, on 64-bit kernels with CONFIG_COMPAT=y, a 32-bit\nunprivileged user-space process holding a read-only (O_RDONLY) file\ndescriptor to an active /dev/loopN device can issue a compat\nLOOP_SET_STATUS ioctl to modify lo_offset, clear lo_sizelimit to 0\n(exposing backing-file data past the configured limit), or alter\nlo_flags.\n\nEnforce the same (mode & BLK_OPEN_WRITE) || capable(CAP_SYS_ADMIN) check\non LOOP_SET_STATUS in lo_compat_ioctl().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nloop: check for read-write open mode on LOOP_SET_STATUS in lo_compat_ioctl()\n\nlo_ioctl() checks for (mode & BLK_OPEN_WRITE) || capable(CAP_SYS_ADMIN)\nbefore allowing LOOP_SET_STATUS or LOOP_SET_STATUS64, but not\nlo_compat_ioctl(), the handler used by 32-bit user space on 64-bit\nkernels.\n\nAs a result, on 64-bit kernels with CONFIG_COMPAT=y, a 32-bit\nunprivileged user-space process holding a read-only (O_RDONLY) file\ndescriptor to an active /dev/loopN device can issue a compat\nLOOP_SET_STATUS ioctl to modify lo_offset, clear lo_sizelimit to 0\n(exposing backing-file data past the configured limit), or alter\nlo_flags.\n\nEnforce the same (mode & BLK_OPEN_WRITE) || capable(CAP_SYS_ADMIN) check\non LOOP_SET_STATUS in lo_compat_ioctl().","source":"cvelist"}],"published":"2026-11-30T13:17:56.957Z","modified":"2026-12-01T06:17:55.283Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","score":7.3,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"552b50b04967952fd4464d414fb97d6c384be36e","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"a92d760c0eb19b8a826ff2a31ff900788e482208","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"7d7c6d799e3ae3c12aaddb3b1ec4b54b717ed4ea","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"2e9d353801f64f792d769ce4ec67398b139dafeb","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"0a49ac3e05864a0a2758b621d97ff44e94cf45dc","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"9e48dbf6841e67c311a4099b768b4e331eae15c4","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"6fe40c314fa078f06152f0f1f02c73f2e414de7a","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"87409eedc543d288cdd49c2174f7d61eca7b8db5","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10.275","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15.226","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.1.193","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6.163","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.12.117","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18.63","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.3.4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/552b50b04967952fd4464d414fb97d6c384be36e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a92d760c0eb19b8a826ff2a31ff900788e482208","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7d7c6d799e3ae3c12aaddb3b1ec4b54b717ed4ea","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2e9d353801f64f792d769ce4ec67398b139dafeb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0a49ac3e05864a0a2758b621d97ff44e94cf45dc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9e48dbf6841e67c311a4099b768b4e331eae15c4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6fe40c314fa078f06152f0f1f02c73f2e414de7a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/87409eedc543d288cdd49c2174f7d61eca7b8db5","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99883","url":"https://www.cve.org/CVERecord?id=CVE-2026-99883","licence":"CVE Terms of Use","modified":"2026-12-01T05:44:00.462Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99883","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99883","licence":"Public domain","modified":"2026-12-01T06:17:55.283Z"}],"updatedAt":"2026-12-01T06:32:27.929Z","epss":{"score":0.00166,"percentile":0.06188,"date":"2026-12-01T12:00:22.000Z"}}