CVE-2026-90157 json
bpf: Reject negative optlen in cgroup getsockopt hook
published 2026-09-17 52 d ago modified 2026-10-19 20 d ago also EUVD-2026-81750
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 12%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.52, 7.2.6, 7.3
- linux Debian 12 6.1.190-1
- linux Debian 13 6.12.111-1
- linux Debian 14 7.2.6-1
- linux-6.12 Debian 12 6.12.111-1~deb12u1
debian advisories DEBIAN-CVE-2026-90157
- linux Ubuntu 22.04 LTS 5.15.0-202.212
- linux Ubuntu 26.04 LTS 7.0.0-42.42
- linux-aws Ubuntu 22.04 LTS 5.15.0-1119.126
- linux-aws Ubuntu 26.04 LTS 7.0.0-1016.17
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1120.130
- linux-gcp Ubuntu 26.04 LTS 7.0.0-1016.18
- linux-gke Ubuntu 22.04 LTS 5.15.0-1115.121
- linux-ibm Ubuntu 22.04 LTS 5.15.0-1113.117
ubuntu advisories UBUNTU-CVE-2026-90157
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-source openSUSE Tumbleweed 7.2.7-1.1
opensuse advisories openSUSE-SU-2026:11880-1
- kernel Azure Linux 3.0 6.6.157.1-1
azure linux advisories AZL-102590
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- git.kernel.org/stable/c/5b09d984b38b018b123c3a9e02a96bbc6468dbe5 commit
- git.kernel.org/stable/c/554ba7195c4108726450e24480c8449990c2268c commit
- git.kernel.org/stable/c/d02a12b4085ffe41ea750b1007f7a9c7aee2875a commit
- git.kernel.org/stable/c/e6fbf0eba87f50084d67508898f6ad6fc7ff1ba2 commit
- git.kernel.org/stable/c/f68671b1a98d426c57864bd457c125fee14ac1a5 commit
- git.kernel.org/stable/c/2bdbe00454200fcb0110f31eeca8d906a3515e74 commit
- git.kernel.org/stable/c/31a89af4f513d750fec196e2bb6195a7d4473e9f commit
- git.kernel.org/stable/c/1b5aacd5b2419b0790e955e466d389a61c79b4b1 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-90157 updated cvss 5.5
kernel: bpf: Reject negative optlen in cgroup getsockopt hook
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernel Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9 Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-9affected: workaround, no fix available “Fix deferred”
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 12% of all scored CVEs (FIRST EPSS, 2026-11-08).
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/5b09d984b38b018b123c3a9e02a96bbc6468dbe5
- git.kernel.org /stable/c/554ba7195c4108726450e24480c8449990c2268c
- git.kernel.org /stable/c/d02a12b4085ffe41ea750b1007f7a9c7aee2875a
- git.kernel.org /stable/c/e6fbf0eba87f50084d67508898f6ad6fc7ff1ba2
- git.kernel.org /stable/c/f68671b1a98d426c57864bd457c125fee14ac1a5
- git.kernel.org /stable/c/2bdbe00454200fcb0110f31eeca8d906a3515e74
- git.kernel.org /stable/c/31a89af4f513d750fec196e2bb6195a7d4473e9f
- git.kernel.org /stable/c/1b5aacd5b2419b0790e955e466d389a61c79b4b1
Sources
- CVE List CVE-2026-90157
- NVD CVE-2026-90157
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.