Skip to main content
Network Thinking Solutions Logo

CVE-2025-38364

In the Linux kernel, the following vulnerability has been resolved: maple_tree: fix MA_STATE_PREALLOC flag in mas_preallocate() Temporarily clear the preallocation flag when explicitly requesting allocations.

All CVEs
CVE-2025-38364Published 7/25/2025

In the Linux kernel, the following vulnerability has been resolved: maple_tree: fix MA_STATE_PREALLOC flag in mas_preallocate() Temporarily clear the preallocation flag when explicitly requesting allocations.

Vendor advisory
CVSS5.5Medium

Overview

In the Linux kernel, the following vulnerability has been resolved: maple_tree: fix MA_STATE_PREALLOC flag in mas_preallocate() Temporarily clear the preallocation flag when explicitly requesting allocations. Pre-existing allocations are already counted against the request through mas_node_count_gfp(), but the allocations will not happen if the MA_STATE_PREALLOC flag is set. This flag is meant to avoid re-allocating in bulk allocation mode, and to detect issues with preallocation calculations. The MA_STATE_PREALLOC flag should also always be set on zero allocations so that detection of underflow allocations will print a WARN_ON() during consumption. User visible effect of this flaw is a WARN_ON() followed by a null pointer dereference when subsequent requests for larger number of nodes is ignored, such as the vma merge retry in mmap_region() caused by drivers altering the vma flags (which happens in v6.6, at least)

Published
7/25/2025
Last modified
11/5/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 6.1, < 6.1.146

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.99

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.36

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.15.5

Verify advisory

Source
linux kernel
linux
6.16

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
debian linux
debian
11.0

Verify advisory

Source
Linux
Linux
≥ 54a611b605901c7d5d05b6b8f5d04a6ceb0962aa, < d69cd64bd5af41c6fd409313504089970edaf02f

Verify advisory

Source
Linux
Linux
≥ 54a611b605901c7d5d05b6b8f5d04a6ceb0962aa, < e63032e66bca1d06e600033f3369ba3db3af0870

Verify advisory

Source
Linux
Linux
≥ 54a611b605901c7d5d05b6b8f5d04a6ceb0962aa, < cf95f8426f889949b738f51ffcd72884411f3a6a

Verify advisory

Source
Linux
Linux
≥ 54a611b605901c7d5d05b6b8f5d04a6ceb0962aa, < 9e32f4700867abbd5d19abfcf698dbd0d2ce36a4

Verify advisory

Source
Linux
Linux
≥ 54a611b605901c7d5d05b6b8f5d04a6ceb0962aa, < fba46a5d83ca8decb338722fb4899026d8d9ead2

Verify advisory

Source
Linux
Linux
6.1

Verify advisory

Source
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
Siemens
≥ V3.1.5, < *

Verify advisory

Source
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
Siemens
≥ V3.1.5, < *

Verify advisory

Source
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Siemens
≥ V3.1.5, < *

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.