CVE-2025-22120: Linux kernel · ext4: goto right label 'out_mmap_sem' in ext4_setattr()
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 29 Oct 2026, 23:52 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
The vulnerability has been resolved in the Linux kernel. Until patched, affected systems may experience hung tasks when the error condition is triggered. No other mitigation or workaround is specified.
Description
CVE-2025-22120 is a medium severity vulnerability in the Linux kernel's ext4 filesystem code. It occurs in the ext4_setattr() function where an error path does not properly unlock a mapping invalidate lock, leading to a hung task condition. This can cause processes to block indefinitely, impacting system availability. The issue arises if ext4_inode_attach_jinode() fails, preventing filemap_invalidate_unlock() from being called. The vulnerability does not affect confidentiality or integrity but results in denial of service due to task hangs.
References
- nvd.nist.gov/vuln/detail/CVE-2025-22120 (opens in a new tab)
- git.kernel.org/stable/c/32d872e3905746ff1048078256cb00f946b97d8a (opens in a new tab)
- git.kernel.org/stable/c/45314999f950321a341033ae8f9ac12dce40669b (opens in a new tab)
- git.kernel.org/stable/c/551667f99bcf04fa58594d7d19aef73c861a1200 (opens in a new tab)
- git.kernel.org/stable/c/7e91ae31e2d264155dfd102101afc2de7bd74a64 (opens in a new tab)