In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_byteorder:...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 4.19.307, < 4.20→ 4.20 ≥ 5.4.269, < 5.5→ 5.5 ≥ 5.10.210, < 5.11→ 5.11 ≥ 5.15.140, < 5.16→ 5.16 ≥ 6.1.64, < 6.2→ 6.2 ≥ 6.5.13, < 6.6→ 6.6 ≥ 6.6.3, < 6.7→ 6.7 ≥ 6.7.0, < 6.12.115→ 6.12.115 ≥ 6.13.0, < 6.18.59→ 6.18.59 |
4.20 5.5 5.11 5.16 6.2 6.6 6.7 6.12.115 6.18.59 |
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-99285 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99285 linux-6.12, linux Fix available
- Ubuntu UBUNTU-CVE-2026-99285 linux-vmware, linux-realtime-6.8, linux-realtime +25 more Fix available
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nft_byteorder: remove multi-register support
64bit byteorder conversion is broken when several registers need to be
converted because the source register array advances in steps for 4 bytes
instead of 8:
for (i = ...
src64 = nft_reg_load64(&src[i]);
~~~~~ u32 *src
nft_reg_store64(&dst64[i],
Remove the multi-register support, it has other issues as well:
Pablo points out that commit
caf3ef7468f7 ("netfilter: nf_tables: prevent OOB access in nft_byteorder_eval")
alters semantics: before the loop operated on registers, i.e.
for ( ... )
dst32[i] = htons((u16)src32[i])
.. but after the patch it will operate on bytes, which makes this
useless to convert e.g. concatenations, which store each compound
in its own register.
Multi-convert of u32 has one theoretical application:
ct mark . meta mark . tcp dport @intervalset
Because ct mark and meta mark are host byte order, use with
intervals has to convert the byteorder for ct/meta mark value
to network byte order (bigendian).
nftables emits this:
[ meta load mark => reg 1 ]
[ byteorder reg 1 = hton(reg 1, 4, 4) ]
[ ct load mark => reg 9 ]
[ byteorder reg 9 = hton(reg 9, 4, 4) ]
...
I.e. two separate calls. Theoretically it could be changed to do:
[ meta load mark => reg 1 ]
[ ct load mark => reg 9 ]
[ byteorder reg 1 = htonl(reg 1, 4, 8) ]
...
But then all it would take to change the set…
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web nvd.nist.gov
- web github.com
- web github.com