Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-52622— ext4: avoid online resizing failures due to oversized flex bg

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于flexbg_size过大而导致调整 ext4 文件系统大小失败。

AI Predicted 5.5 Difficulty: Moderate EPSS 0.24% · P14

Possible ATT&CK Techniques 1 AI

T1562.001

Affected Version Matrix 18

VendorProduct Version RangeStatus
Linux Linux 28c7bac0091687e6116ebd6c179e154ae4053c90< cd1f93ca97a9136989f3bd2bf90696732a2ed644 affected
28c7bac0091687e6116ebd6c179e154ae4053c90< b183fe8702e78bba3dcef8e7193cab6898abee07 affected
28c7bac0091687e6116ebd6c179e154ae4053c90< cfbbb3199e71b63fc26cee0ebff327c47128a1e8 affected
28c7bac0091687e6116ebd6c179e154ae4053c90< d76c8d7ffe163c6bf2f1ef680b0539c2b3902b90 affected
28c7bac0091687e6116ebd6c179e154ae4053c90< 6d2cbf517dcabc093159cf138ad5712c9c7fa954 affected
28c7bac0091687e6116ebd6c179e154ae4053c90< 8b1413dbfe49646eda2c00c0f1144ee9d3368e0c affected
28c7bac0091687e6116ebd6c179e154ae4053c90< dc3e0f55bec4410f3d74352c4a7c79f518088ee2 affected
28c7bac0091687e6116ebd6c179e154ae4053c90< 5d1935ac02ca5aee364a449a35e2977ea84509b0 affected
… +10 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-52622

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ext4: avoid online resizing failures due to oversized flex bg
Source: CVE Program / CVE List V5
Vulnerability 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. Currently, the minimum value of MAX_ORDER is 8, the minimum value of PAGE_SIZE is 4096, the corresponding maximum number of groups that can be allocated is: (PAGE_SIZE << MAX_ORDER) / sizeof(struct ext4_new_group_data) ≈ 21845 And the value that is down-aligned to the power of 2 is 16384. Therefore, this value is defined as MAX_RESIZE_BG, and the number of groups added each time does not exceed this value during resizing, and is added multiple times to complete the online resizing. The difference is that the metadata in a flex_bg may be more dispersed.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于flexbg_size过大而导致调整 ext4 文件系统大小失败。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 28c7bac0091687e6116ebd6c179e154ae4053c90 ~ cd1f93ca97a9136989f3bd2bf90696732a2ed644 -
Linux Linux 3.3 -

II. Public POCs for CVE-2023-52622

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-52622

请登录查看更多情报信息。

Mailing List Discussions for CVE-2023-52622 (2)

Other References for CVE-2023-52622 (8)

Same Patch Batch · Linux · 2024-03-26 · 13 CVEs total

CVE-2023-52623 7.8 HIGH SUNRPC: Fix a suspicious RCU usage warning
CVE-2024-26646 7.8 HIGH thermal: intel: hfi: Add syscore callbacks for system-wide PM
CVE-2024-26644 btrfs: don't abort filesystem when attempting to snapshot deleted subvolume
CVE-2024-26645 tracing: Ensure visibility when inserting an element into tracing_map
CVE-2023-52621 bpf: Check rcu_read_lock_trace_held() before calling bpf map helpers
CVE-2023-52624 drm/amd/display: Wake DMCUB before executing GPINT commands
CVE-2023-52625 drm/amd/display: Refactor DMCUB enter/exit idle interface
CVE-2023-52626 net/mlx5e: Fix operation precedence bug in port timestamping napi_poll context
CVE-2023-52627 iio: adc: ad7091r: Allow users to configure device events
CVE-2024-26647 drm/amd/display: Fix late derefrence 'dsc' check in 'link_set_dsc_pps_packet()'
CVE-2024-26648 drm/amd/display: Fix variable deferencing before NULL check in edp_setup_replay()
CVE-2024-26649 drm/amdgpu: Fix the null pointer when load rlc firmware

IV. Related Vulnerabilities

V. Comments for CVE-2023-52622

No comments yet


Leave a comment