CVE-2026-74492: netfilter: ipset: do not update comments from kernel-side hash adds

Published Aug 15, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

netfilter: ipset: do not update comments from kernel-side hash adds

mtyperesize() copies comment pointers with memcpy(), not the comment objects themselves. During the window after an entry has been copied but before the table swap and backlog replay, the old table is still published for packet-side updates while the replacement-table entry already holds the same ipsetcommentrcu pointer.

If xtSET --add-set ... --exist hits that old entry in this window, mtypeadd() calls ipsetinitcomment() even though packet-side adds carry no comment payload. That call frees the shared comment through the old entry, so the replacement-table entry now holds a stale pointer. When the queued add is replayed on the new table, mtypeadd() calls ipsetinitcomment() again and strlen() dereferences the stale pointer.

Fix this in mtypeadd() by skipping ipsetinitcomment() when ext->target marks a packet-side add. Userspace adds still update comments, while packet-side adds can no longer free comment storage shared with a resize copy.

Affected Software

1 affected component
Linux Linux kernel

Event History

Aug 15, 2026
CVE Published
via MITRE·12:27 PM
Data Sourced
via MITRE·12:27 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-74492?

The severity of CVE-2026-74492 is classified as risk level 44.

2

How do I fix CVE-2026-74492?

To fix CVE-2026-74492, update to the patched version of the Linux kernel that resolves the vulnerability.

3

What components are affected by CVE-2026-74492?

CVE-2026-74492 affects the netfilter subsystem in the Linux kernel, specifically the ipset functions.

4

What is the impact of CVE-2026-74492?

The impact of CVE-2026-74492 involves potential issues with comment data integrity during hash entry updates in the kernel.

5

Is CVE-2026-74492 exploitable in production environments?

Yes, CVE-2026-74492 can be exploitable in production environments if unpatched, leading to possible data inconsistency.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203