All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-38660

Probability of exploitation in the next 30 days: 0.47%

FIRST EPSS · 2026-11-23

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...

A flaw was found in the Linux kernel's Ceph file system client. A malicious or compromised Ceph server can cause a Denial of Service (DoS) by supplying crafted encrypted snapshot names. Because the input buffer is not guaranteed to be null-terminated during parsing, the client performs an out-of-bounds memory read, leading to a kernel crash.