CVE-2025-22127
MEDIUM 5.5 ALL-YEARSIn the Linux kernel, the following vulnerability has been resolved: f2fs: fix potential deadloop in prepare_compress_overwrite() Jan Prusakowski reported a kernel hang issue as below: When running xfstests on linux-next kernel (6.14.0-rc3, 6.12) I encountered a problem in generic/475 test where fsstress process gets blocked in __f2fs_write_data_pages() and the test hangs. The options I used are: MKFS_OPTIONS -- -O compression -O extra_attr -O project_quota -O quota /dev/vdc MOUNT_OPTIONS -- -o acl,user_xattr -o discard,compress_extension=* /dev/vdc /vdc INFO: task kworker/u8:0:11 blocked for more than 122 seconds. Not tainted 6.14.0-rc3-xfstests-lockdep #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:0 state:D stack:0 pid:11 tgid:11 ppid:2 task_flags:0x4208160 flags:0x00004000 Workqueue: writeback wb_workfn (flush-253:0) Call Trace: <TASK> __schedule+0x309/0x8e0 schedule+0x3a/0x100 schedule_preempt_disabled+0x15/0x30 __mutex_lock+0x59a/0xdb0 __f2fs_write_data_pages+0x3ac/0x400 do_writepages+0xe8/0x290 __writeback_single_inode+0x5c/0x360 writeback_sb_inodes+0x22f/0x570 wb_writeback+0xb0/0x410 wb_do_writeback+0x47/0x2f0 wb_workfn+0x5a/0x1c0 process_one_work+0x223/0x5b0 worker_thread+0x1d5/0x3c0 kthread+0xfd/0x230 ret_from_fork+0x31/0x50 ret_from_fork_asm+0x1a/0x30 </TASK> The root cause is: once generic/475 starts toload error table to dm device, f2fs_prepare_compress_overwrite() will
No known exploitation, public exploit, or elevated probability at this time. Track for changes.
Exploitation likelihood
0.2%chance of exploitation in 30 days · 8th percentile
Impact if exploited
5.5CVSS 3.1 · MEDIUM · NVD
- ConfidentialityNone
- IntegrityNone
- AvailabilityHigh
What an attacker needs
- ⚠Access: Requires local access to the host
- ⚠Privileges: Requires a low-privilege account
- ✓User interaction: No user interaction needed
- ✓Complexity: No special conditions — reliably repeatable
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked weekly for the full archive, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Weakness (CWE)
- CWE-667: Improper Locking
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References and research data (JSON)
Vendor product assessments
Showing 32 of 274 vendor product statements; 242 omitted. Read the full vendor advisory.
kernel as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-64k-debug-modules-extra as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-64k-debug-modules-extra
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-debug-core as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-debug-core
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-devel-matched as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-devel-matched
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-rt-64k-debug as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-64k-debug
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-rt-64k-modules-extra as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-64k-modules-extra
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-rt-devel as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-devel
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-uki-virt-addons as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-uki-virt-addons
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel.src as a component of Red Hat Enterprise Linux 10 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel?arch=src
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-debug as a component of Red Hat Enterprise Linux 6 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-debug
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00perf as a component of Red Hat Enterprise Linux 6 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/perf
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-doc as a component of Red Hat Enterprise Linux 7 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-doc
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-rt-doc as a component of Red Hat Enterprise Linux 7 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-doc
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-tools-libs-devel as a component of Red Hat Enterprise Linux 7 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-tools-libs-devel
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-cross-headers as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-cross-headers
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-headers as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-headers
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-rt-debug-devel as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-debug-devel
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-rt-modules-internal as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-modules-internal
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-zfcpdump-devel as a component of Red Hat Enterprise Linux 8 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-zfcpdump-devel
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-64k-debug-modules-extra as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-64k-debug-modules-extra
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-64k-modules-partner as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-64k-modules-partner
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-debug-modules-core as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-debug-modules-core
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-headers as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-headers
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-rt-64k as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-64k
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-rt-64k-debug-modules-extra as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-64k-debug-modules-extra
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-rt-64k-modules-internal as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-64k-modules-internal
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-rt-debug-modules-core as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-debug-modules-core
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-rt-modules-extra as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-rt-modules-extra
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-tools-libs-devel as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-tools-libs-devel
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00kernel-zfcpdump-modules-extra as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/kernel-zfcpdump-modules-extra
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00rv as a component of Red Hat Enterprise Linux 9 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/rv
Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00
Known Affected Software Configurations
| Vendor | Product | Version range |
|---|---|---|
| Linux | Linux Kernel | ≥ 5.6 and < 6.14.2 |
References
Patches & mitigations
- https://git.kernel.org/stable/c/7215cf8ef54bdc9082dffac4662416d54961e258 CVE record · Linux · Updated 2026-10-21T12:36:18.208Z
NVD · CVE-2025-22127 · Updated 2026-10-21T13:18:04.873 - https://git.kernel.org/stable/c/3147ee567dd9004a49826ddeaf0a4b12865d4409 CVE record · Linux · Updated 2026-10-21T12:36:18.208Z
NVD · CVE-2025-22127 · Updated 2026-10-21T13:18:04.873
Advisories
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-22127.json Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-11167 EUVD · EUVD-2025-11167
Technical & other
- https://git.kernel.org/stable/c/4513843d58d8fa1daebd3817205a15309b146342CVE record · Linux · Updated 2026-10-21T12:36:18.208Z
NVD · CVE-2025-22127 · Updated 2026-10-21T13:18:04.873 - https://git.kernel.org/stable/c/7cd460bd9e7c6e6c30a33982603f65fb5deab1e4CVE record · Linux · Updated 2026-10-21T12:36:18.208Z
NVD · CVE-2025-22127 · Updated 2026-10-21T13:18:04.873 - https://access.redhat.com/security/cve/CVE-2025-22127 Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00
- https://bugzilla.redhat.com/show_bug.cgi?id=2360296 Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00
- https://www.cve.org/CVERecord?id=CVE-2025-22127 Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00
- https://nvd.nist.gov/vuln/detail/CVE-2025-22127 Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00
- https://lore.kernel.org/linux-cve-announce/2025041630-CVE-2025-22127-81a6@gregkh/T Red Hat · CVE-2025-22127 · Updated 2026-06-30T10:19:01+00:00
Sources: NVD · CVE.org · All sources and attribution · EPSS