CVE-2026-90157 — bpf: Reject negative optlen in cgroup getsockopt hook
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.
Who exploits it and how urgent it is
A 0–100 score combining confirmed exploitation, ransomware and APT use, public exploits, EPSS and severity.
How the score was calculated
- EPSS 0.2% (30-day exploitation probability)+2
The score orders the patch queue; it does not replace your asset context (internet exposure, criticality, compensating controls).
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the sources call it.
Remediation
Fixes and mitigations documented by the sources — linked to the original advisory.
No fix documented by the sources we poll. That does not mean none exists: check the vendor advisory.
First 24 hours
Ordered from the record’s own fields — exposure first, because you cannot patch what you have not found. A rule-generated starting point.
- Identify exposed assets running the affected vendor/product/version combinations (Linux Linux).
- No fix documented in the sources: reduce exposure and monitor the vendor advisory.
- Search available logs for exploit probes, errors and authentication anomalies.
Affected scope
Vendor, product and versions as the sources word them.
| Vendor | Product | Versions | Status | Source |
|---|---|---|---|---|
| Linux | Linux |
≥ 08f61a34913558e06576e7b6318bf583f273c1be and < 5b09d984b38b018b123c3a9e02a96bbc6468dbe5≥ 9cacf81f8161111db25f98e78a7a0e32ae142b3f and < 554ba7195c4108726450e24480c8449990c2268c≥ 9cacf81f8161111db25f98e78a7a0e32ae142b3f and < d02a12b4085ffe41ea750b1007f7a9c7aee2875a≥ 9cacf81f8161111db25f98e78a7a0e32ae142b3f and < e6fbf0eba87f50084d67508898f6ad6fc7ff1ba2≥ 9cacf81f8161111db25f98e78a7a0e32ae142b3f and < f68671b1a98d426c57864bd457c125fee14ac1a5≥ 9cacf81f8161111db25f98e78a7a0e32ae142b3f and < 2bdbe00454200fcb0110f31eeca8d906a3515e74≥ 9cacf81f8161111db25f98e78a7a0e32ae142b3f and < 31a89af4f513d750fec196e2bb6195a7d4473e9f≥ 9cacf81f8161111db25f98e78a7a0e32ae142b3f and < 1b5aacd5b2419b0790e955e466d389a61c79b4b1 and 2 more≥ 5.10.188 and < 5.10.270version 5.12 |
Vulnerable | CVE Program (cve.org) e CISA ADP |
EPSS over time FIRST
Oct 15, 2026 → Oct 18, 2026 · 3 reading(s) · max 0.21%
Detection
Read off the CVSS vector and the weakness class. Starting points, not tested rules.
- Not enough vector or weakness data: use the affected application’s logs as a starting point.
Timeline
What happened to this CVE, newest first.
- 2026
- Record published
- Affected products added · linux/linux
- Source status changed · → Received
- Record created in this database
- CVE published
Source activity
Repeated readings are counted rather than listed.
- 1× References added · Oct 19, 2026 – Oct 19, 2026
- 1× Official description updated · Oct 15, 2026 – Oct 15, 2026
References
10 on the record
- git.kernel.org/stable/c/e6fbf0eba87f50084d67508898f6ad6fc7ff1ba2
- git.kernel.org/stable/c/554ba7195c4108726450e24480c8449990c2268c
- git.kernel.org/stable/c/31a89af4f513d750fec196e2bb6195a7d4473e9f
- nvd.nist.gov/vuln/detail/CVE-2026-90157
- github.com/advisories/GHSA-v6r2-3cg3-jrp9
- git.kernel.org/stable/c/2bdbe00454200fcb0110f31eeca8d906a3515e74
- git.kernel.org/stable/c/f68671b1a98d426c57864bd457c125fee14ac1a5
- git.kernel.org/stable/c/5b09d984b38b018b123c3a9e02a96bbc6468dbe5
- git.kernel.org/stable/c/d02a12b4085ffe41ea750b1007f7a9c7aee2875a
- git.kernel.org/stable/c/1b5aacd5b2419b0790e955e466d389a61c79b4b1
Elsewhere on this site
Related CVEs (same products)
- Unknown CVE-2026-98866 sched/cache: Introduce task_struct->sched_cache_grp to fix UAF 1d
- Unknown CVE-2026-98867 dm-pcache: bound the logical key offset from persistent memory 1d
- Unknown CVE-2026-98868 dm-pcache: reject a kset that overruns its segment 1d
- Unknown CVE-2026-98856 kprobes: Skip disarmed probes when checking optkprobe overlap 1d
- Unknown CVE-2026-98857 ipvs: bound LBLCR and LBLC cache growth 1d
- Unknown CVE-2026-98858 io_uring: fix task_work add use-after-free with SQPOLL 1d
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No CVSS score published by NVD, the CNA, CISA or GitHub so far.
- No fixed version, patch or mitigation documented.
- No CISA SSVC assessment.
- No CWE classification.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record
Text assembled only from the fields above — no additional claims.
What should defenders know first?
CVE-2026-90157 is "bpf: Reject negative optlen in cgroup getsockopt hook", rated Unknown. It affects Linux (Linux); versions are in the scope table. It is not in CISA KEV, which does not rule out exploitation. EPSS 0.21% estimates the probability of exploitation in 30 days; neither replaces your asset context. First verify whether exposed or business-critical assets run the affected versions, apply vendor fixes or mitigations, and preserve logs for review.
Comments
Moderated technical discussion. Read the community guidelines.
No comments yet.
Sign in or create an account to comment and suggest corrections.