# CVE-2023-53100: ext4: fix WARNING in ext4\_update\_inline\_data

> 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.31% (percentile 16, 2026-11-26)
- **Published:** 2025-05-02T15:55:43.113Z
- **Modified:** 2026-10-15T22:17:37.323Z

## Who should check

- Anyone running Linux \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< c5aa102b433b1890e1ccaa40c06826c77dda1665; \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< 39c5df2ca544368b44b59d0f6d80131e90763371; \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< 74d775083e9f3d9dadf9e3b5f3e0028d1ad0bd5c; \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< a9bd94f67b27739bbe8583c52256502bd4cc7e83; \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< ca500cf2eceb5a8e93bf71ab97b5f7a18ecabce2; \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< 35161cec76772f74526f5886ad4082ec48511d5c; \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< 92eee6a82a9a6f9f83559e17a2b6b935e1a5cd25; \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< 2b96b4a5d9443ca4cad58b0040be455803c05a42
- Anyone running Linux 3.8

## Description

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

ext4: fix WARNING in ext4\_update\_inline\_data

Syzbot found the following issue:
EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 without journal. Quota mode: none.
fscrypt: AES-256-CTS-CBC using implementation "cts-cbc-aes-aesni"
fscrypt: AES-256-XTS using implementation "xts-aes-aesni"
------------\[ cut here \]------------
WARNING: CPU: 0 PID: 5071 at mm/page\_alloc.c:5525 \_\_alloc\_pages+0x30a/0x560 mm/page\_alloc.c:5525
Modules linked in:
CPU: 1 PID: 5071 Comm: syz-executor263 Not tainted 6.2.0-rc1-syzkaller \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:\_\_alloc\_pages+0x30a/0x560 mm/page\_alloc.c:5525
RSP: 0018:ffffc90003c2f1c0 EFLAGS: 00010246
RAX: ffffc90003c2f220 RBX: 0000000000000014 RCX: 0000000000000000
RDX: 0000000000000028 RSI: 0000000000000000 RDI: ffffc90003c2f248
RBP: ffffc90003c2f2d8 R08: dffffc0000000000 R09: ffffc90003c2f220
R10: fffff52000785e49 R11: 1ffff92000785e44 R12: 0000000000040d40
R13: 1ffff92000785e40 R14: dffffc0000000000 R15: 1ffff92000785e3c
FS:  0000555556c0d300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f95d5e04138 CR3: 00000000793aa000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 \<TASK\>
 \_\_alloc\_pages\_node include/linux/gfp.h:237 \[inline\]
 alloc\_pages\_node include/linux/gfp.h:260 \[inline\]
 \_\_kmalloc\_large\_node+0x95/0x1e0 mm/slab\_common.c:1113
 \_\_do\_kmalloc\_node mm/slab\_common.c:956 \[inline\]
 \_\_kmalloc+0xfe/0x190 mm/slab\_common.c:981
 kmalloc include/linux/slab.h:584 \[inline\]
 kzalloc include/linux/slab.h:720 \[inline\]
 ext4\_update\_inline\_data+0x236/0x6b0 fs/ext4/inline.c:346
 ext4\_update\_inline\_dir fs/ext4/inline.c:1115 \[inline\]
 ext4\_try\_add\_inline\_entry+0x328/0x990 fs/ext4/inline.c:1307
 ext4\_add\_entry+0x5a4/0xeb0 fs/ext4/namei.c:2385
 ext4\_add\_nondir+0x96/0x260 fs/ext4/namei.c:2772
 ext4\_create+0x36c/0x560 fs/ext4/namei.c:2817
 lookup\_open fs/namei.c:3413 \[inline\]
 open\_last\_lookups fs/namei.c:3481 \[inline\]
 path\_openat+0x12ac/0x2dd0 fs/namei.c:3711
 do\_filp\_open+0x264/0x4f0 fs/namei.c:3741
 do\_sys\_openat2+0x124/0x4e0 fs/open.c:1310
 do\_sys\_open fs/open.c:1326 \[inline\]
 \_\_do\_sys\_openat fs/open.c:1342 \[inline\]
 \_\_se\_sys\_openat fs/open.c:1337 \[inline\]
 \_\_x64\_sys\_openat+0x243/0x290 fs/open.c:1337
 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

Above issue happens as follows:
ext4\_iget
   ext4\_find\_inline\_data\_nolock -\>i\_inline\_off=164 i\_inline\_size=60
ext4\_try\_add\_inline\_entry
   \_\_ext4\_mark\_inode\_dirty
      ext4\_expand\_extra\_isize\_ea -\>i\_extra\_isize=32 s\_want\_extra\_isize=44
         ext4\_xattr\_shift\_entries
	 -\>after shift i\_inline\_off is incorrect, actually is change to 176
ext4\_try\_add\_inline\_entry
  ext4\_update\_inline\_dir
    get\_max\_inline\_xattr\_value\_size
      if (EXT4\_I(inode)-\>i\_inline\_off)
	entry = (struct ext4\_xattr\_entry \*)((void \*)raw\_inode +
			EXT4\_I(inode)-\>i\_inline\_off);
        free += EXT4\_XATTR\_SIZE(le32\_to\_cpu(entry-\>e\_value\_size));
	-\>As entry is incorrect, then 'free' may be negative
   ext4\_update\_inline\_data
      value = kzalloc(len, GFP\_NOFS);
      -\> len is unsigned int, maybe very large, then trigger warning when
         'kzalloc()'

To resolve the above issue we need to update 'i\_inline\_off' after
'ext4\_xattr\_shift\_entries()'.  We do not need to set
EXT4\_STATE\_MAY\_INLINE\_DATA flag here, since ext4\_mark\_inode\_dirty()
already sets this flag if needed.  Setting EXT4\_STATE\_MAY\_INLINE\_DATA
when it is needed may trigger a BUG\_ON in ext4\_writepages().

## Affected and fixed versions

- Linux: \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< c5aa102b433b1890e1ccaa40c06826c77dda1665; \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< 39c5df2ca544368b44b59d0f6d80131e90763371; \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< 74d775083e9f3d9dadf9e3b5f3e0028d1ad0bd5c; \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< a9bd94f67b27739bbe8583c52256502bd4cc7e83; \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< ca500cf2eceb5a8e93bf71ab97b5f7a18ecabce2; \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< 35161cec76772f74526f5886ad4082ec48511d5c; \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< 92eee6a82a9a6f9f83559e17a2b6b935e1a5cd25; \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< 2b96b4a5d9443ca4cad58b0040be455803c05a42 (cvelist)
- Linux: 3.8 (cvelist)

## Mitigation

- Upgrade Linux to 2b96b4a5d9443ca4cad58b0040be455803c05a42 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53100.md
Affected: Linux >= 67cf5b09a46f72e048501b84996f2f77bc42e947, < c5aa102b433b1890e1ccaa40c06826c77dda1665; >= 67cf5b09a46f72e048501b84996f2f77bc42e947, < 39c5df2ca544368b44b59d0f6d80131e90763371; >= 67cf5b09a46f72e048501b84996f2f77bc42e947, < 74d775083e9f3d9dadf9e3b5f3e0028d1ad0bd5c; >= 67cf5b09a46f72e048501b8…
Fixed in: Linux 39c5df2ca544368b44b59d0f6d80131e90763371, Linux 74d775083e9f3d9dadf9e3b5f3e0028d1ad0bd5c, Linux 35161cec76772f74526f5886ad4082ec48511d5c, Linux 92eee6a82a9a6f9f83559e17a2b6b935e1a5cd25, Linux 2b96b4a5d9443ca4cad58b0040be455803c05a42

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

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

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

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

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

Linux \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< c5aa102b433b1890e1ccaa40c06826c77dda1665; \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< 39c5df2ca544368b44b59d0f6d80131e90763371; \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< 74d775083e9f3d9dadf9e3b5f3e0028d1ad0bd5c; \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< a9bd94f67b27739bbe8583c52256502bd4cc7e83; \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< ca500cf2eceb5a8e93bf71ab97b5f7a18ecabce2; \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< 35161cec76772f74526f5886ad4082ec48511d5c; \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< 92eee6a82a9a6f9f83559e17a2b6b935e1a5cd25; \>= 67cf5b09a46f72e048501b84996f2f77bc42e947, \< 2b96b4a5d9443ca4cad58b0040be455803c05a42; Linux 3.8.

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

Yes. Fixed in Linux 39c5df2ca544368b44b59d0f6d80131e90763371, Linux 74d775083e9f3d9dadf9e3b5f3e0028d1ad0bd5c, Linux 35161cec76772f74526f5886ad4082ec48511d5c, Linux 92eee6a82a9a6f9f83559e17a2b6b935e1a5cd25, Linux 2b96b4a5d9443ca4cad58b0040be455803c05a42. Upgrade Linux to 2b96b4a5d9443ca4cad58b0040be455803c05a42 or later.

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

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

- patch: <https://git.kernel.org/stable/c/c5aa102b433b1890e1ccaa40c06826c77dda1665>
- patch: <https://git.kernel.org/stable/c/39c5df2ca544368b44b59d0f6d80131e90763371>
- patch: <https://git.kernel.org/stable/c/74d775083e9f3d9dadf9e3b5f3e0028d1ad0bd5c>
- patch: <https://git.kernel.org/stable/c/a9bd94f67b27739bbe8583c52256502bd4cc7e83>
- patch: <https://git.kernel.org/stable/c/ca500cf2eceb5a8e93bf71ab97b5f7a18ecabce2>
- patch: <https://git.kernel.org/stable/c/35161cec76772f74526f5886ad4082ec48511d5c>
- patch: <https://git.kernel.org/stable/c/92eee6a82a9a6f9f83559e17a2b6b935e1a5cd25>
- patch: <https://git.kernel.org/stable/c/2b96b4a5d9443ca4cad58b0040be455803c05a42>

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

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