CVE-2026-74492

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
15/08/2026
Last modified:
16/10/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> netfilter: ipset: do not update comments from kernel-side hash adds<br /> <br /> mtype_resize() copies comment pointers with memcpy(), not the comment<br /> objects themselves. During the window after an entry has been copied but<br /> before the table swap and backlog replay, the old table is still<br /> published for packet-side updates while the replacement-table entry<br /> already holds the same ip_set_comment_rcu pointer.<br /> <br /> If xt_SET --add-set ... --exist hits that old entry in this window,<br /> mtype_add() calls ip_set_init_comment() even though packet-side adds<br /> carry no comment payload. That call frees the shared comment through the<br /> old entry, so the replacement-table entry now holds a stale pointer.<br /> When the queued add is replayed on the new table, mtype_add() calls<br /> ip_set_init_comment() again and strlen() dereferences the stale pointer.<br /> <br /> Fix this in mtype_add() by skipping ip_set_init_comment() when<br /> ext-&gt;target marks a packet-side add. Userspace adds still update<br /> comments, while packet-side adds can no longer free comment storage<br /> shared with a resize copy.