netfilter: nf_tables: skip double clone set expressions on element insert (Linux Linux)

CVE-2026-90061
Not available

At a glance

Source
NVD
EPSS
EPSS 0.23 % · percentile 14 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: skip double clone set expressions on element insert Both the dynset and newsetelem path clone the existing set expressions when setting set element expressions if no override expressions are provided. This results in a double clone, once to clone the template set expressions then another clone on the new element. Add a flag to annotate if userspace provides a override expression (ie. expression of the same type of the set but different configuration), otherwise borrow the existing expression from the set. Add conditionals to release expression iif they represent an override. Use this new override_exprs flag to dump the dynset expression override to userspace. This simplifies the existing logic and it also fixes a bug with the connlimit expression which results in a module refcount imbalance WARNING splat when resorting on the default set expressions.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 65038428b2c6c5be79d3f78a6b79c0cdc3a58a41 < 109bf28a90ac365ec4d25622c50959bb43b35ed4
affected : ≥ 65038428b2c6c5be79d3f78a6b79c0cdc3a58a41 < 9cbf6da967ec8c6e8278b70353b712980a12d848
affected : ≥ 65038428b2c6c5be79d3f78a6b79c0cdc3a58a41 < 04d1930072e694d9d03bfefdb7e1ebdc872a3d0c
affected : ≥ 65038428b2c6c5be79d3f78a6b79c0cdc3a58a41 < c6b56b8d549a043b6c8ff616db8748263eae05ae
affected : ≥ 65038428b2c6c5be79d3f78a6b79c0cdc3a58a41 < 1e7fb6801d9cc826adcdb7fa0533c397730657f2
affected : ≥ 65038428b2c6c5be79d3f78a6b79c0cdc3a58a41 < 43559058d21e0493aa220ac167e0279334dea5f9
Other versions : unaffected
Linux · Linux
affected : 5.7
unaffected : ≥ 0 < 5.7
unaffected : ≥ 6.1.191 ≤ 6.1.*
unaffected : ≥ 6.6.160 ≤ 6.6.*
unaffected : ≥ 6.12.114 ≤ 6.12.*
unaffected : ≥ 6.18.57 ≤ 6.18.*
unaffected : ≥ 7.2.6 ≤ 7.2.*
unaffected : ≥ 7.3 ≤ *
Other versions : affected

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