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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-38445— md/raid1: Fix stack memory use after return in raid1_reshape

AI Predicted 5.5 Difficulty: Moderate EPSS 0.17% · P7

Possible ATT&CK Techniques 1AI

T1499 · Endpoint Denial of Service

Affected Version Matrix 18

VendorProductVersion RangeStatus
LinuxLinuxafeee514ce7f4cab605beedd03be71ebaf0c5fc8< d8a6853d00fbaa810765c8ed2f452a5832273968affected
afeee514ce7f4cab605beedd03be71ebaf0c5fc8< 12b00ec99624f8da8c325f2dd6e807df26df0025affected
afeee514ce7f4cab605beedd03be71ebaf0c5fc8< 48da050b4f54ed639b66278d0ae6f4107b2c4e2daffected
afeee514ce7f4cab605beedd03be71ebaf0c5fc8< 5f35e48b76655e45522df338876dfef88dafcc71affected
afeee514ce7f4cab605beedd03be71ebaf0c5fc8< df5894014a92ff0196dbc212a7764e97366fd2b7affected
afeee514ce7f4cab605beedd03be71ebaf0c5fc8< 776e6186dc9ecbdb8a1b706e989166c8a99bbf64affected
afeee514ce7f4cab605beedd03be71ebaf0c5fc8< 61fd5e93006cf82ec8ee5c115ab5cf4bbd104bdbaffected
afeee514ce7f4cab605beedd03be71ebaf0c5fc8< d67ed2ccd2d1dcfda9292c0ea8697a9d0f2f0d98affected
… +10 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-38445

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
md/raid1: Fix stack memory use after return in raid1_reshape
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: md/raid1: Fix stack memory use after return in raid1_reshape In the raid1_reshape function, newpool is allocated on the stack and assigned to conf->r1bio_pool. This results in conf->r1bio_pool.wait.head pointing to a stack address. Accessing this address later can lead to a kernel panic. Example access path: raid1_reshape() { // newpool is on the stack mempool_t newpool, oldpool; // initialize newpool.wait.head to stack address mempool_init(&newpool, ...); conf->r1bio_pool = newpool; } raid1_read_request() or raid1_write_request() { alloc_r1bio() { mempool_alloc() { // if pool->alloc fails remove_element() { --pool->curr_nr; } } } } mempool_free() { if (pool->curr_nr < pool->min_nr) { // pool->wait.head is a stack address // wake_up() will try to access this invalid address // which leads to a kernel panic return; wake_up(&pool->wait); } } Fix: reinit conf->r1bio_pool.wait after assigning newpool.
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存在安全漏洞,该漏洞源于reshape操作后栈内存使用问题,可能导致内核崩溃。
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

VendorProductAffected VersionsCPESubscribe
LinuxLinux afeee514ce7f4cab605beedd03be71ebaf0c5fc8 ~ d8a6853d00fbaa810765c8ed2f452a5832273968 -
LinuxLinux 4.18 -

II. Public POCs for CVE-2025-38445

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-38445

登录查看更多情报信息。

Patches & Fixes for CVE-2025-38445 (1)

Same Patch Batch · Linux · 2025-07-25 · 114 CVEs total

CVE-2025-3842910.0 CRITICALbus: mhi: ep: Update read pointer only after buffer is written
CVE-2025-384309.8 CRITICALnfsd: nfsd4_spo_must_allow() must check this is a v4 compound request
CVE-2025-384119.8 CRITICALnetfs: Fix double put of request
CVE-2025-384399.8 CRITICALbnxt_en: Set DMA unmap len correctly for XDP_REDIRECT
CVE-2025-383659.1 CRITICALbtrfs: fix a race between renames and directory logging
CVE-2025-383778.8 HIGHrose: fix dangling neighbour pointers in rose_rt_device_down()
CVE-2025-383678.8 HIGHLoongArch: KVM: Avoid overflow with array index
CVE-2025-384378.8 HIGHksmbd: fix potential use-after-free in oplock/lease break ack
CVE-2025-383758.4 HIGHvirtio-net: ensure the received length does not exceed allocated size
CVE-2025-383958.4 HIGHregulator: gpio: Fix the out-of-bounds access to drvdata::gpiods
CVE-2025-384497.8 HIGHdrm/gem: Acquire references on GEM handles for framebuffers
CVE-2025-384537.8 HIGHio_uring/msg_ring: ensure io_kiocb freeing is deferred for RCU
CVE-2025-383967.8 HIGHfs: export anon_inode_make_secure_inode() and fix secretmem LSM bypass
CVE-2025-384127.8 HIGHplatform/x86: dell-wmi-sysman: Fix WMI data block retrieval in sysfs callbacks
CVE-2025-384087.8 HIGHgenirq/irq_sim: Initialize work context pointers properly
CVE-2025-383867.8 HIGHACPICA: Refuse to evaluate a method if arguments are missing
CVE-2025-384477.8 HIGHmm/rmap: fix potential out-of-bounds page table access during batched unmap
CVE-2025-384407.8 HIGHnet/mlx5e: Fix race between DIM disable and net_dim()
CVE-2025-383827.8 HIGHbtrfs: fix iteration of extrefs during log replay
CVE-2025-384167.8 HIGHNFC: nci: uart: Set tty->disc_data only in success path

Showing top 20 of 114 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-38445

No comments yet


Leave a comment