{"api_version":"1","generated_at":"2026-12-01T06:50:17+00:00","cve":"CVE-2026-99883","urls":{"html":"https://cve.report/CVE-2026-99883","api":"https://cve.report/api/cve/CVE-2026-99883.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99883","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99883"},"summary":{"title":"loop: check for read-write open mode on LOOP_SET_STATUS in lo_compat_ioctl()","description":"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().","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:20:22","updated_at":"2026-12-01 06:17:55"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.3","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","baseScore":7.3,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.3","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","data":{"baseScore":7.3,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/552b50b04967952fd4464d414fb97d6c384be36e","name":"https://git.kernel.org/stable/c/552b50b04967952fd4464d414fb97d6c384be36e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7d7c6d799e3ae3c12aaddb3b1ec4b54b717ed4ea","name":"https://git.kernel.org/stable/c/7d7c6d799e3ae3c12aaddb3b1ec4b54b717ed4ea","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0a49ac3e05864a0a2758b621d97ff44e94cf45dc","name":"https://git.kernel.org/stable/c/0a49ac3e05864a0a2758b621d97ff44e94cf45dc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/87409eedc543d288cdd49c2174f7d61eca7b8db5","name":"https://git.kernel.org/stable/c/87409eedc543d288cdd49c2174f7d61eca7b8db5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2e9d353801f64f792d769ce4ec67398b139dafeb","name":"https://git.kernel.org/stable/c/2e9d353801f64f792d769ce4ec67398b139dafeb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6fe40c314fa078f06152f0f1f02c73f2e414de7a","name":"https://git.kernel.org/stable/c/6fe40c314fa078f06152f0f1f02c73f2e414de7a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9e48dbf6841e67c311a4099b768b4e331eae15c4","name":"https://git.kernel.org/stable/c/9e48dbf6841e67c311a4099b768b4e331eae15c4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a92d760c0eb19b8a826ff2a31ff900788e482208","name":"https://git.kernel.org/stable/c/a92d760c0eb19b8a826ff2a31ff900788e482208","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99883","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99883","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 552b50b04967952fd4464d414fb97d6c384be36e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 a92d760c0eb19b8a826ff2a31ff900788e482208 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 7d7c6d799e3ae3c12aaddb3b1ec4b54b717ed4ea git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 2e9d353801f64f792d769ce4ec67398b139dafeb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 0a49ac3e05864a0a2758b621d97ff44e94cf45dc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 9e48dbf6841e67c311a4099b768b4e331eae15c4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 6fe40c314fa078f06152f0f1f02c73f2e414de7a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 87409eedc543d288cdd49c2174f7d61eca7b8db5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.10.275 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15.226 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.193 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6.163 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.12.117 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.18.63 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.3.4 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/block/loop.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"552b50b04967952fd4464d414fb97d6c384be36e","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"a92d760c0eb19b8a826ff2a31ff900788e482208","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"7d7c6d799e3ae3c12aaddb3b1ec4b54b717ed4ea","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"2e9d353801f64f792d769ce4ec67398b139dafeb","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"0a49ac3e05864a0a2758b621d97ff44e94cf45dc","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"9e48dbf6841e67c311a4099b768b4e331eae15c4","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"6fe40c314fa078f06152f0f1f02c73f2e414de7a","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"87409eedc543d288cdd49c2174f7d61eca7b8db5","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"5.10.275","status":"affected","version":"0","versionType":"semver"},{"lessThan":"5.15.226","status":"affected","version":"0","versionType":"semver"},{"lessThan":"6.1.193","status":"affected","version":"0","versionType":"semver"},{"lessThan":"6.6.163","status":"affected","version":"0","versionType":"semver"},{"lessThan":"6.12.117","status":"affected","version":"0","versionType":"semver"},{"lessThan":"6.18.63","status":"affected","version":"0","versionType":"semver"},{"lessThan":"7.3.4","status":"affected","version":"0","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/block/loop.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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()."}],"metrics":[{"cvssV3_1":{"baseScore":7.3,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - The attacker issues a 32-bit ioctl(LOOP_SET_STATUS) on a local /dev/loopN fd: compat_sys_ioctl -> compat_blkdev_ioctl -> blkdev_common_ioctl returns -ENOIOCTLCMD -> lo_compat_ioctl -> loop_set_status_compat -> loop_set_status. An x86_64 process can do this through int $0x80. The compat_loop_info comes from local userspace, and no remote protocol carries it.\nAC:L - Once the attacker holds the read-only fd, one deterministic ioctl is enough. lo_compat_ioctl calls loop_set_status_compat without the (mode & BLK_OPEN_WRITE) || capable(CAP_SYS_ADMIN) check that lo_ioctl applies to LOOP_SET_STATUS/STATUS64. Compat/ia32 support is enabled by default in distro kernels, and there is no race and no dependence on device state.\nPR:L - The attacker needs an O_RDONLY fd on a bound loop device and no CAP_SYS_ADMIN in the initial namespace. Default nodes are root:disk 0660 and the disk group already has write access, so the holder who gains is someone given read-only access, e.g. docker --device ...:r, a kubelet readOnly raw-block volume (cgroup 'r') or systemd DeviceAllow= r. A user namespace cannot open the node.\nUI:N - The attacker issues the compat ioctl on their own read-only descriptor. No administrator, mount or other user has to act at the time of the attack.\nS:U - The bug bypasses the loop driver's own read/write gate. The effects land on the loop device and its backing file, both managed by the same kernel, with no VM or IOMMU boundary crossed.\nC:H - loop_info64_from_compat forces lo_sizelimit=0, and the attacker can set lo_offset=0. lo_calculate_size then grows the capacity to the whole backing file, and do_req_filebacked reads at sector<<9 + lo_offset. On a loop device limited to part of a disk image or /dev/sdX with losetup -o/--sizelimit, the attacker's read-only fd can then read every byte outside that range, such as other partitions.\nI:L - The attacker can change lo_offset (0..INT_MAX), set or clear AUTOCLEAR, set PARTSCAN and change lo_file_name on a device they may only read. The new offset moves every other user's I/O through do_req_filebacked, so a mounted filesystem's writes land in the wrong part of the backing file. The attacker picks where those writes land but not their content, and cannot clear LO_FLAGS_READ_ONLY.\nA:H - An offset past EOF makes lo_calculate_size return 0, and loop_set_size shrinks the disk to 0 sectors; any other offset makes a mounted filesystem read metadata from the wrong place. Either way every user of the shared loop device loses access, and the attacker can repeat it whenever it is undone. Setting AUTOCLEAR also detaches the device on last close."}]}],"providerMetadata":{"dateUpdated":"2026-12-01T05:44:00.462Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/552b50b04967952fd4464d414fb97d6c384be36e"},{"url":"https://git.kernel.org/stable/c/a92d760c0eb19b8a826ff2a31ff900788e482208"},{"url":"https://git.kernel.org/stable/c/7d7c6d799e3ae3c12aaddb3b1ec4b54b717ed4ea"},{"url":"https://git.kernel.org/stable/c/2e9d353801f64f792d769ce4ec67398b139dafeb"},{"url":"https://git.kernel.org/stable/c/0a49ac3e05864a0a2758b621d97ff44e94cf45dc"},{"url":"https://git.kernel.org/stable/c/9e48dbf6841e67c311a4099b768b4e331eae15c4"},{"url":"https://git.kernel.org/stable/c/6fe40c314fa078f06152f0f1f02c73f2e414de7a"},{"url":"https://git.kernel.org/stable/c/87409eedc543d288cdd49c2174f7d61eca7b8db5"}],"title":"loop: check for read-write open mode on LOOP_SET_STATUS in lo_compat_ioctl()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99883","datePublished":"2026-11-30T13:17:56.957Z","dateReserved":"2026-09-25T10:25:14.441Z","dateUpdated":"2026-12-01T05:44:00.462Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:20:22","lastModifiedDate":"2026-12-01 06:17:55","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","baseScore":7.3,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.5}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99883","Ordinal":"1","Title":"loop: check for read-write open mode on LOOP_SET_STATUS in lo_co","CVE":"CVE-2026-99883","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99883","Ordinal":"1","NoteData":"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().","Type":"Description","Title":"loop: check for read-write open mode on LOOP_SET_STATUS in lo_co"}]}}}