CVE-2026-53218
JSON

5.5medium

netfilter: nft_exthdr: fix register tracking for F_PRESENT flag

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_exthdr: fix register tracking for F_PRESENT flag nft_exthdr_init() passes user-controlled priv->len to nft_parse_register_store(), which marks that many bytes in the register bitmap as initialized. However, when NFT_EXTHDR_F_PRESENT is set, the eval paths write only 1 byte (nft_reg_store8) or 4 bytes (*dest = 0 on TCP/DCCP error path). When len > 4, registers beyond the first are never written, retaining uninitialized stack data from nft_regs. Bail out if userspace requests too much data when F_PRESENT is set.

Affected

Product or packageVersionsReported by
Linux Linuxfrom c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 before 8738b1b6d0e639ca1fc0f61516afd3557ac4ecc6, from c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 before 19748967d59c31d24d21d40b728570788310b237, from c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 before 46fc15a044e9938e7ea77786fb37edd2cd74f031, from c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 before cd513e43b4b2bd1de39e2367bc4261c699a8652f, from c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 before 67b27434c43b68a97becda98c9f0c8cf6cba2134, from c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 before 78069a6d8bc86c9e036eb82c2af4a19cc1871a53, from c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 before f08fb3d42fd3aad0b7a263da3ac3ebaf0845e265, from c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 before 772cecf198da732faebb5dcfc46d66a505be8495 and 1 more
Not affected: before 4.11, from 5.10.259 up to 5.10.*, from 5.15.210 up to 5.15.*, from 6.1.176 up to 6.1.*, from 6.6.143 up to 6.6.*, from 6.12.94 up to 6.12.*
CVE List
linux linux_kernelfrom 4.11 before 5.10.259, from 5.11 before 5.15.210, from 5.16 before 6.1.176, from 6.2 before 6.6.143, from 6.7 before 6.12.94, from 6.13 before 6.18.36, from 6.19 before 7.0.13, 7.1NVD

Classification

CWE-908

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

https://git.kernel.org/stable/c/8738b1b6d0e639ca1fc0f61516afd3557ac4ecc6patch
https://git.kernel.org/stable/c/19748967d59c31d24d21d40b728570788310b237patch
https://git.kernel.org/stable/c/46fc15a044e9938e7ea77786fb37edd2cd74f031patch
https://git.kernel.org/stable/c/cd513e43b4b2bd1de39e2367bc4261c699a8652fpatch
https://git.kernel.org/stable/c/67b27434c43b68a97becda98c9f0c8cf6cba2134patch
https://git.kernel.org/stable/c/78069a6d8bc86c9e036eb82c2af4a19cc1871a53patch
https://git.kernel.org/stable/c/f08fb3d42fd3aad0b7a263da3ac3ebaf0845e265patch
https://git.kernel.org/stable/c/772cecf198da732faebb5dcfc46d66a505be8495patch
https://cert-portal.siemens.com/productcert/html/ssa-019113.html
https://cert-portal.siemens.com/productcert/html/ssa-457936.html
https://cert-portal.siemens.com/productcert/html/ssa-784472.html

Sources

SourceRecordLicence
CVE ListCVE-2026-53218 changed 2026-11-10CVE Terms of Use
NVDCVE-2026-53218 changed 2026-11-10Public domain