← All CVEs

CVE-2025-22127

MEDIUM 5.5 ALL-YEARS

Published 2025-04-16 · Last modified 2026-10-21 · Linux · NVD: Modified

In 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

LIMITED SIGNALS

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

○ In CISA KEV○ Catalogued PoC

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.

Affected

Vendors Linux

Products Linux Linux Kernel

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:00
  • kernel-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:00
  • kernel-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:00
  • kernel-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:00
  • kernel-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:00
  • kernel-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:00
  • kernel-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:00
  • kernel-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:00
  • kernel.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:00
  • kernel-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:00
  • perf 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:00
  • kernel-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:00
  • kernel-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:00
  • kernel-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:00
  • kernel-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:00
  • kernel-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:00
  • kernel-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:00
  • kernel-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:00
  • kernel-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:00
  • kernel 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:00
  • kernel-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:00
  • kernel-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:00
  • kernel-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:00
  • kernel-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:00
  • kernel-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:00
  • kernel-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:00
  • kernel-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:00
  • kernel-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:00
  • kernel-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:00
  • kernel-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:00
  • kernel-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:00
  • rv 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

VendorProductVersion range
LinuxLinux Kernel≥ 5.6 and < 6.14.2

References

Patches & mitigations

Advisories

Technical & other

Sources: NVD · CVE.org · All sources and attribution · EPSS