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-2023-52622

5.5 · MEDIUM
Published Mar 26, 2024 linux CWE-770 EPSS 0.24% (15th pctl)

Overview

CVE-2023-52622 is a medium-severity vulnerability affecting linux linux_kernel. It was published on March 26, 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: avoid online resizing failures due to oversized flex bg

When we online resize an ext4 filesystem with a oversized flexbg_size,

mkfs.ext4 -F -G 67108864 $dev -b 4096 100M

mount $dev $dir

resize2fs $dev 16G

the following WARN_ON is triggered:

==================================================================

WARNING: CPU: 0 PID: 427 at mm/page_alloc.c:4402 __alloc_pages+0x411/0x550

Modules linked in: sg(E)

CPU: 0 PID: 427 Comm: resize2fs Tainted: G E 6.6.0-rc5+ #314

RIP: 0010:__alloc_pages+0x411/0x550

Call Trace:

<TASK>

__kmalloc_large_node+0xa2/0x200

__kmalloc+0x16e/0x290

ext4_resize_fs+0x481/0xd80

__ext4_ioctl+0x1616/0x1d90

ext4_ioctl+0x12/0x20

__x64_sys_ioctl+0xf0/0x150

do_syscall_64+0x3b/0x90

==================================================================

This is because flexbg_size is too large and the size of the new_group_data

array to be allocated exceeds MAX_ORDER. Currentl

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, < 4.19.307 Affected

Frequently Asked Questions

What is CVE-2023-52622?

CVE-2023-52622 is a medium-severity vulnerability affecting linux linux_kernel. It was published on March 26, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2023-52622?

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-2023-52622?

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-2023-52622?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-52622 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.