# CVE-2023-53820: loop: loop\_set\_status\_from\_info() check before assignment

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.32% (percentile 18, 2026-11-26)
- **Published:** 2025-12-09T01:24:29.417Z
- **Modified:** 2026-06-17T06:46:07.730Z

## Who should check

- Anyone running Linux \>= 2035c770bfdbcc82bd52e05871a7c82db9529e0f, \< 6bdf4e6dfb60cbb6121ccf027d97ed2ec97c0bcb; \>= a217715338fd48f72114725aa7a40e484a781ca7, \< 832580af82ace363205039a8e7c4ef04552ccc1a; \>= 13b2856037a651ba3ab4a8b25ecab3e791926da3, \< 2ea7077748e5d7cc64f1c31342c802fe66ea7426; \>= b40877b8562c5720d0a7fce20729f56b75a3dede, \< 861021710bba9dfa0749a3c209a6c1773208b1f1; \>= 6858933131d0dadac071c4d33335a9ea4b8e76cf, \< c79a924ed6afac1708dfd370ba66bcf6a852ced6; \>= 0455bef69028c65065f16bb04635591b2374249b, \< 3e7d0968203d668af6036b9f9199c7b62c8a3581; \>= c490a0b5a4f36da3918181a8acdc6991d967c5f3, \< 4be26d553a3f1d4f54f25353d1496c562002126d; \>= c490a0b5a4f36da3918181a8acdc6991d967c5f3, \< 258809bf22bf71d53247856f374f2b1d055f2fd4; \>= c490a0b5a4f36da3918181a8acdc6991d967c5f3, \< 9f6ad5d533d1c71e51bdd06a5712c4fbc8768dfa; 18e28817cb516b39de6281f6db9b0618b2cc7b42; …
- Anyone running Linux 6.0

## 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

## Affected and fixed versions

- Linux: \>= 2035c770bfdbcc82bd52e05871a7c82db9529e0f, \< 6bdf4e6dfb60cbb6121ccf027d97ed2ec97c0bcb; \>= a217715338fd48f72114725aa7a40e484a781ca7, \< 832580af82ace363205039a8e7c4ef04552ccc1a; \>= 13b2856037a651ba3ab4a8b25ecab3e791926da3, \< 2ea7077748e5d7cc64f1c31342c802fe66ea7426; \>= b40877b8562c5720d0a7fce20729f56b75a3dede, \< 861021710bba9dfa0749a3c209a6c1773208b1f1; \>= 6858933131d0dadac071c4d33335a9ea4b8e76cf, \< c79a924ed6afac1708dfd370ba66bcf6a852ced6; \>= 0455bef69028c65065f16bb04635591b2374249b, \< 3e7d0968203d668af6036b9f9199c7b62c8a3581; \>= c490a0b5a4f36da3918181a8acdc6991d967c5f3, \< 4be26d553a3f1d4f54f25353d1496c562002126d; \>= c490a0b5a4f36da3918181a8acdc6991d967c5f3, \< 258809bf22bf71d53247856f374f2b1d055f2fd4; \>= c490a0b5a4f36da3918181a8acdc6991d967c5f3, \< 9f6ad5d533d1c71e51bdd06a5712c4fbc8768dfa; 18e28817cb516b39de6281f6db9b0618b2cc7b42; … (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53820. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53820.md
Affected: Linux >= 2035c770bfdbcc82bd52e05871a7c82db9529e0f, < 6bdf4e6dfb60cbb6121ccf027d97ed2ec97c0bcb; >= a217715338fd48f72114725aa7a40e484a781ca7, < 832580af82ace363205039a8e7c4ef04552ccc1a; >= 13b2856037a651ba3ab4a8b25ecab3e791926da3, < 2ea7077748e5d7cc64f1c31342c802fe66ea7426; >= b40877b8562c5720d0a7fce…
Fixed in: Linux 6bdf4e6dfb60cbb6121ccf027d97ed2ec97c0bcb, Linux 832580af82ace363205039a8e7c4ef04552ccc1a, Linux 2ea7077748e5d7cc64f1c31342c802fe66ea7426, Linux 861021710bba9dfa0749a3c209a6c1773208b1f1, Linux 3e7d0968203d668af6036b9f9199c7b62c8a3581, Linux 4be26d553a3f1d4f54f25353d1496c562002126d, Linux 25880…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53820 being exploited?

There is no confirmed exploitation: CVE-2023-53820 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53820?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-53820?

Linux \>= 2035c770bfdbcc82bd52e05871a7c82db9529e0f, \< 6bdf4e6dfb60cbb6121ccf027d97ed2ec97c0bcb; \>= a217715338fd48f72114725aa7a40e484a781ca7, \< 832580af82ace363205039a8e7c4ef04552ccc1a; \>= 13b2856037a651ba3ab4a8b25ecab3e791926da3, \< 2ea7077748e5d7cc64f1c31342c802fe66ea7426; \>= b40877b8562c5720d0a7fce20729f56b75a3dede, \< 861021710bba9dfa0749a3c209a6c1773208b1f1; \>= 6858933131d0dadac071c4d33335a9ea4b8e76cf, \< c79a924ed6afac1708dfd370ba66bcf6a852ced6; \>= 0455bef69028c65065f16bb04635591b2374249b, \< 3e7d0968203d668af6036b9f9199c7b62c8a3581; \>= c490a0b5a4f36da3918181a8acdc6991d967c5f3, \< 4be26d553a3f1d4f54f25353d1496c562002126d; \>= c490a0b5a4f36da3918181a8acdc6991d967c5f3, \< 258809bf22bf71d53247856f374f2b1d055f2fd4; \>= c490a0b5a4f36da3918181a8acdc6991d967c5f3, \< 9f6ad5d533d1c71e51bdd06a5712c4fbc8768dfa; 18e28817cb516b39de6281f6db9b0618b2cc7b42; …; Linux 6.0.

### Is there a fix for CVE-2023-53820?

Yes. Fixed in Linux 6bdf4e6dfb60cbb6121ccf027d97ed2ec97c0bcb, Linux 832580af82ace363205039a8e7c4ef04552ccc1a, Linux 2ea7077748e5d7cc64f1c31342c802fe66ea7426, Linux 861021710bba9dfa0749a3c209a6c1773208b1f1, Linux 3e7d0968203d668af6036b9f9199c7b62c8a3581, Linux 4be26d553a3f1d4f54f25353d1496c562002126d, Linux 258809bf22bf71d53247856f374f2b1d055f2fd4, Linux 9f6ad5d533d1c71e51bdd06a5712c4fbc8768dfa. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-53820?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/6bdf4e6dfb60cbb6121ccf027d97ed2ec97c0bcb>
- other: <https://git.kernel.org/stable/c/832580af82ace363205039a8e7c4ef04552ccc1a>
- other: <https://git.kernel.org/stable/c/2ea7077748e5d7cc64f1c31342c802fe66ea7426>
- other: <https://git.kernel.org/stable/c/861021710bba9dfa0749a3c209a6c1773208b1f1>
- other: <https://git.kernel.org/stable/c/c79a924ed6afac1708dfd370ba66bcf6a852ced6>
- other: <https://git.kernel.org/stable/c/3e7d0968203d668af6036b9f9199c7b62c8a3581>
- other: <https://git.kernel.org/stable/c/4be26d553a3f1d4f54f25353d1496c562002126d>
- other: <https://git.kernel.org/stable/c/258809bf22bf71d53247856f374f2b1d055f2fd4>
- other: <https://git.kernel.org/stable/c/9f6ad5d533d1c71e51bdd06a5712c4fbc8768dfa>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53820>

HTML: <https://flawdb.com/CVE-2023-53820> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53820>
