CVE-2026-99285
Severity unknownNo known exploitationFix availablenetfilter: nft_byteorder: remove multi-register support
Record last updated
CVSS score
No score published yet
EPSS, chance of exploitation in 30 days
Higher than 6% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
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 to meta mark . tcp dport . ct mark ... and we'd be back to two "byteorder" calls. IOW, support to convert a range of registers is both dysfunctional and dubious. Simplify this: remove the feature. Pablo Neira Ayuso points out that nftables before 1.1.0 can generate incorrect byteorder conversions, see 9fe58952c45a, "evaluate: skip byteorder conversion for selector smaller than 2 bytes" in nftables.git). Affected rulesets fail to load with this change and old userspace due to 'len != size' check.
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- msrc.microsoft.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from 4.19.307 before 4.20 | 4.20 | CVE Program |
| Linux | Linux | from 5.10.210 before 5.11 | 5.11 | CVE Program |
| Linux | Linux | from 5.15.140 before 5.16 | 5.16 | CVE Program |
| Linux | Linux | from 5.4.269 before 5.5 | 5.5 | CVE Program |
| Linux | Linux | from 6.1.64 before 6.2 | 6.2 | CVE Program |
| Linux | Linux | from 6.5.13 before 6.6 | 6.6 | CVE Program |
| Linux | Linux | from 6.6.3 before 6.7 | 6.7 | CVE Program |
| Linux | Linux | from c301f0981fdd3fd1ffac6836b423c4d7a8e0eb63 before 3c5fb3a6c8118d15e60295e76fb5b879021eef43 | 3c5fb3a6c8118d15e60295e76fb5b879021eef43 | CVE Program |
| Linux | Linux | from c301f0981fdd3fd1ffac6836b423c4d7a8e0eb63 before bb061d3de41707415269be75ebf700efb03ec212 | bb061d3de41707415269be75ebf700efb03ec212 | CVE Program |
| Linux | Linux | from c301f0981fdd3fd1ffac6836b423c4d7a8e0eb63 before dc29c0478b8564feb9371e715b5a0016eb8903fd | dc29c0478b8564feb9371e715b5a0016eb8903fd | CVE Program |
| Linux | Linux | 013deed31ab15ef287b0045e4e7bd8f250e75b94 | Not documented | CVE Program |
| Linux | Linux | 18a169810cff769a7a697b35058c756805f589e0 | Not documented | CVE Program |
| Linux | Linux | 1a605657adc58b3c8e2c1c66aaa5fecd29072135 | Not documented | CVE Program |
| Linux | Linux | 25b42be4e067e107a2559266b54bf07fa5b094fb | Not documented | CVE Program |
| Linux | Linux | 6.7 | Not documented | CVE Program |
| Linux | Linux | 9a865a11d6890d4a789db1eaafebdc8bd092b12c | Not documented | CVE Program |
| Linux | Linux | b8b514b2a6cdfac24911e4910461bcb9db15ca8d | Not documented | CVE Program |
| Linux | Linux | fca41e5b687e029f69e3a35a2fa31e2560e538dc | Not documented | CVE Program |
| Microsoft | azl4 kernel 6.18.57-1.12.azl4 on Azure Linux 4.0 | Not documented | 0:6.18.62-1.1.azl4 | Microsoft MSRC |
| Linux | Linux (unaffected) | from 6.12.115 up to and including 6.12.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.18.59 up to and including 6.18.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 7.1 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 6.7 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- https://git.kernel.org/stable/c/3c5fb3a6c8118d15e60295e76fb5b879021eef43 (opens in a new tab)
- https://git.kernel.org/stable/c/bb061d3de41707415269be75ebf700efb03ec212 (opens in a new tab)
- https://git.kernel.org/stable/c/dc29c0478b8564feb9371e715b5a0016eb8903fd (opens in a new tab)