{"id":77163,"date":"2026-02-14T20:45:57","date_gmt":"2026-02-14T17:15:57","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-23201-ceph-fix-oops-due-to-invalid-pointer-for-kfree-in-parse_longname\/"},"modified":"2026-02-14T20:45:57","modified_gmt":"2026-02-14T17:15:57","slug":"cve-2026-23201-ceph-fix-oops-due-to-invalid-pointer-for-kfree-in-parse_longname","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-23201-ceph-fix-oops-due-to-invalid-pointer-for-kfree-in-parse_longname\/","title":{"rendered":"CVE-2026-23201 &#8211; ceph: fix oops due to invalid pointer for kfree() in parse_longname()"},"content":{"rendered":"<p>CVE ID : CVE-2026-23201<\/p>\n<p>Published :  Feb. 14, 2026, 5:15 p.m. | 1\u00a0hour, 14\u00a0minutes ago<\/p>\n<p>Description : In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>ceph: fix oops due to invalid pointer for kfree() in parse_longname()<\/p>\n<p>This fixes a kernel oops when reading ceph snapshot directories (.snap),<br \/>\nfor example by simply running `ls \/mnt\/my_ceph\/.snap`.<\/p>\n<p>The variable str is guarded by __free(kfree), but advanced by one for<br \/>\nskipping the initial &#8216;_&#8217; in snapshot names. Thus, kfree() is called<br \/>\nwith an invalid pointer.  This patch removes the need for advancing the<br \/>\npointer so kfree() is called with correct memory pointer.<\/p>\n<p>Steps to reproduce:<\/p>\n<p>1. Create snapshots on a cephfs volume (I&#8217;ve 63 snaps in my testcase)<\/p>\n<p>2. Add cephfs mount to fstab<br \/>\n$ echo &#8220;samba-fileserver@.files=\/volumes\/datapool\/stuff\/3461082b-ecc9-4e82-8549-3fd2590d3fb6      \/mnt\/test\/stuff   ceph     acl,noatime,_netdev    0       0&#8221; &gt;&gt; \/etc\/fstab<\/p>\n<p>3. Reboot the system<br \/>\n$ systemctl reboot<\/p>\n<p>4. Check if it&#8217;s really mounted<br \/>\n$ mount | grep stuff<\/p>\n<p>5. List snapshots (expected 63 snapshots on my system)<br \/>\n$ ls \/mnt\/test\/stuff\/.snap<\/p>\n<p>Now ls hangs forever and the kernel log shows the oops.<\/p>\n<p>Severity: 0.0 | NA<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2026-23201 Published : Feb. 14, 2026, 5:15 p.m. | 1\u00a0hour, 14\u00a0minutes ago 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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-77163","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/77163","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=77163"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/77163\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=77163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=77163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=77163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}