bpf: Guard conntrack opts error writes
In the Linux kernel, the following vulnerability has been resolved: bpf: Guard conntrack opts error writes The conntrack lookup and allocation kfuncs take an opts pointer together with an opts__sz argument. The verifier checks only the memory range described by opts__sz, but the wrappers unconditionally write opts->error whenever the internal lookup or allocation helper returns an error. For an invalid size smaller than the end of opts->error, that write can land outside the verifier-checked range. Keep returning NULL for invalid arguments, but only report the error through opts->error when the supplied size includes the field. This preserves error reporting for the supported 12-byte and 16-byte layouts, and for other invalid sizes that still include opts->error.
CVE-2026-72423
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-72423
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "b4c2b9593a1c4c3a718370e34af28e817fd5e5c6",
"lessThan": "669bc3b345712112d3f033a1953f5a10b15e7c65",
"versionType": "git"
},
{
"status": "affected",
"version": "b4c2b9593a1c4c3a718370e34af28e817fd5e5c6",
"lessThan": "63d95c6bbd6fc0e411404188306a1fea456300b0",
"versionType": "git"
},
{
"status": "affected",
"version": "b4c2b9593a1c4c3a718370e34af28e817fd5e5c6",
"lessThan": "453f4f1e90de55b6bc297936031b68bef93f2e28",
"versionType": "git"
},
{
"status": "affected",
"version": "b4c2b9593a1c4c3a718370e34af28e817fd5e5c6",
"lessThan": "dd74c80203842a21b2ebb9f70d1260d9aa20fa05",
"versionType": "git"
},
{
"status": "affected",
"version": "b4c2b9593a1c4c3a718370e34af28e817fd5e5c6",
"lessThan": "6f6183a39533d727deaa5061cadae6dd9e6744d0",
"versionType": "git"
}
],
"programFiles": [
"net/netfilter/nf_conntrack_bpf.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.18"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.18",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.114",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.57",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.1.5",
"versionType": "semver",
"lessThanOrEqual": "7.1.*"
},
{
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/netfilter/nf_conntrack_bpf.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-72423
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #46520 · Revision 1
- Added to Heist Feed
- Publisher date