# CVE-2026-23201: ceph: fix oops due to invalid pointer for kfree() in parse\_longname()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 6, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-02-14T16:27:25.693Z
- **Modified:** 2026-09-14T12:17:39.287Z

## Who should check

- Anyone running Linux \>= 4b9aee707c4580511983a0998547f3b28514e6a6, \< c9a129c82ddf82a50b4f8960d2609714ca2dbd26; \>= bb80f7618832d26f7e395f52f82b1dac76223e5f, \< 8c9af7339de419819cfc641d551675d38ff99abf; \>= 101841c38346f4ca41dc1802c867da990ffb32eb, \< e258ed369c9e04caa7d2fd49785d753ae4034cb6; \>= 101841c38346f4ca41dc1802c867da990ffb32eb, \< bc8dedae022ce3058659c3addef3ec4b41d15e00; 3145b2b11492d61c512bbc59660bb823bc757f48; 493479af8af3ab907f49e99323777d498a4fbd2b; \>= 6.12.42, \< 6.12.70; \>= 6.15.10, \< 6.16; \>= 6.16.1, \< 6.17
- Anyone running Linux 6.17

## Description

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

ceph: fix oops due to invalid pointer for kfree() in parse\_longname()

This fixes a kernel oops when reading ceph snapshot directories (.snap),
for example by simply running \`ls /mnt/my\_ceph/.snap\`.

The variable str is guarded by \_\_free(kfree), but advanced by one for
skipping the initial '\_' in snapshot names. Thus, kfree() is called
with an invalid pointer.  This patch removes the need for advancing the
pointer so kfree() is called with correct memory pointer.

Steps to reproduce:

1. Create snapshots on a cephfs volume (I've 63 snaps in my testcase)

2. Add cephfs mount to fstab
$ echo "samba-fileserver@.files=/volumes/datapool/stuff/3461082b-ecc9-4e82-8549-3fd2590d3fb6      /mnt/test/stuff   ceph     acl,noatime,\_netdev    0       0" \>\> /etc/fstab

3. Reboot the system
$ systemctl reboot

4. Check if it's really mounted
$ mount \| grep stuff

5. List snapshots (expected 63 snapshots on my system)
$ ls /mnt/test/stuff/.snap

Now ls hangs forever and the kernel log shows the oops.

## Affected and fixed versions

- Linux: \>= 4b9aee707c4580511983a0998547f3b28514e6a6, \< c9a129c82ddf82a50b4f8960d2609714ca2dbd26; \>= bb80f7618832d26f7e395f52f82b1dac76223e5f, \< 8c9af7339de419819cfc641d551675d38ff99abf; \>= 101841c38346f4ca41dc1802c867da990ffb32eb, \< e258ed369c9e04caa7d2fd49785d753ae4034cb6; \>= 101841c38346f4ca41dc1802c867da990ffb32eb, \< bc8dedae022ce3058659c3addef3ec4b41d15e00; 3145b2b11492d61c512bbc59660bb823bc757f48; 493479af8af3ab907f49e99323777d498a4fbd2b; \>= 6.12.42, \< 6.12.70; \>= 6.15.10, \< 6.16; \>= 6.16.1, \< 6.17 (cvelist)
- Linux: 6.17 (cvelist)

## Mitigation

- Upgrade Linux to 6.17 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23201. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23201.md
Affected: Linux >= 4b9aee707c4580511983a0998547f3b28514e6a6, < c9a129c82ddf82a50b4f8960d2609714ca2dbd26; >= bb80f7618832d26f7e395f52f82b1dac76223e5f, < 8c9af7339de419819cfc641d551675d38ff99abf; >= 101841c38346f4ca41dc1802c867da990ffb32eb, < e258ed369c9e04caa7d2fd49785d753ae4034cb6; >= 101841c38346f4ca41dc180…
Fixed in: Linux 8c9af7339de419819cfc641d551675d38ff99abf, Linux 6.12.70, Linux 6.16, Linux 6.17

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23201 being exploited?

There is no confirmed exploitation: CVE-2026-23201 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23201?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-23201?

Linux \>= 4b9aee707c4580511983a0998547f3b28514e6a6, \< c9a129c82ddf82a50b4f8960d2609714ca2dbd26; \>= bb80f7618832d26f7e395f52f82b1dac76223e5f, \< 8c9af7339de419819cfc641d551675d38ff99abf; \>= 101841c38346f4ca41dc1802c867da990ffb32eb, \< e258ed369c9e04caa7d2fd49785d753ae4034cb6; \>= 101841c38346f4ca41dc1802c867da990ffb32eb, \< bc8dedae022ce3058659c3addef3ec4b41d15e00; 3145b2b11492d61c512bbc59660bb823bc757f48; 493479af8af3ab907f49e99323777d498a4fbd2b; \>= 6.12.42, \< 6.12.70; \>= 6.15.10, \< 6.16; \>= 6.16.1, \< 6.17; Linux 6.17.

### Is there a fix for CVE-2026-23201?

Yes. Fixed in Linux 8c9af7339de419819cfc641d551675d38ff99abf, Linux 6.12.70, Linux 6.16, Linux 6.17. Upgrade Linux to 6.17 or later.

### How do I check if I'm affected by CVE-2026-23201?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/8c9af7339de419819cfc641d551675d38ff99abf>
- patch: <https://git.kernel.org/stable/c/e258ed369c9e04caa7d2fd49785d753ae4034cb6>
- patch: <https://git.kernel.org/stable/c/bc8dedae022ce3058659c3addef3ec4b41d15e00>
- other: <https://git.kernel.org/stable/c/c9a129c82ddf82a50b4f8960d2609714ca2dbd26>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23201>

HTML: <https://flawdb.com/CVE-2026-23201> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23201>
