{"api_version":"1","generated_at":"2026-09-15T12:27:22+00:00","cve":"CVE-2026-72423","urls":{"html":"https://cve.report/CVE-2026-72423","api":"https://cve.report/api/cve/CVE-2026-72423.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-72423","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-72423"},"summary":{"title":"bpf: Guard conntrack opts error writes","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Guard conntrack opts error writes\n\nThe conntrack lookup and allocation kfuncs take an opts pointer\ntogether with an opts__sz argument. The verifier checks only the memory\nrange described by opts__sz, but the wrappers unconditionally write\nopts->error whenever the internal lookup or allocation helper returns an\nerror.\n\nFor an invalid size smaller than the end of opts->error, that write can\nland outside the verifier-checked range. Keep returning NULL for invalid\narguments, but only report the error through opts->error when the\nsupplied size includes the field.\n\nThis preserves error reporting for the supported 12-byte and 16-byte\nlayouts, and for other invalid sizes that still include opts->error.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-15 06:22:16","updated_at":"2026-08-17 06:19:09"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","data":{"baseScore":8.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/dd74c80203842a21b2ebb9f70d1260d9aa20fa05","name":"https://git.kernel.org/stable/c/dd74c80203842a21b2ebb9f70d1260d9aa20fa05","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6f6183a39533d727deaa5061cadae6dd9e6744d0","name":"https://git.kernel.org/stable/c/6f6183a39533d727deaa5061cadae6dd9e6744d0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-72423","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72423","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b4c2b9593a1c4c3a718370e34af28e817fd5e5c6 dd74c80203842a21b2ebb9f70d1260d9aa20fa05 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b4c2b9593a1c4c3a718370e34af28e817fd5e5c6 6f6183a39533d727deaa5061cadae6dd9e6744d0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.18","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.18 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.5 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"72423","cve":"CVE-2026-72423","epss":"0.001540000","percentile":"0.050620000","score_date":"2026-08-17","updated_at":"2026-08-18 00:11:47"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/netfilter/nf_conntrack_bpf.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"dd74c80203842a21b2ebb9f70d1260d9aa20fa05","status":"affected","version":"b4c2b9593a1c4c3a718370e34af28e817fd5e5c6","versionType":"git"},{"lessThan":"6f6183a39533d727deaa5061cadae6dd9e6744d0","status":"affected","version":"b4c2b9593a1c4c3a718370e34af28e817fd5e5c6","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/netfilter/nf_conntrack_bpf.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.18"},{"lessThan":"5.18","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.5","versionStartIncluding":"5.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2","versionStartIncluding":"5.18","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Guard conntrack opts error writes\n\nThe conntrack lookup and allocation kfuncs take an opts pointer\ntogether with an opts__sz argument. The verifier checks only the memory\nrange described by opts__sz, but the wrappers unconditionally write\nopts->error whenever the internal lookup or allocation helper returns an\nerror.\n\nFor an invalid size smaller than the end of opts->error, that write can\nland outside the verifier-checked range. Keep returning NULL for invalid\narguments, but only report the error through opts->error when the\nsupplied size includes the field.\n\nThis preserves error reporting for the supported 12-byte and 16-byte\nlayouts, and for other invalid sizes that still include opts->error."}],"metrics":[{"cvssV3_1":{"baseScore":8.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - Exploitation requires loading and attaching a BPF XDP or TC program that calls the conntrack kfuncs via the bpf() syscall; per kernel CNA guidance BPF/netfilter paths are Local even when programs later run on network packets.\nAC:L - An attacker reliably triggers the bug by calling bpf_xdp_ct_lookup/alloc or bpf_skb_ct_lookup/alloc with opts__sz smaller than the error field (e.g. 4); the helper returns EINVAL and the wrapper performs the out-of-bounds write with no races or attacker-uncontrollable conditions.\nPR:L - Loading BPF_PROG_TYPE_XDP or BPF_PROG_TYPE_SCHED_CLS programs requires CAP_NET_ADMIN, which unprivileged users can obtain inside user/network namespaces (unshare -Urn) on typical Linux deployments without init-namespace root.\nUI:N - No victim interaction is required; the attacker loads their own BPF program and invokes the kfunc with a small opts__sz to trigger the out-of-bounds write on demand.\nS:C - Corrupting kernel memory via a verifier-bypassing BPF stack write from a user/network namespace can cross the namespace/container trust boundary to compromise the host kernel, exceeding the attacker's original security scope.\nC:H - The bug is a controlled 4-byte out-of-bounds write past the verifier-approved opts buffer on the BPF stack, a memory-corruption primitive that can be leveraged for arbitrary kernel memory disclosure.\nI:H - Writing opts->error outside the verifier-checked range corrupts adjacent BPF stack slots with attacker-influenced errno values, enabling heap/stack grooming and control-flow hijacking toward arbitrary kernel code execution.\nA:H - Corrupting BPF stack memory outside verifier bounds can cause immediate kernel oops/panic or be used in a repeatable crash/DoS loop when the attached XDP/TC program runs on incoming traffic."}]}],"providerMetadata":{"dateUpdated":"2026-08-17T05:44:03.898Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/dd74c80203842a21b2ebb9f70d1260d9aa20fa05"},{"url":"https://git.kernel.org/stable/c/6f6183a39533d727deaa5061cadae6dd9e6744d0"}],"title":"bpf: Guard conntrack opts error writes","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-72423","datePublished":"2026-08-15T05:56:41.711Z","dateReserved":"2026-08-09T03:40:39.928Z","dateUpdated":"2026-08-17T05:44:03.898Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-15 06:22:16","lastModifiedDate":"2026-08-17 06:19:09","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2,"impactScore":6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"72423","Ordinal":"1","Title":"bpf: Guard conntrack opts error writes","CVE":"CVE-2026-72423","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"72423","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Guard conntrack opts error writes\n\nThe conntrack lookup and allocation kfuncs take an opts pointer\ntogether with an opts__sz argument. The verifier checks only the memory\nrange described by opts__sz, but the wrappers unconditionally write\nopts->error whenever the internal lookup or allocation helper returns an\nerror.\n\nFor an invalid size smaller than the end of opts->error, that write can\nland outside the verifier-checked range. Keep returning NULL for invalid\narguments, but only report the error through opts->error when the\nsupplied size includes the field.\n\nThis preserves error reporting for the supported 12-byte and 16-byte\nlayouts, and for other invalid sizes that still include opts->error.","Type":"Description","Title":"bpf: Guard conntrack opts error writes"}]}}}