Menu

Star on GitHub · 3.2k

CVE-2025-21737

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: ceph: fix memory leak in ceph_mds_auth_match() We now free the temporary target path substring allocation on every possible bra…

Published Feb 27, 2025CWE-401EPSS 0.21%

Overview

CVE-2025-21737 is a medium-severity vulnerability. It was published on February 27, 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:

ceph: fix memory leak in ceph_mds_auth_match()

We now free the temporary target path substring allocation on every

possible branch, instead of omitting the default branch. In some

cases, a memory leak occured, which could rapidly crash the system

(depending on how many file accesses were attempted).

This was detected in production because it caused a continuous memory

growth, eventually triggering kernel OOM and completely hard-locking

the kernel.

Relevant kmemleak stacktrace:

unreferenced object 0xffff888131e69900 (size 128):

comm "git", pid 66104, jiffies 4295435999

hex dump (first 32 bytes):

76 6f 6c 75 6d 65 73 2f 63 6f 6e 74 61 69 6e 65 volumes/containe

72 73 2f 67 69 74 65 61 2f 67 69 74 65 61 2f 67 rs/gitea/gitea/g

backtrace (crc 2f3bb450):

[<ffffffffaa68fb49>] __kmalloc_noprof+0x359/0x510

[<ffffffffc32bf1df>] ceph_mds_check_access+0x5bf/0x14e0 [ceph]

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

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

How severe is CVE-2025-21737?

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

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

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