CVE-2025-38451

md/md-bitmap: fix GPF in bitmap_get_stats()

MEDIUM
5.5
CVSS Score
Published: July 25, 2025 at 03:27 PM UTC
Updated: October 15, 2026 at 01:07 AM UTC
5 products affected across 3 vendorsLinux KernelDebian LinuxSIMATIC S7-1500 CPU 1518-4 Pn /dp MFP Firmware

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: md/md-bitmap: fix GPF in bitmap_get_stats() The commit message of commit 6ec1f0239485 ("md/md-bitmap: fix stats collection for external bitmaps") states: Remove the external bitmap check as the statistics should be available regardless of bitmap storage location. Return -EINVAL only for invalid bitmap with no storage (neither in superblock nor in external file). But, the code does not adhere to the above, as it does only check for a valid super-block for "internal" bitmaps. Hence, we observe: Oops: GPF, probably for non-canonical address 0x1cd66f1f40000028 RIP: 0010:bitmap_get_stats+0x45/0xd0 Call Trace: seq_read_iter+0x2b9/0x46a seq_read+0x12f/0x180 proc_reg_read+0x57/0xb0 vfs_read+0xf6/0x380 ksys_read+0x6d/0xf0 do_syscall_64+0x8c/0x1b0 entry_SYSCALL_64_after_hwframe+0x76/0x7e We fix this by checking the existence of a super-block for both the internal and external case.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 6.14.46.1.135 ≤ v < 6.1.1466.12.25 ≤ v < 6.12.396.14.4 ≤ v < 6.156.15 ≤ v < 6.15.76.15 ≤ v < 6.166.15.1 ≤ v < 6.15.76.6.88 ≤ v < 6.6.990b5390aeaa85eb2f15e0e2ea0731c0995285db5e6.1.1356.12.256.14.46.156.15 rc36.15 rc46.15 rc56.15 rc66.15 rc76.16 rc16.16 rc26.16 rc36.16 rc46.16 rc56.6.8865f4b1cd41d3702426af44193894b9256070736ec1f0239485028445d213d91cfee5242f3211ba896a6fbefc9050cf940ed57947eda6dc23aa58b0eeeba7f43ae27835718a5f5ad6552a8983e75201
Vendor states this is fixed in 3d82a729530bd2110ba66e4a1f73461c776edec2 (fixed)
Vendor states this is fixed in 3e0542701b37aa25b025d8531583458e4f014c2e (fixed)
Vendor states this is fixed in a18f9b08c70e10ea3a897058fee8a4f3b4c146ec (fixed)
Vendor states this is fixed in a23b16ba3274961494f5ad236345d238364349ff (fixed)
Vendor states this is fixed in c17fb542dbd1db745c9feac15617056506dd7195 (fixed)
Vendor states this is fixed in 6.1.146 (unaffected)
Vendor states this is fixed in 6.12.39 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.15.7 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.6.99 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3d82a729530bd2110ba66e4a1f73461c776edec2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3e0542701b37aa25b025d8531583458e4f014c2e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a18f9b08c70e10ea3a897058fee8a4f3b4c146ec
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a23b16ba3274961494f5ad236345d238364349ff
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c17fb542dbd1db745c9feac15617056506dd7195
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Source: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
https://cert-portal.siemens.com/productcert/html/ssa-082556.html

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card