{"id":7486,"date":"2026-09-04T18:49:34","date_gmt":"2026-09-04T10:49:34","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74492"},"modified":"2026-09-04T18:49:34","modified_gmt":"2026-09-04T10:49:34","slug":"cve-2026-74492","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-74492","title":{"rendered":"CVE-2026-74492 [HIGH] &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: ipset: do"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>netfilter: ipset: do not update comments from kernel-side hash adds<\/p>\n<p>mtype_resize() copies comment pointers with memcpy(), not the comment<br \/>\nobjects themselves. During the window after an entry has been copied but<br \/>\nbefore the table swap and backlog replay, the old table is still<br \/>\npublished for packet-side updates while the replacement-table entry<br \/>\nalready holds the same ip_set_comment_rcu pointer.<\/p>\n<p>If xt_SET &#8211;add-set &#8230; &#8211;exist hits that old entry in this window,<br \/>\nmtype_add() calls ip_set_init_comment() even though packet-side adds<br \/>\ncarry no comment payload. That call frees the shared comment through the<br \/>\nold entry, so the replacement-table entry now holds a stale pointer.<br \/>\nWhen the queued add is replayed on the new table, mtype_add() calls<br \/>\nip_set_init_comment() again and strlen() dereferences the stale pointer.<\/p>\n<p>Fix this in mtype_add() by skipping ip_set_init_comment() when<br \/>\next-&gt;target marks a packet-side add. Userspace adds still update<br \/>\ncomments, while packet-side adds can no longer free comment storage<br \/>\nshared with a resize copy.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>netfilter: ipset: do not update comments from kernel-side hash adds<\/p>\n<p>mtype_resize() copies comment pointers with memcpy(), not the <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-7486","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/7486","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=7486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}