# CVE-2022-50730: ext4: silence the warning when evicting inode with dioread\_nolock

> 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.28% (percentile 13, 2026-11-26)
- **Published:** 2025-12-24T12:22:50.416Z
- **Modified:** 2026-11-10T12:10:00.177Z

## Who should check

- Anyone running Linux \>= ceff86fddae8748fe00d4f2d249cb02cae62ad84, \< bdc698ce91f232fd5eb11d2373e9f82f687314b8; \>= ceff86fddae8748fe00d4f2d249cb02cae62ad84, \< 0d041b7251c13679a0f6c7926751ce1d8a7237c1; \>= ceff86fddae8748fe00d4f2d249cb02cae62ad84, \< 3b893cc9a8d8b4e486a6639f5e107b56b7197d2e; \>= ceff86fddae8748fe00d4f2d249cb02cae62ad84, \< b085fb43feede48ebf80ab7e2dd150c8d9902932; \>= ceff86fddae8748fe00d4f2d249cb02cae62ad84, \< bc12ac98ea2e1b70adc6478c8b473a0003b659d3
- Anyone running Linux 5.8

## Description

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

ext4: silence the warning when evicting inode with dioread\_nolock

When evicting an inode with default dioread\_nolock, it could be raced by
the unwritten extents converting kworker after writeback some new
allocated dirty blocks. It convert unwritten extents to written, the
extents could be merged to upper level and free extent blocks, so it
could mark the inode dirty again even this inode has been marked
I\_FREEING. But the inode-\>i\_io\_list check and warning in
ext4\_evict\_inode() missing this corner case. Fortunately,
ext4\_evict\_inode() will wait all extents converting finished before this
check, so it will not lead to inode use-after-free problem, every thing
is OK besides this warning. The WARN\_ON\_ONCE was originally designed
for finding inode use-after-free issues in advance, but if we add
current dioread\_nolock case in, it will become not quite useful, so fix
this warning by just remove this check.

 ======
 WARNING: CPU: 7 PID: 1092 at fs/ext4/inode.c:227
 ext4\_evict\_inode+0x875/0xc60
 ...
 RIP: 0010:ext4\_evict\_inode+0x875/0xc60
 ...
 Call Trace:
  \<TASK\>
  evict+0x11c/0x2b0
  iput+0x236/0x3a0
  do\_unlinkat+0x1b4/0x490
  \_\_x64\_sys\_unlinkat+0x4c/0xb0
  do\_syscall\_64+0x3b/0x90
  entry\_SYSCALL\_64\_after\_hwframe+0x46/0xb0
 RIP: 0033:0x7fa933c1115b
 ======

rm                          kworker
                            ext4\_end\_io\_end()
vfs\_unlink()
 ext4\_unlink()
                             ext4\_convert\_unwritten\_io\_end\_vec()
                              ext4\_convert\_unwritten\_extents()
                               ext4\_map\_blocks()
                                ext4\_ext\_map\_blocks()
                                 ext4\_ext\_try\_to\_merge\_up()
                                  \_\_mark\_inode\_dirty()
                                   check !I\_FREEING
                                   locked\_inode\_to\_wb\_and\_lock\_list()
 iput()
  iput\_final()
   evict()
    ext4\_evict\_inode()
     truncate\_inode\_pages\_final() //wait release io\_end
                                    inode\_io\_list\_move\_locked()
                             ext4\_release\_io\_end()
     trigger WARN\_ON\_ONCE()

## Affected and fixed versions

- Linux: \>= ceff86fddae8748fe00d4f2d249cb02cae62ad84, \< bdc698ce91f232fd5eb11d2373e9f82f687314b8; \>= ceff86fddae8748fe00d4f2d249cb02cae62ad84, \< 0d041b7251c13679a0f6c7926751ce1d8a7237c1; \>= ceff86fddae8748fe00d4f2d249cb02cae62ad84, \< 3b893cc9a8d8b4e486a6639f5e107b56b7197d2e; \>= ceff86fddae8748fe00d4f2d249cb02cae62ad84, \< b085fb43feede48ebf80ab7e2dd150c8d9902932; \>= ceff86fddae8748fe00d4f2d249cb02cae62ad84, \< bc12ac98ea2e1b70adc6478c8b473a0003b659d3 (cvelist)
- Linux: 5.8 (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-2022-50730. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50730.md
Affected: Linux >= ceff86fddae8748fe00d4f2d249cb02cae62ad84, < bdc698ce91f232fd5eb11d2373e9f82f687314b8; >= ceff86fddae8748fe00d4f2d249cb02cae62ad84, < 0d041b7251c13679a0f6c7926751ce1d8a7237c1; >= ceff86fddae8748fe00d4f2d249cb02cae62ad84, < 3b893cc9a8d8b4e486a6639f5e107b56b7197d2e; >= ceff86fddae8748fe00d4f2…
Fixed in: Linux 0d041b7251c13679a0f6c7926751ce1d8a7237c1, Linux 3b893cc9a8d8b4e486a6639f5e107b56b7197d2e

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-2022-50730 being exploited?

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

### How serious is CVE-2022-50730?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2022-50730?

Linux \>= ceff86fddae8748fe00d4f2d249cb02cae62ad84, \< bdc698ce91f232fd5eb11d2373e9f82f687314b8; \>= ceff86fddae8748fe00d4f2d249cb02cae62ad84, \< 0d041b7251c13679a0f6c7926751ce1d8a7237c1; \>= ceff86fddae8748fe00d4f2d249cb02cae62ad84, \< 3b893cc9a8d8b4e486a6639f5e107b56b7197d2e; \>= ceff86fddae8748fe00d4f2d249cb02cae62ad84, \< b085fb43feede48ebf80ab7e2dd150c8d9902932; \>= ceff86fddae8748fe00d4f2d249cb02cae62ad84, \< bc12ac98ea2e1b70adc6478c8b473a0003b659d3; Linux 5.8.

### Is there a fix for CVE-2022-50730?

Yes. Fixed in Linux 0d041b7251c13679a0f6c7926751ce1d8a7237c1, Linux 3b893cc9a8d8b4e486a6639f5e107b56b7197d2e. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-50730?

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/bdc698ce91f232fd5eb11d2373e9f82f687314b8>
- other: <https://git.kernel.org/stable/c/0d041b7251c13679a0f6c7926751ce1d8a7237c1>
- other: <https://git.kernel.org/stable/c/3b893cc9a8d8b4e486a6639f5e107b56b7197d2e>
- other: <https://git.kernel.org/stable/c/b085fb43feede48ebf80ab7e2dd150c8d9902932>
- other: <https://git.kernel.org/stable/c/bc12ac98ea2e1b70adc6478c8b473a0003b659d3>

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

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