Menu

Star on GitHub · 3.2k

CVE-2025-21658

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: btrfs: avoid NULL pointer dereference if no valid extent tree [BUG] Syzbot reported a crash with the following call trace: B…

Published Jan 21, 2025CWE-476EPSS 0.20%

Overview

CVE-2025-21658 is a medium-severity vulnerability. It was published on January 21, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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: avoid NULL pointer dereference if no valid extent tree

[BUG]

Syzbot reported a crash with the following call trace:

BTRFS info (device loop0): scrub: started on devid 1

BUG: kernel NULL pointer dereference, address: 0000000000000208

#PF: supervisor read access in kernel mode

#PF: error_code(0x0000) - not-present page

PGD 106e70067 P4D 106e70067 PUD 107143067 PMD 0

Oops: Oops: 0000 [#1] PREEMPT SMP NOPTI

CPU: 1 UID: 0 PID: 689 Comm: repro Kdump: loaded Tainted: G O 6.13.0-rc4-custom+ #206

Tainted: [O]=OOT_MODULE

Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS unknown 02/02/2022

RIP: 0010:find_first_extent_item+0x26/0x1f0 [btrfs]

Call Trace:

<TASK>

scrub_find_fill_first_stripe+0x13d/0x3b0 [btrfs]

scrub_simple_mirror+0x175/0x260 [btrfs]

scrub_stripe+0x5d4/0x6c0 [btrfs]

scrub_chunk+0xbb/0x170 [btrfs]

scrub_enumerate_chunks+0x2f4/0x5f0 [btrfs]

btr

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. 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.

Frequently asked questions

What is CVE-2025-21658?

CVE-2025-21658 is a medium-severity vulnerability. It was published on January 21, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2025-21658?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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-21658?

Check the references section for vendor advisories, patches, and mitigation guidance. 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-21658?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-21658 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2025

View all