CVE-2025-38660

[ceph] parse_longname(): strrchr() expects NUL-terminated string

MEDIUM
5.5
CVSS Score
Published: August 22, 2025 at 04:01 PM UTC
Updated: October 15, 2026 at 10:18 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: [ceph] parse_longname(): strrchr() expects NUL-terminated string ... and parse_longname() is not guaranteed that. That's the reason why it uses kmemdup_nul() to build the argument for kstrtou64(); the problem is, kstrtou64() is not the only thing that need it. Just get a NUL-terminated copy of the entire thing and be done with that...

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.13 ≤ v < 6.15.106.16 ≤ v < 6.16.16.6 ≤ v < 6.12.426.6dd66df0053ef84add5e684df517aa9b498342381
Vendor states this is fixed in 101841c38346f4ca41dc1802c867da990ffb32eb (fixed)
Vendor states this is fixed in 3145b2b11492d61c512bbc59660bb823bc757f48 (fixed)
Vendor states this is fixed in 493479af8af3ab907f49e99323777d498a4fbd2b (fixed)
Vendor states this is fixed in 4b9aee707c4580511983a0998547f3b28514e6a6 (fixed)
Vendor states this is fixed in bb80f7618832d26f7e395f52f82b1dac76223e5f (fixed)
Vendor states this is fixed in 6.12.42 (unaffected)
Vendor states this is fixed in 6.15.10 (unaffected)
Vendor states this is fixed in 6.16.1 (unaffected)
Vendor states this is fixed in 6.17 (unaffected)
Vendor states this is fixed in 6.6 (unaffected)
Vendor states this is fixed in 6.6.157 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitAutomatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card