In the Linux kernel, the following vulnerability has been resolved: bpf: Reject negative optlen in cgroup getsockopt hook A cgroup getsockopt BPF program can shrink ctx->optlen after the kernel getsockopt handler has run.
Overview
In the Linux kernel, the following vulnerability has been resolved: bpf: Reject negative optlen in cgroup getsockopt hook A cgroup getsockopt BPF program can shrink ctx->optlen after the kernel getsockopt handler has run. The kernel-buffer variant, used by TCP_ZEROCOPY_RECEIVE, only rejects values larger than the original length. If BPF writes a negative optlen, that value is accepted and propagated back to the TCP getsockopt code. It can then be passed to copy_to_sockptr() as a size_t and trigger the hardened usercopy bytes > INT_MAX warning. Reject negative ctx.optlen in __cgroup_bpf_run_filter_getsockopt_kern(), matching the lower-bound validation already present in the sockptr-based getsockopt hook.
- Published
- 9/17/2026
- Last modified
- 10/19/2026
- Assigned by
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ 08f61a34913558e06576e7b6318bf583f273c1be, < 5b09d984b38b018b123c3a9e02a96bbc6468dbe5 | Verify advisory | Source |
Linux Linux | ≥ 9cacf81f8161111db25f98e78a7a0e32ae142b3f, < 554ba7195c4108726450e24480c8449990c2268c | Verify advisory | Source |
Linux Linux | ≥ 9cacf81f8161111db25f98e78a7a0e32ae142b3f, < d02a12b4085ffe41ea750b1007f7a9c7aee2875a | Verify advisory | Source |
Linux Linux | ≥ 9cacf81f8161111db25f98e78a7a0e32ae142b3f, < e6fbf0eba87f50084d67508898f6ad6fc7ff1ba2 | Verify advisory | Source |
Linux Linux | ≥ 9cacf81f8161111db25f98e78a7a0e32ae142b3f, < f68671b1a98d426c57864bd457c125fee14ac1a5 | Verify advisory | Source |
Linux Linux | ≥ 9cacf81f8161111db25f98e78a7a0e32ae142b3f, < 2bdbe00454200fcb0110f31eeca8d906a3515e74 | Verify advisory | Source |
Linux Linux | ≥ 9cacf81f8161111db25f98e78a7a0e32ae142b3f, < 31a89af4f513d750fec196e2bb6195a7d4473e9f | Verify advisory | Source |
Linux Linux | ≥ 9cacf81f8161111db25f98e78a7a0e32ae142b3f, < 1b5aacd5b2419b0790e955e466d389a61c79b4b1 | Verify advisory | Source |
Linux Linux | ≥ 5.10.188, < 5.10.270 | Verify advisory | Source |
Linux Linux | 5.12 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
No CVSS score is published for this record yet. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.