# CVE-2026-45859: netfilter: nfnetlink_queue: do shared-unconfirmed check before segmentation

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Published: 2026-05-27T12:15:39.322Z
- Modified: 2026-10-30T13:18:52.427Z
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Linux

## Description

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

netfilter: nfnetlink_queue: do shared-unconfirmed check before segmentation

Ulrich reports a regression with nfqueue:

If an application did not set the 'F_GSO' capability flag and a gso
packet with an unconfirmed nf_conn entry is received all packets are
now dropped instead of queued, because the check happens after
skb_gso_segment().  In that case, we did have exclusive ownership
of the skb and its associated conntrack entry.  The elevated use
count is due to skb_clone happening via skb_gso_segment().

Move the check so that its peformed vs. the aggregated packet.

Then, annotate the individual segments except the first one so we
can do a 2nd check at reinject time.

For the normal case, where userspace does in-order reinjects, this avoids
packet drops: first reinjected segment continues traversal and confirms
entry, remaining segments observe the confirmed entry.

While at it, simplify nf_ct_drop_unconfirmed(): We only care about
unconfirmed entries with a refcnt > 1, there is no need to special-case
dying entries.

This only happens with UDP.  With TCP, the only unconfirmed packet will
be the TCP SYN, those aren't aggregated by GRO.

Next patch adds a udpgro test case to cover this scenario.

(As written by CVE List.)

## Affected

- Linux Linux: from 6dcc8ba8a6074bb79040f502dc66ad23a58a1c86 before 4666688657e1054278b836b825fb88b2907e2da2; from 74e6eb7fd27ef1ccc68041dbc66e6d80d2e4a1a0 before aead84bdacd77e08357fd718e5dcaffaf387f3c3; from 7d8dc1c7be8d3509e8f5164dd5df64c8e34d7eeb before 79b713ef4261a8ead96af4703f89d0b5f25532e2; from 7d8dc1c7be8d3509e8f5164dd5df64c8e34d7eeb before 23901aa6b8a2f294c4b774436b4691f3ff863a8f; from 7d8dc1c7be8d3509e8f5164dd5df64c8e34d7eeb before b740e7ddd7ca0dbfeafca3f5e52717206cf28524; from 7d8dc1c7be8d3509e8f5164dd5df64c8e34d7eeb before 207b3ebacb6113acaaec0d171d5307032c690004; 6c4a0ba674f410ab99a30a16f32dac0ebfed5cd3; 025b3326c5c409b372d0103ad30f174e55adbd1b; from 6.1.107 before 6.1.191; from 6.6.48 before 6.6.160; from 5.15.166 before 5.16; from 6.10.7 before 6.11; and 1 more (not affected: before 6.11; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.75 up to 6.12.*; from 6.18.14 up to 6.18.*; from 6.19.4 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 5.15.166 before 5.16; from 6.1.107 before 6.2; from 6.6.48 before 6.7; from 6.10.7 before 6.11; from 6.11.1 before 6.12.75; from 6.13 before 6.18.14; from 6.19 before 6.19.4; 6.11

## References

- <https://git.kernel.org/stable/c/4666688657e1054278b836b825fb88b2907e2da2>
- <https://git.kernel.org/stable/c/aead84bdacd77e08357fd718e5dcaffaf387f3c3>
- <https://git.kernel.org/stable/c/79b713ef4261a8ead96af4703f89d0b5f25532e2> (patch)
- <https://git.kernel.org/stable/c/23901aa6b8a2f294c4b774436b4691f3ff863a8f> (patch)
- <https://git.kernel.org/stable/c/b740e7ddd7ca0dbfeafca3f5e52717206cf28524> (patch)
- <https://git.kernel.org/stable/c/207b3ebacb6113acaaec0d171d5307032c690004> (patch)

## Sources

- CVE List: [CVE-2026-45859](https://www.cve.org/CVERecord?id=CVE-2026-45859), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-45859](https://nvd.nist.gov/vuln/detail/CVE-2026-45859), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-45859 · Whole record: https://cve.day/CVE-2026-45859.json · Rebuilt by cve.day 2026-11-25T22:59:22.477Z
