netfilter: nft_set_rbtree: narrow down range completion to anonymous sets

Summary

CVECVE-2026-139280
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:18:51 UTC
Updated2026-11-30 14:18:51 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: netfilter: nft_set_rbtree: narrow down range completion to anonymous sets For anonymous sets, when adjacent ranges are found, the end element is not added to the set to pack the set representation. Use next start element to complete this interval. Jérémy Jean says: Consider two ranges in a netfilter verdict map: * keys 10-19 accept packets, and * keys 30-39 jump to chain 'victim'. Now, delete the end marker at 20. The lookup array now uses element 30 as the first range's end, so an INTERVAL_END query for key 15 returns element 30, including its jump verdict and chain pointer. This can make KASAN reports a UAF after the GC releases reference chain for 30 that has expired: BUG: KASAN: slab-use-after-free in nft_verdict_dump+0xdd/0x110 Read of size 8 at addr ff110000009dfb58 by task repro/50 ... Call Trace: ... nft_verdict_dump+0xdd/0x110 nft_data_dump+0x4d/0x80 nf_tables_fill_setelem+0x30b/0x8a0 ? __asan_memcpy+0x3c/0x60 nf_tables_fill_setelem_info+0x1b0/0x200 nft_get_set_elem+0x3fd/0x4b0 ... Freed by task 24: ... kfree+0x1a5/0x280 nf_tables_trans_destroy_work+0x2cb/0x520

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected e4ea5be0b35fd2f772bb289e235e3836320957bd 60c1c825bdc40a0413d6ca4705b0403ee9489a49 git Not specified
CNA Linux Linux affected 2aa34191f06fc5af4f70241518a8554370d86054 9e650c0a9f9b9c876826c036b2ab609f159d6f79 git Not specified
CNA Linux Linux affected 2aa34191f06fc5af4f70241518a8554370d86054 86d47d4c84a1b8470ba3fc16df13ea2a220b74ff git Not specified
CNA Linux Linux affected ef1a8b85cc5fd721a092e86b2ce9907aec7ddf27 git Not specified
CNA Linux Linux affected 6.18.14 6.18.65 semver Not specified
CNA Linux Linux affected 6.19.4 6.20 semver Not specified
CNA Linux Linux affected 7.0 Not specified
CNA Linux Linux unaffected 7.0 semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/86d47d4c84a1b8470ba3fc16df13ea2a220b74ff 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9e650c0a9f9b9c876826c036b2ab609f159d6f79 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/60c1c825bdc40a0413d6ca4705b0403ee9489a49 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report