Bug 2396410 (CVE-2022-50377) - CVE-2022-50377 kernel: ext4: check and assert if marking an no_delete evicting inode dirty
Summary: CVE-2022-50377 kernel: ext4: check and assert if marking an no_delete evictin...
Keywords:
Status: NEW
Alias: CVE-2022-50377
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-18 14:03 UTC by OSIDB Bzimport
Modified: 2025-09-25 00:01 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-09-18 14:03:28 UTC
In the Linux kernel, the following vulnerability has been resolved:

ext4: check and assert if marking an no_delete evicting inode dirty

In ext4_evict_inode(), if we evicting an inode in the 'no_delete' path,
it cannot be raced by another mark_inode_dirty(). If it happens,
someone else may accidentally dirty it without holding inode refcount
and probably cause use-after-free issues in the writeback procedure.
It's indiscoverable and hard to debug, so add an WARN_ON_ONCE() to
check and detect this issue in advance.


Note You need to log in before you can comment on or make changes to this bug.