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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-15 · Modified: 2026-10-16
- Aliases: UBUNTU-CVE-2026-74492, DEBIAN-CVE-2026-74492
- Record: https://cvemate.com/vulnerability/CVE-2026-74492 · JSON: https://cvemate.com/vulnerability/CVE-2026-74492/json

## Description

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

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

mtype_resize() 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 ip_set_comment_rcu pointer.

If xt_SET --add-set ... --exist hits that old entry in this window,
mtype_add() calls ip_set_init_comment() 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, mtype_add() calls
ip_set_init_comment() again and strlen() dereferences the stale pointer.

Fix this in mtype_add() by skipping ip_set_init_comment() 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.
```

## Signals

- CVSS: 8.4 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.142%, percentile 3.652%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 168)

- debian linux (Debian): \< 6.1.187-1 \| \< 6.12.105-1 \| \< 7.1.8-1
- debian linux-6.12 (Debian): \< 6.12.107-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-198.208 \| \< 6.8.0-149.149 \| \< 7.0.0-42.42
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1117.124 \| \< 6.8.0-1069.74 \| \< 7.0.0-1016.17
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1117.124~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1069.74~22.04.1
- ubuntu linux-aws-7.0 (Ubuntu): All versions (No fix recorded) \| \< 7.0.0-1017.18~24.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1117.124+fips1 \| \< 6.8.0-1069.74+fips1

## References (first 20 of 37)

- <https://git.kernel.org/stable/c/6f13f4d52d06986c18f12e8bffaab944dd27ceab>
- <https://git.kernel.org/stable/c/f9d6cabff1fca010562dcdb0d22b296bdca3ba5a>
- <https://git.kernel.org/stable/c/16bfa7be2d76ca1e0aacfa363482e1bf8ab5042a>
- <https://git.kernel.org/stable/c/661ff9c0cfbe07f8eed920dde9f7781491738207>
- <https://git.kernel.org/stable/c/c710e9bf38e4e71a8db85d26a0f70c0674664207>
- <https://git.kernel.org/stable/c/4ae701848e4ba9e9713375fb7d82218cbd309da2>
- <https://git.kernel.org/stable/c/77dbb248a5cc7a5270cd37bbb0b635bf059a872a>
- <https://git.kernel.org/stable/c/f30415929be8aeb002d557c8d3f7ab2d2188003a>
- <https://ubuntu.com/security/CVE-2026-74492>
- <https://www.cve.org/CVERecord?id=CVE-2026-74492>
- <https://git.kernel.org/linus/f30415929be8aeb002d557c8d3f7ab2d2188003a>
- <https://ubuntu.com/security/notices/USN-8876-1>
- <https://ubuntu.com/security/notices/USN-8878-1>
- <https://ubuntu.com/security/notices/USN-8879-1>
- <https://ubuntu.com/security/notices/USN-8877-1>
- <https://ubuntu.com/security/notices/USN-8875-1>
- <https://ubuntu.com/security/notices/USN-8886-1>
- <https://ubuntu.com/security/notices/USN-8875-2>
- <https://security-tracker.debian.org/tracker/CVE-2026-74492>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-74492>

---

Data as of 2026-12-06T04:33:07.283Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
