CVE-2022-49707
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49707 is a NULL pointer dereference vulnerability in the Linux kernel's ext4 filesystem component, discovered in 2022. The vulnerability occurs when resizing a corrupt ext4 image where the resize_inode feature has been cleared without running e2fsck. The issue affects Linux kernel versions from 4.9.320 through 5.18.6 (NVD).

Technical details

The vulnerability is triggered when the resizeinode feature is cleared and the filesystem is converted to metabg mode in ext4resizefs(), but the es->sreservedgdtblocks is not reduced to zero. This leads to mistakenly calling reservebackupgdb() with an uninitialized resizeinode when adding new group descriptors. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H and is classified as CWE-476 (NULL Pointer Dereference) (NVD).

Impact

When exploited, this vulnerability results in a NULL pointer dereference that can cause a kernel crash, leading to a denial of service condition. The vulnerability requires local access and can affect system availability but does not impact confidentiality or integrity (NVD).

Mitigation and workarounds

The fix involves adding a check in ext4resizebegin() to ensure that es->sreservedgdtblocks is zero when the resizeinode feature is disabled. This patch has been implemented in the Linux kernel. Users should update to a patched version of the kernel to mitigate this vulnerability (Kernel Patch).

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-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-modules-internal
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-debug-modules-extra
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • linux-nvidia-tegra
NoYesDec 09, 2025
CVE-2025-40345N/AN/A
  • Linux KernelLinux Kernel
  • kernel-headers
NoYesDec 12, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesDec 09, 2025

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