CVE-2022-49174
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability (CVE-2022-49174) was discovered in the ext4 filesystem's block bitmap handling with flex_bg feature enabled. The issue occurs in ext4_mb_mark_bb() function where it only reads the buffer_head of block bitmap once for the starting block group but fails to read it again when the extent length boundary overflows to another block group, resulting in memory access beyond the block group bitmap buffer_head (Kernel Git).

Technical details

The vulnerability exists in the ext4_mb_mark_bb() function when handling block bitmaps across group boundaries. When the flex_bg feature (enabled by default) is used, extents for any inode might span across blocks from two different block groups. The function only reads the buffer_head once and fails to update it when crossing group boundaries, leading to an out-of-bounds memory access in the loop that checks mb_test_bit(). This results in a data abort on Power platforms (Kernel Git).

Impact

The vulnerability can lead to data access abort and system crashes when mounting or performing operations on ext4 filesystems with the flex_bg feature enabled. This was demonstrated through a reproducible crash on Power architecture platforms (Kernel Git).

Exploitability

The issue can be triggered during normal filesystem operations when extents span across block group boundaries. It was easily reproducible on Power platforms, particularly during filesystem mounting operations (Kernel Git).

Mitigation and workarounds

The vulnerability has been fixed by adding functionality to check block group boundaries in ext4_mb_mark_bb() and updating the buffer_head(bitmap_bh) for every different block group. The fix involves modifying the function to properly handle cases where blocks span across group boundaries (Kernel Git).

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-2026-64597CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • linux-aws
NoYesAug 06, 2026
CVE-2026-68480HIGH8.8
  • Linux Kernel logoLinux Kernel
  • rv
NoYesAug 06, 2026
CVE-2026-64598HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-intel-iotg
NoYesAug 06, 2026
CVE-2026-64604HIGH7.7
  • Linux Kernel logoLinux Kernel
  • linux-hwe-5.15
NoYesAug 06, 2026
CVE-2026-64603NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.8
NoYesAug 06, 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