Linux カーネルのnftablesに脆弱性、情報漏えいや不正なアクセスのおそれ
Summary
Linux カーネルのnetfilter(nft_set_rbtree)に脆弱性が見つかりました。範囲の判定を誤ると、解放済みのメモリを読み出されるおそれがあります。影響を受けるのは6.18.14から6.18.65未満、6.19.4から6.20未満、7.0.0から7.3.6未満のカーネルで、修正版は6.18.65、6.20、7.3.6です。利用中のカーネルを修正版へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Linux カーネルのnetfilter(nft_set_rbtree)に脆弱性が見つかりました。範囲の判定を誤ると、解放済みのメモリを読み出されるおそれがあります。影響を受けるのは6.18.14から6.18.65未満、6.19.4から6.20未満、7.0.0から7.3.6未満のカーネルで、修正版は6.18.65、6.20、7.3.6です。利用中のカーネルを修正版へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 6.18.14, < 6.18.65→ 6.18.65 ≥ 6.19.4, < 6.20→ 6.20 ≥ 7.0.0, < 7.3.6→ 7.3.6 |
6.18.65 6.20 7.3.6 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-139280 linux-lts No fixed version in this record
- Debian DEBIAN-CVE-2026-139280 linux Fix available
- Ubuntu UBUNTU-CVE-2026-139280 linux-xilinx-zynqmp, linux-xilinx, linux-vmware +166 more No fixed version in this record
Original description The description as published by the source.
In 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
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com