netfilter: nfnetlink_queue: do shared-unconfirmed check before segmentation (Linux Linux)

CVE-2026-45859
HIGH 7.5

At a glance

Source
NVD
EPSS
EPSS 0.66 % · percentile 51 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-400 — Uncontrolled Resource Consumption

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 6dcc8ba8a6074bb79040f502dc66ad23a58a1c86 < 4666688657e1054278b836b825fb88b2907e2da2 ; affected 74e6eb7fd27ef1ccc68041dbc66e6d80d2e4a1a0 < aead84bdacd77e08357fd718e5dcaffaf387f3c3 ; affected 7d8dc1c7be8d3509e8f5164dd5df64c8e34d7eeb < 79b713ef4261a8ead96af4703f89d0b5f25532e2 ; affected 7d8dc1c7be8d3509e8f5164dd5df64c8e34d7eeb < 23901aa6b8a2f294c4b774436b4691f3ff863a8f ; affected 7d8dc1c7be8d3509e8f5164dd5df64c8e34d7eeb < b740e7ddd7ca0dbfeafca3f5e52717206cf28524 ; affected 7d8dc1c7be8d3509e8f5164dd5df64c8e34d7eeb < 207b3ebacb6113acaaec0d171d5307032c690004
Linux · Linuxaffected 6.11 ; unaffected 0 < 6.11 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.75 ≤ 6.12.* ; unaffected 6.18.14 ≤ 6.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD