# CVE-2023-53692: ext4: fix use-after-free read in ext4\_find\_extent for bigalloc + inline

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **Published:** 2025-10-22T13:23:34.702Z
- **Modified:** 2026-10-28T19:10:00.193Z

## Who should check

- Anyone running Linux \>= 1ed1eef0551bebee8e56973ccd0900e3578edfb7, \< 0ce15000dee0ecd6f235f925a327803e2ef489c6; \>= 6f4200ec76a0d31200c308ec5a71c68df5417004, \< a34f6dcb78c654ab905642c1b4e7e5fbb4f0babe; \>= 9404839e0c9db5a517ea83c0ca3388b39d105fdf, \< 770b0613637f59f3091dda1ff0c23671a5326b9c; \>= d440d6427a5e3a877c1c259b8d2b216ddb65e185, \< 40566def189c513be2c694681256d7486cc6e368; \>= 81b915181c630ee1cffa052e52874fe4e1ba91ac, \< 96d440bee177669dc0acedca0abd73bae6a9be8b; \>= 131294c35ed6f777bd4e79d42af13b5c41bf2775, \< 11c87c8df2cae1d6be83c07e59fef0792de73482; \>= 131294c35ed6f777bd4e79d42af13b5c41bf2775, \< 14da044725a3ab10affa3566d29c15737c0e67a4; \>= 131294c35ed6f777bd4e79d42af13b5c41bf2775, \< 835659598c67907b98cd2aa57bb951dfaf675c69; c0c8edbc8abbe8f16d80a1d794d1ba2c12b6f193; \>= 4.19.270, \< 4.19.271; …
- Anyone running Linux 6.2

## Description

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

ext4: fix use-after-free read in ext4\_find\_extent for bigalloc + inline

Syzbot found the following issue:
loop0: detected capacity change from 0 to 2048
EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 without journal. Quota mode: none.
==================================================================
BUG: KASAN: use-after-free in ext4\_ext\_binsearch\_idx fs/ext4/extents.c:768 \[inline\]
BUG: KASAN: use-after-free in ext4\_find\_extent+0x76e/0xd90 fs/ext4/extents.c:931
Read of size 4 at addr ffff888073644750 by task syz-executor420/5067

CPU: 0 PID: 5067 Comm: syz-executor420 Not tainted 6.2.0-rc1-syzkaller \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
 \<TASK\>
 \_\_dump\_stack lib/dump\_stack.c:88 \[inline\]
 dump\_stack\_lvl+0x1b1/0x290 lib/dump\_stack.c:106
 print\_address\_description+0x74/0x340 mm/kasan/report.c:306
 print\_report+0x107/0x1f0 mm/kasan/report.c:417
 kasan\_report+0xcd/0x100 mm/kasan/report.c:517
 ext4\_ext\_binsearch\_idx fs/ext4/extents.c:768 \[inline\]
 ext4\_find\_extent+0x76e/0xd90 fs/ext4/extents.c:931
 ext4\_clu\_mapped+0x117/0x970 fs/ext4/extents.c:5809
 ext4\_insert\_delayed\_block fs/ext4/inode.c:1696 \[inline\]
 ext4\_da\_map\_blocks fs/ext4/inode.c:1806 \[inline\]
 ext4\_da\_get\_block\_prep+0x9e8/0x13c0 fs/ext4/inode.c:1870
 ext4\_block\_write\_begin+0x6a8/0x2290 fs/ext4/inode.c:1098
 ext4\_da\_write\_begin+0x539/0x760 fs/ext4/inode.c:3082
 generic\_perform\_write+0x2e4/0x5e0 mm/filemap.c:3772
 ext4\_buffered\_write\_iter+0x122/0x3a0 fs/ext4/file.c:285
 ext4\_file\_write\_iter+0x1d0/0x18f0
 call\_write\_iter include/linux/fs.h:2186 \[inline\]
 new\_sync\_write fs/read\_write.c:491 \[inline\]
 vfs\_write+0x7dc/0xc50 fs/read\_write.c:584
 ksys\_write+0x177/0x2a0 fs/read\_write.c:637
 do\_syscall\_x64 arch/x86/entry/common.c:50 \[inline\]
 do\_syscall\_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd
RIP: 0033:0x7f4b7a9737b9
RSP: 002b:00007ffc5cac3668 EFLAGS: 00000246 ORIG\_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4b7a9737b9
RDX: 00000000175d9003 RSI: 0000000020000200 RDI: 0000000000000004
RBP: 00007f4b7a933050 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000079f R11: 0000000000000246 R12: 00007f4b7a9330e0
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 \</TASK\>

Above issue is happens when enable bigalloc and inline data feature. As
commit 131294c35ed6 fixed delayed allocation bug in ext4\_clu\_mapped for
bigalloc + inline. But it only resolved issue when has inline data, if
inline data has been converted to extent(ext4\_da\_convert\_inline\_data\_to\_extent)
before writepages, there is no EXT4\_STATE\_MAY\_INLINE\_DATA flag. However
i\_data is still store inline data in this scene. Then will trigger UAF
when find extent.
To resolve above issue, there is need to add judge "ext4\_has\_inline\_data(inode)"
in ext4\_clu\_mapped().

## Affected and fixed versions

- Linux: \>= 1ed1eef0551bebee8e56973ccd0900e3578edfb7, \< 0ce15000dee0ecd6f235f925a327803e2ef489c6; \>= 6f4200ec76a0d31200c308ec5a71c68df5417004, \< a34f6dcb78c654ab905642c1b4e7e5fbb4f0babe; \>= 9404839e0c9db5a517ea83c0ca3388b39d105fdf, \< 770b0613637f59f3091dda1ff0c23671a5326b9c; \>= d440d6427a5e3a877c1c259b8d2b216ddb65e185, \< 40566def189c513be2c694681256d7486cc6e368; \>= 81b915181c630ee1cffa052e52874fe4e1ba91ac, \< 96d440bee177669dc0acedca0abd73bae6a9be8b; \>= 131294c35ed6f777bd4e79d42af13b5c41bf2775, \< 11c87c8df2cae1d6be83c07e59fef0792de73482; \>= 131294c35ed6f777bd4e79d42af13b5c41bf2775, \< 14da044725a3ab10affa3566d29c15737c0e67a4; \>= 131294c35ed6f777bd4e79d42af13b5c41bf2775, \< 835659598c67907b98cd2aa57bb951dfaf675c69; c0c8edbc8abbe8f16d80a1d794d1ba2c12b6f193; \>= 4.19.270, \< 4.19.271; … (cvelist)
- Linux: 6.2 (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-53692. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53692.md
Affected: Linux >= 1ed1eef0551bebee8e56973ccd0900e3578edfb7, < 0ce15000dee0ecd6f235f925a327803e2ef489c6; >= 6f4200ec76a0d31200c308ec5a71c68df5417004, < a34f6dcb78c654ab905642c1b4e7e5fbb4f0babe; >= 9404839e0c9db5a517ea83c0ca3388b39d105fdf, < 770b0613637f59f3091dda1ff0c23671a5326b9c; >= d440d6427a5e3a877c1c259…
Fixed in: Linux 0ce15000dee0ecd6f235f925a327803e2ef489c6, Linux 770b0613637f59f3091dda1ff0c23671a5326b9c, Linux 40566def189c513be2c694681256d7486cc6e368, Linux 96d440bee177669dc0acedca0abd73bae6a9be8b, Linux 11c87c8df2cae1d6be83c07e59fef0792de73482, Linux 14da044725a3ab10affa3566d29c15737c0e67a4, Linux 83565…

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-53692 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 1ed1eef0551bebee8e56973ccd0900e3578edfb7, \< 0ce15000dee0ecd6f235f925a327803e2ef489c6; \>= 6f4200ec76a0d31200c308ec5a71c68df5417004, \< a34f6dcb78c654ab905642c1b4e7e5fbb4f0babe; \>= 9404839e0c9db5a517ea83c0ca3388b39d105fdf, \< 770b0613637f59f3091dda1ff0c23671a5326b9c; \>= d440d6427a5e3a877c1c259b8d2b216ddb65e185, \< 40566def189c513be2c694681256d7486cc6e368; \>= 81b915181c630ee1cffa052e52874fe4e1ba91ac, \< 96d440bee177669dc0acedca0abd73bae6a9be8b; \>= 131294c35ed6f777bd4e79d42af13b5c41bf2775, \< 11c87c8df2cae1d6be83c07e59fef0792de73482; \>= 131294c35ed6f777bd4e79d42af13b5c41bf2775, \< 14da044725a3ab10affa3566d29c15737c0e67a4; \>= 131294c35ed6f777bd4e79d42af13b5c41bf2775, \< 835659598c67907b98cd2aa57bb951dfaf675c69; c0c8edbc8abbe8f16d80a1d794d1ba2c12b6f193; \>= 4.19.270, \< 4.19.271; …; Linux 6.2.

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

Yes. Fixed in Linux 0ce15000dee0ecd6f235f925a327803e2ef489c6, Linux 770b0613637f59f3091dda1ff0c23671a5326b9c, Linux 40566def189c513be2c694681256d7486cc6e368, Linux 96d440bee177669dc0acedca0abd73bae6a9be8b, Linux 11c87c8df2cae1d6be83c07e59fef0792de73482, Linux 14da044725a3ab10affa3566d29c15737c0e67a4, Linux 835659598c67907b98cd2aa57bb951dfaf675c69, Linux 4.19.271. No fix listed yet: follow the vendor advisory.

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

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/0ce15000dee0ecd6f235f925a327803e2ef489c6>
- other: <https://git.kernel.org/stable/c/a34f6dcb78c654ab905642c1b4e7e5fbb4f0babe>
- other: <https://git.kernel.org/stable/c/770b0613637f59f3091dda1ff0c23671a5326b9c>
- other: <https://git.kernel.org/stable/c/40566def189c513be2c694681256d7486cc6e368>
- other: <https://git.kernel.org/stable/c/96d440bee177669dc0acedca0abd73bae6a9be8b>
- other: <https://git.kernel.org/stable/c/11c87c8df2cae1d6be83c07e59fef0792de73482>
- other: <https://git.kernel.org/stable/c/14da044725a3ab10affa3566d29c15737c0e67a4>
- other: <https://git.kernel.org/stable/c/835659598c67907b98cd2aa57bb951dfaf675c69>

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

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