CVE-2023-53820

Linux Kernel Integer Overflow in Loop Device Status Handling

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: loop: loop_set_status_from_info() check before assignment In loop_set_status_from_info(), lo->lo_offset and lo->lo_sizelimit should be checked before reassignment, because if an overflow error occurs, the original correct value will be changed to the wrong value, and it will not be changed back. More, the original patch did not solve the problem, the value was set and ioctl returned an error, but the subsequent io used the value in the loop driver, which still caused an alarm: loop_handle_cmd do_req_filebacked loff_t pos = ((loff_t) blk_rq_pos(rq) << 9) + lo->lo_offset; lo_rw_aio cmd->iocb.ki_pos = pos

Scores

EPSS 0.0025
EPSS Percentile 16.1%

Details

Status published
Products (34)
linux/Kernel < 4.19.312linux
linux/Kernel 4.20.0 - 5.4.274linux
linux/Kernel 5.11.0 - 5.15.100linux
linux/Kernel 5.16.0 - 6.1.18linux
linux/Kernel 5.5.0 - 5.10.173linux
linux/Kernel 6.0.0 - 6.2.5linux
Linux/Linux < 6.0
Linux/Linux 0455bef69028c65065f16bb04635591b2374249b - 3e7d0968203d668af6036b9f9199c7b62c8a3581
Linux/Linux 13b2856037a651ba3ab4a8b25ecab3e791926da3 - 2ea7077748e5d7cc64f1c31342c802fe66ea7426
Linux/Linux 18e28817cb516b39de6281f6db9b0618b2cc7b42
... and 24 more
Published Dec 09, 2025
Tracked Since Feb 18, 2026