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-2025-37931

7.3 · HIGH
Published May 20, 2025 linux EPSS 0.20% (10th pctl)

Overview

CVE-2025-37931 is a high-severity vulnerability affecting linux linux_kernel. It was published on May 20, 2025 and has a CVSS 3.1 base score of 7.3 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.3, rated HIGH. 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:

btrfs: adjust subpage bit start based on sectorsize

When running machines with 64k page size and a 16k nodesize we started

seeing tree log corruption in production. This turned out to be because

we were not writing out dirty blocks sometimes, so this in fact affects

all metadata writes.

When writing out a subpage EB we scan the subpage bitmap for a dirty

range. If the range isn't dirty we do

bit_start++;

to move onto the next bit. The problem is the bitmap is based on the

number of sectors that an EB has. So in this case, we have a 64k

pagesize, 16k nodesize, but a 4k sectorsize. This means our bitmap is 4

bits for every node. With a 64k page size we end up with 4 nodes per

page.

To make this easier this is how everything looks

[0 16k 32k 48k ] logical address

[0 4 8 12 ] radix tree offset

[ 64k page ] folio

[ 16k eb ][ 16k e

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 >= 5.13, < 6.1.151 Affected

Frequently Asked Questions

What is CVE-2025-37931?

CVE-2025-37931 is a high-severity vulnerability affecting linux linux_kernel. It was published on May 20, 2025 and has a CVSS 3.1 base score of 7.3 (HIGH).

How severe is CVE-2025-37931?

This vulnerability has a CVSS 3.1 base score of 7.3, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-37931?

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-2025-37931?

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