Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-48631

5.5 · MEDIUM
Published Apr 28, 2024 linux EPSS 0.24% (14th pctl)

Overview

CVE-2022-48631 is a medium-severity vulnerability affecting linux linux_kernel. It was published on April 28, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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 bug in extents parsing when eh_entries == 0 and eh_depth > 0

When walking through an inode extents, the ext4_ext_binsearch_idx() function

assumes that the extent header has been previously validated. However, there

are no checks that verify that the number of entries (eh->eh_entries) is

non-zero when depth is > 0. And this will lead to problems because the

EXT_FIRST_INDEX() and EXT_LAST_INDEX() will return garbage and result in this:

[ 135.245946] ------------[ cut here ]------------

[ 135.247579] kernel BUG at fs/ext4/extents.c:2258!

[ 135.249045] invalid opcode: 0000 [#1] PREEMPT SMP

[ 135.250320] CPU: 2 PID: 238 Comm: tmp118 Not tainted 5.19.0-rc8+ #4

[ 135.252067] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.15.0-0-g2dd4b9b-rebuilt.opensuse.org 04/01/2014

[ 135.255065] RIP: 0010:ext4_ext_map_blocks+0xc20/0xcb0

[ 135.256475] Code:

[ 135.261433] RSP: 0018:ffffc900005939f8 E

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 0, < 5.4.215 Affected

Frequently Asked Questions

What is CVE-2022-48631?

CVE-2022-48631 is a medium-severity vulnerability affecting linux linux_kernel. It was published on April 28, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2022-48631?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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-48631?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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-48631?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-48631 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.