{"id":29036,"date":"2026-09-25T20:31:43","date_gmt":"2026-09-25T12:31:43","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97604"},"modified":"2026-09-25T20:31:43","modified_gmt":"2026-09-25T12:31:43","slug":"cve-2026-97604","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97604","title":{"rendered":"CVE-2026-97604 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: vfb: defer cle"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>fbdev: vfb: defer cleanup until the last reference<\/p>\n<p>FBIOGETCMAP takes a shallow snapshot of info-&gt;cmap and performs the<br \/>\nusercopy after dropping info-&gt;lock. vfb_remove() frees the colormap<br \/>\nimmediately after unregistering the framebuffer, even when an open file<br \/>\nstill holds a reference to fb_info. A concurrent driver unbind can<br \/>\ntherefore free the colormap while the ioctl copies it to userspace.<\/p>\n<p>KASAN reports:<\/p>\n<p>  BUG: KASAN: slab-use-after-free in _copy_to_user<br \/>\n  Read of size 512 by task poc\/125<\/p>\n<p>   _copy_to_user (.\/include\/linux\/instrumented.h:129 .\/include\/linux\/uaccess.h:201 lib\/usercopy.c:24)<br \/>\n   fb_cmap_to_user (.\/include\/linux\/uaccess.h:230 drivers\/video\/fbdev\/core\/fbcmap.c:211)<br \/>\n   do_fb_ioctl (drivers\/video\/fbdev\/core\/fb_chrdev.c:114)<\/p>\n<p>   Allocated by task 1:<br \/>\n   fb_alloc_cmap_gfp (.\/include\/linux\/slab.h:973 .\/include\/linux\/slab.h:1290 drivers\/video\/fbdev\/core\/fbcmap.c:108)<br \/>\n   vfb_probe (drivers\/video\/fbdev\/vfb.c:459)<\/p>\n<p>   Freed by task 124:<br \/>\n   fb_dealloc_cmap (drivers\/video\/fbdev\/core\/fbcmap.c:151)<br \/>\n   vfb_remove (drivers\/video\/fbdev\/vfb.c:489)<\/p>\n<p>unregister_framebuffer() drops the registration reference, and fbdev calls<br \/>\nfb_destroy after the last put_fb_info(). Move the registered framebuffer&#8217;s<br \/>\ncleanup into an fb_destroy callback so its colormap and screen buffer stay<br \/>\nalive until all file references have been released.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>fbdev: vfb: defer cleanup until the last reference<\/p>\n<p>FBIOGETCMAP takes a shallow snapshot of info-&gt;cmap and performs the<br \/>\nusercopy af<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-29036","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/29036","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=29036"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29036"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29036"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}