Menu

Star on GitHub · 3.4k

CVE-2022-49174

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: ext4: fix ext4_mb_mark_bb() with flex_bg with fast_commit In case of flex_bg feature (which is by default enabled), extents for…

Published Feb 26, 2025EPSS 0.28%

Overview

CVE-2022-49174 is a high-severity vulnerability. It was published on February 26, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

ext4: fix ext4_mb_mark_bb() with flex_bg with fast_commit

In case of flex_bg feature (which is by default enabled), extents for

any given inode might span across blocks from two different block group.

ext4_mb_mark_bb() only reads the buffer_head of block bitmap once for the

starting block group, but it fails to read it again when the extent length

boundary overflows to another block group. Then in this below loop it

accesses memory beyond the block group bitmap buffer_head and results

into a data abort.

for (i = 0; i < clen; i++)

if (!mb_test_bit(blkoff + i, bitmap_bh->b_data) == !state)

already++;

This patch adds this functionality for checking block group boundary in

ext4_mb_mark_bb() and update the buffer_head(bitmap_bh) for every different

block group.

w/o this patch, I was easily able to hit a data access abort using Power platform.

<...>

[ 74.327662] EXT4-fs error (device loop3): ext4_mb_generate_bu

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2022-49174?

CVE-2022-49174 is a high-severity vulnerability. It was published on February 26, 2025 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2022-49174?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-49174?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-49174?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-49174 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2022

View all
Watch the demo →