{"id":6814,"date":"2026-09-04T18:49:18","date_gmt":"2026-09-04T10:49:18","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-72170"},"modified":"2026-09-04T18:49:18","modified_gmt":"2026-09-04T10:49:18","slug":"cve-2026-72170","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-72170","title":{"rendered":"CVE-2026-72170 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\n9p: skip nlink update"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>9p: skip nlink update in cacheless mode to fix WARN_ON<\/p>\n<p>v9fs_dec_count() unconditionally calls drop_nlink() on regular files,<br \/>\neven when the inode&#8217;s nlink is already zero. In cacheless mode the<br \/>\nclient refetches inode metadata from the server (the source of truth)<br \/>\non every operation, so by the time v9fs_remove() returns, the locally<br \/>\ncached nlink may already reflect the post-unlink value:<\/p>\n<p>  1. Client initiates unlink, server processes it and sets nlink to 0<br \/>\n  2. Client refetches inode metadata (nlink=0) before unlink returns<br \/>\n  3. Client&#8217;s v9fs_remove() completes successfully<br \/>\n  4. Client calls v9fs_dec_count() which calls drop_nlink() on nlink=0<\/p>\n<p>This race is easily triggered under heavy unlink workloads, such as<br \/>\nstress-ng&#8217;s unlink stressor, producing the following warning:<\/p>\n<p>  WARNING: fs\/inode.c:417 at drop_nlink+0x4c\/0xc8<br \/>\n  Call trace:<br \/>\n   drop_nlink+0x4c\/0xc8<br \/>\n   v9fs_remove+0x1e0\/0x250 [9p]<br \/>\n   v9fs_vfs_unlink+0x20\/0x38 [9p]<br \/>\n   vfs_unlink+0x13c\/0x258<br \/>\n   &#8230;<\/p>\n<p>In cacheless mode the server is authoritative and the inode is on its<br \/>\nway out, so locally adjusting nlink buys nothing. Skip v9fs_dec_count()<br \/>\nentirely when neither CACHE_META nor CACHE_LOOSE is set, which both<br \/>\navoids the warning and removes a class of nlink races (two concurrent<br \/>\nunlinkers observing nlink &gt; 0 and both calling drop_nlink()) that an<br \/>\nnlink == 0 guard alone would only narrow rather than close.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>9p: skip nlink update in cacheless mode to fix WARN_ON<\/p>\n<p>v9fs_dec_count() unconditionally calls drop_nlink() on regular files,<br \/>\neven <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-6814","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/6814","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=6814"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6814"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}