Menu

Star on GitHub · 3.2k

CVE-2023-54185

In the Linux kernel, the following vulnerability has been resolved: btrfs: remove BUG_ON()'s in add_new_free_space() At add_new_free_space() we have these BUG_ON()'s that are there to deal with a…

Published Dec 30, 2025EPSS 0.20%

Overview

CVE-2023-54185 is a known-severity vulnerability. It was published on December 30, 2025.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

btrfs: remove BUG_ON()'s in add_new_free_space()

At add_new_free_space() we have these BUG_ON()'s that are there to deal

with any failure to add free space to the in memory free space cache.

Such failures are mostly -ENOMEM that should be very rare. However there's

no need to have these BUG_ON()'s, we can just return any error to the

caller and all callers and their upper call chain are already dealing with

errors.

So just make add_new_free_space() return any errors, while removing the

BUG_ON()'s, and returning the total amount of added free space to an

optional u64 pointer argument.

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-54185?

CVE-2023-54185 is a known-severity vulnerability. It was published on December 30, 2025.

How severe is CVE-2023-54185?

CVSS score information is not yet available for this vulnerability. Check back as the CVE record is updated by NVD analysts.

How do I fix or remediate CVE-2023-54185?

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-54185?

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