Menu

Star on GitHub · 3.2k

CVE-2023-53339

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix BUG_ON condition in btrfs_cancel_balance Pausing and canceling balance can race to interrupt balance lead to BUG_ON…

Published Sep 17, 2025CWE-617EPSS 0.21%

Overview

CVE-2023-53339 is a medium-severity vulnerability. It was published on September 17, 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: fix BUG_ON condition in btrfs_cancel_balance

Pausing and canceling balance can race to interrupt balance lead to BUG_ON

panic in btrfs_cancel_balance. The BUG_ON condition in btrfs_cancel_balance

does not take this race scenario into account.

However, the race condition has no other side effects. We can fix that.

Reproducing it with panic trace like this:

kernel BUG at fs/btrfs/volumes.c:4618!

RIP: 0010:btrfs_cancel_balance+0x5cf/0x6a0

Call Trace:

<TASK>

? do_nanosleep+0x60/0x120

? hrtimer_nanosleep+0xb7/0x1a0

? sched_core_clone_cookie+0x70/0x70

btrfs_ioctl_balance_ctl+0x55/0x70

btrfs_ioctl+0xa46/0xd20

__x64_sys_ioctl+0x7d/0xa0

do_syscall_64+0x38/0x80

entry_SYSCALL_64_after_hwframe+0x63/0xcd

Race scenario as follows:

> mutex_unlock(&fs_info->balance_mutex);

> --------------------

> .......issue pause and cancel req in another thread

> --------------------

> ret

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-2023-53339?

CVE-2023-53339 is a medium-severity vulnerability. It was published on September 17, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2023-53339?

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-2023-53339?

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-2023-53339?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-53339 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 2023

View all