CVE-2026-53218 (GCVE-0-2026-53218)
Vulnerability from cvelistv5 – Published: 2026-06-25 08:39 – Updated: 2026-06-25 08:39
VLAI?
Title
netfilter: nft_exthdr: fix register tracking for F_PRESENT flag
Summary
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.
Severity ?
No CVSS data available.
Assigner
References
Impacted products
| Vendor | Product | Version | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux |
Affected:
c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 , < 8738b1b6d0e639ca1fc0f61516afd3557ac4ecc6
(git)
Affected: c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 , < 19748967d59c31d24d21d40b728570788310b237 (git) Affected: c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 , < 46fc15a044e9938e7ea77786fb37edd2cd74f031 (git) Affected: c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 , < cd513e43b4b2bd1de39e2367bc4261c699a8652f (git) Affected: c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 , < 67b27434c43b68a97becda98c9f0c8cf6cba2134 (git) Affected: c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 , < 78069a6d8bc86c9e036eb82c2af4a19cc1871a53 (git) Affected: c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 , < f08fb3d42fd3aad0b7a263da3ac3ebaf0845e265 (git) Affected: c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 , < 772cecf198da732faebb5dcfc46d66a505be8495 (git) |
|||||||
|
|||||||||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"net/netfilter/nft_exthdr.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "8738b1b6d0e639ca1fc0f61516afd3557ac4ecc6",
"status": "affected",
"version": "c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783",
"versionType": "git"
},
{
"lessThan": "19748967d59c31d24d21d40b728570788310b237",
"status": "affected",
"version": "c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783",
"versionType": "git"
},
{
"lessThan": "46fc15a044e9938e7ea77786fb37edd2cd74f031",
"status": "affected",
"version": "c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783",
"versionType": "git"
},
{
"lessThan": "cd513e43b4b2bd1de39e2367bc4261c699a8652f",
"status": "affected",
"version": "c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783",
"versionType": "git"
},
{
"lessThan": "67b27434c43b68a97becda98c9f0c8cf6cba2134",
"status": "affected",
"version": "c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783",
"versionType": "git"
},
{
"lessThan": "78069a6d8bc86c9e036eb82c2af4a19cc1871a53",
"status": "affected",
"version": "c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783",
"versionType": "git"
},
{
"lessThan": "f08fb3d42fd3aad0b7a263da3ac3ebaf0845e265",
"status": "affected",
"version": "c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783",
"versionType": "git"
},
{
"lessThan": "772cecf198da732faebb5dcfc46d66a505be8495",
"status": "affected",
"version": "c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"net/netfilter/nft_exthdr.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "4.11"
},
{
"lessThan": "4.11",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.259",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.210",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.176",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.143",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.94",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.36",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.0.*",
"status": "unaffected",
"version": "7.0.13",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.1",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.259",
"versionStartIncluding": "4.11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.210",
"versionStartIncluding": "4.11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.176",
"versionStartIncluding": "4.11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.143",
"versionStartIncluding": "4.11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.94",
"versionStartIncluding": "4.11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.36",
"versionStartIncluding": "4.11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.0.13",
"versionStartIncluding": "4.11",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1",
"versionStartIncluding": "4.11",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_exthdr: fix register tracking for F_PRESENT flag\n\nnft_exthdr_init() passes user-controlled priv-\u003elen to\nnft_parse_register_store(), which marks that many bytes in the\nregister bitmap as initialized. However, when NFT_EXTHDR_F_PRESENT\nis set, the eval paths write only 1 byte (nft_reg_store8) or\n4 bytes (*dest = 0 on TCP/DCCP error path). When len \u003e 4,\nregisters beyond the first are never written, retaining\nuninitialized stack data from nft_regs.\n\nBail out if userspace requests too much data when F_PRESENT is set."
}
],
"providerMetadata": {
"dateUpdated": "2026-06-25T08:39:21.069Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/8738b1b6d0e639ca1fc0f61516afd3557ac4ecc6"
},
{
"url": "https://git.kernel.org/stable/c/19748967d59c31d24d21d40b728570788310b237"
},
{
"url": "https://git.kernel.org/stable/c/46fc15a044e9938e7ea77786fb37edd2cd74f031"
},
{
"url": "https://git.kernel.org/stable/c/cd513e43b4b2bd1de39e2367bc4261c699a8652f"
},
{
"url": "https://git.kernel.org/stable/c/67b27434c43b68a97becda98c9f0c8cf6cba2134"
},
{
"url": "https://git.kernel.org/stable/c/78069a6d8bc86c9e036eb82c2af4a19cc1871a53"
},
{
"url": "https://git.kernel.org/stable/c/f08fb3d42fd3aad0b7a263da3ac3ebaf0845e265"
},
{
"url": "https://git.kernel.org/stable/c/772cecf198da732faebb5dcfc46d66a505be8495"
}
],
"title": "netfilter: nft_exthdr: fix register tracking for F_PRESENT flag",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-53218",
"datePublished": "2026-06-25T08:39:21.069Z",
"dateReserved": "2026-06-09T07:44:35.392Z",
"dateUpdated": "2026-06-25T08:39:21.069Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…