CVE-2022-49898
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49898 is a vulnerability in the Linux kernel that affects the btrfs filesystem's tree modification log handling of reallocated nodes. The vulnerability was discovered when a kernel panic occurred at fs/btrfs/tree-mod-log.c:677 due to invalid opcode handling (NVD, Debian Tracker).

Technical details

The vulnerability occurs in the tree_mod_log_rewind() function when processing BTRFS_MOD_LOG_KEY_REMOVE_WHILE_FREEING operations. The issue arises because nodes are replayed in chronological order, and during a REPLACE operation, REMOVE_WHILE_FREEING is logged for every slot starting at 0. The bug is triggered when the number of REMOVE_WHILE_FREEING operations exceeds the number of items in the block (NVD).

Impact

When exploited, this vulnerability results in a kernel panic, causing system instability and potential denial of service. The issue specifically affects systems using the btrfs filesystem and can be triggered during certain filesystem operations (Wiz).

Mitigation and workarounds

The vulnerability has been fixed in the Linux kernel. Various Linux distributions have released patches to address this issue. For Debian, fixed versions are available in bookworm (6.1.129-1), bookworm security (6.1.135-1), trixie (6.12.22-1), and sid (6.12.25-1) (Debian Tracker).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-nvidia-6.14
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • linux-oracle-6.14
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-devel
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-debug-devel
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management