# CVE-2023-53089: ext4: fix task hung in ext4\_xattr\_delete\_inode

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.29% (percentile 14, 2026-11-28)
- **CWE:** CWE-835
- **Published:** 2025-05-02T15:55:35.498Z
- **Modified:** 2026-11-05T21:17:12.163Z

## Who should check

- Anyone running Linux \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< efddc7e106fdf8d1f62d45e79de78f63b7c04fba; \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< 64b72f5e7574020dea62ab733d88a54d903c42a1; \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< 2c96c52aeaa6fd9163cfacdd98778b4a0398ef18; \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< a98160d8f3e6242ca9b7f443f26e7ef3a61ba684; \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< 1aec41c98cce61d19ce89650895e51b9f3cdef13; \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< 94fd091576b12540924f6316ebc0678e84cb2800; \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< 73f7987fe1b82596f1a380e85cd0097ebaae7e01; \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< 0f7bfd6f8164be32dbbdf36aa1e5d00485c53cd7
- Anyone running Linux 4.13

## Description

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

ext4: fix task hung in ext4\_xattr\_delete\_inode

Syzbot reported a hung task problem:
==================================================================
INFO: task syz-executor232:5073 blocked for more than 143 seconds.
      Not tainted 6.2.0-rc2-syzkaller-00024-g512dee0c00ad \#0
"echo 0 \> /proc/sys/kernel/hung\_task\_timeout\_secs" disables this message.
task:syz-exec232 state:D stack:21024 pid:5073 ppid:5072 flags:0x00004004
Call Trace:
 \<TASK\>
 context\_switch kernel/sched/core.c:5244 \[inline\]
 \_\_schedule+0x995/0xe20 kernel/sched/core.c:6555
 schedule+0xcb/0x190 kernel/sched/core.c:6631
 \_\_wait\_on\_freeing\_inode fs/inode.c:2196 \[inline\]
 find\_inode\_fast+0x35a/0x4c0 fs/inode.c:950
 iget\_locked+0xb1/0x830 fs/inode.c:1273
 \_\_ext4\_iget+0x22e/0x3ed0 fs/ext4/inode.c:4861
 ext4\_xattr\_inode\_iget+0x68/0x4e0 fs/ext4/xattr.c:389
 ext4\_xattr\_inode\_dec\_ref\_all+0x1a7/0xe50 fs/ext4/xattr.c:1148
 ext4\_xattr\_delete\_inode+0xb04/0xcd0 fs/ext4/xattr.c:2880
 ext4\_evict\_inode+0xd7c/0x10b0 fs/ext4/inode.c:296
 evict+0x2a4/0x620 fs/inode.c:664
 ext4\_orphan\_cleanup+0xb60/0x1340 fs/ext4/orphan.c:474
 \_\_ext4\_fill\_super fs/ext4/super.c:5516 \[inline\]
 ext4\_fill\_super+0x81cd/0x8700 fs/ext4/super.c:5644
 get\_tree\_bdev+0x400/0x620 fs/super.c:1282
 vfs\_get\_tree+0x88/0x270 fs/super.c:1489
 do\_new\_mount+0x289/0xad0 fs/namespace.c:3145
 do\_mount fs/namespace.c:3488 \[inline\]
 \_\_do\_sys\_mount fs/namespace.c:3697 \[inline\]
 \_\_se\_sys\_mount+0x2d3/0x3c0 fs/namespace.c:3674
 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:0x7fa5406fd5ea
RSP: 002b:00007ffc7232f968 EFLAGS: 00000202 ORIG\_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fa5406fd5ea
RDX: 0000000020000440 RSI: 0000000020000000 RDI: 00007ffc7232f970
RBP: 00007ffc7232f970 R08: 00007ffc7232f9b0 R09: 0000000000000432
R10: 0000000000804a03 R11: 0000000000000202 R12: 0000000000000004
R13: 0000555556a7a2c0 R14: 00007ffc7232f9b0 R15: 0000000000000000
 \</TASK\>
==================================================================

The problem is that the inode contains an xattr entry with ea\_inum of 15
when cleaning up an orphan inode \<15\>. When evict inode \<15\>, the reference
counting of the corresponding EA inode is decreased. When EA inode \<15\> is
found by find\_inode\_fast() in \_\_ext4\_iget(), it is found that the EA inode
holds the I\_FREEING flag and waits for the EA inode to complete deletion.
As a result, when inode \<15\> is being deleted, we wait for inode \<15\> to
complete the deletion, resulting in an infinite loop and triggering Hung
Task. To solve this problem, we only need to check whether the ino of EA
inode and parent is the same before getting EA inode.

## Affected and fixed versions

- Linux: \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< efddc7e106fdf8d1f62d45e79de78f63b7c04fba; \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< 64b72f5e7574020dea62ab733d88a54d903c42a1; \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< 2c96c52aeaa6fd9163cfacdd98778b4a0398ef18; \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< a98160d8f3e6242ca9b7f443f26e7ef3a61ba684; \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< 1aec41c98cce61d19ce89650895e51b9f3cdef13; \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< 94fd091576b12540924f6316ebc0678e84cb2800; \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< 73f7987fe1b82596f1a380e85cd0097ebaae7e01; \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< 0f7bfd6f8164be32dbbdf36aa1e5d00485c53cd7 (cvelist)
- Linux: 4.13 (cvelist)

## Mitigation

- Upgrade Linux to 0f7bfd6f8164be32dbbdf36aa1e5d00485c53cd7 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-53089. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53089.md
Affected: Linux >= e50e5129f384ae282adebfb561189cdb19b81cee, < efddc7e106fdf8d1f62d45e79de78f63b7c04fba; >= e50e5129f384ae282adebfb561189cdb19b81cee, < 64b72f5e7574020dea62ab733d88a54d903c42a1; >= e50e5129f384ae282adebfb561189cdb19b81cee, < 2c96c52aeaa6fd9163cfacdd98778b4a0398ef18; >= e50e5129f384ae282adebfb…
Fixed in: Linux 64b72f5e7574020dea62ab733d88a54d903c42a1, Linux 2c96c52aeaa6fd9163cfacdd98778b4a0398ef18, Linux 1aec41c98cce61d19ce89650895e51b9f3cdef13, Linux 94fd091576b12540924f6316ebc0678e84cb2800, Linux 73f7987fe1b82596f1a380e85cd0097ebaae7e01, Linux 0f7bfd6f8164be32dbbdf36aa1e5d00485c53cd7

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

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< efddc7e106fdf8d1f62d45e79de78f63b7c04fba; \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< 64b72f5e7574020dea62ab733d88a54d903c42a1; \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< 2c96c52aeaa6fd9163cfacdd98778b4a0398ef18; \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< a98160d8f3e6242ca9b7f443f26e7ef3a61ba684; \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< 1aec41c98cce61d19ce89650895e51b9f3cdef13; \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< 94fd091576b12540924f6316ebc0678e84cb2800; \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< 73f7987fe1b82596f1a380e85cd0097ebaae7e01; \>= e50e5129f384ae282adebfb561189cdb19b81cee, \< 0f7bfd6f8164be32dbbdf36aa1e5d00485c53cd7; Linux 4.13.

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

Yes. Fixed in Linux 64b72f5e7574020dea62ab733d88a54d903c42a1, Linux 2c96c52aeaa6fd9163cfacdd98778b4a0398ef18, Linux 1aec41c98cce61d19ce89650895e51b9f3cdef13, Linux 94fd091576b12540924f6316ebc0678e84cb2800, Linux 73f7987fe1b82596f1a380e85cd0097ebaae7e01, Linux 0f7bfd6f8164be32dbbdf36aa1e5d00485c53cd7. Upgrade Linux to 0f7bfd6f8164be32dbbdf36aa1e5d00485c53cd7 or later.

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

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/efddc7e106fdf8d1f62d45e79de78f63b7c04fba>
- patch: <https://git.kernel.org/stable/c/64b72f5e7574020dea62ab733d88a54d903c42a1>
- patch: <https://git.kernel.org/stable/c/2c96c52aeaa6fd9163cfacdd98778b4a0398ef18>
- patch: <https://git.kernel.org/stable/c/a98160d8f3e6242ca9b7f443f26e7ef3a61ba684>
- patch: <https://git.kernel.org/stable/c/1aec41c98cce61d19ce89650895e51b9f3cdef13>
- patch: <https://git.kernel.org/stable/c/94fd091576b12540924f6316ebc0678e84cb2800>
- patch: <https://git.kernel.org/stable/c/73f7987fe1b82596f1a380e85cd0097ebaae7e01>
- patch: <https://git.kernel.org/stable/c/0f7bfd6f8164be32dbbdf36aa1e5d00485c53cd7>

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

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