Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-90157— bpf: Reject negative optlen in cgroup getsockopt hook

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 Linux 内核中,已修复以下漏洞: BPF:在 cgroup getsockopt 钩子中拒绝负的 optlen cgroup getsockopt BPF 程序可以在内核的 getsockopt 处理程序执行后缩小 的值。用于 的内核缓冲区变体,仅拒绝大于原始长度的值。 如果 BPF 写入了负的 ,该值会被接受并传回 TCP 的 getsockopt 代码。随后,它会被以 类型传递给 ,从而触发强化版 usercopy 的 “bytes > INT_MAX” 警告。 在 中拒绝负的 ,以匹配基于 sockp

AI Predicted 5.5 Difficulty: Moderate EPSS 0.22% · P11

Possible ATT&CK Techniques 1 AI

T1055 · Process Injection

Affected Version Matrix 19

VendorProduct Version RangeStatus
Linux Linux 08f61a34913558e06576e7b6318bf583f273c1be< 5b09d984b38b018b123c3a9e02a96bbc6468dbe5 affected
9cacf81f8161111db25f98e78a7a0e32ae142b3f< 554ba7195c4108726450e24480c8449990c2268c affected
9cacf81f8161111db25f98e78a7a0e32ae142b3f< d02a12b4085ffe41ea750b1007f7a9c7aee2875a affected
9cacf81f8161111db25f98e78a7a0e32ae142b3f< e6fbf0eba87f50084d67508898f6ad6fc7ff1ba2 affected
9cacf81f8161111db25f98e78a7a0e32ae142b3f< f68671b1a98d426c57864bd457c125fee14ac1a5 affected
9cacf81f8161111db25f98e78a7a0e32ae142b3f< 2bdbe00454200fcb0110f31eeca8d906a3515e74 affected
9cacf81f8161111db25f98e78a7a0e32ae142b3f< 31a89af4f513d750fec196e2bb6195a7d4473e9f affected
9cacf81f8161111db25f98e78a7a0e32ae142b3f< 1b5aacd5b2419b0790e955e466d389a61c79b4b1 affected
… +11 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-90157

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
bpf: Reject negative optlen in cgroup getsockopt hook
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 08f61a34913558e06576e7b6318bf583f273c1be ~ 5b09d984b38b018b123c3a9e02a96bbc6468dbe5 -
Linux Linux 5.12 -

II. Public POCs for CVE-2026-90157

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-90157

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-90157 (8)

Same Patch Batch · Linux · 2026-09-17 · 600 CVEs total

CVE-2026-90235 9.8 CRITICAL sunrpc: xprtsock: annotate shared socket callbacks with READ_ONCE/WRITE_ONCE
CVE-2026-90104 9.8 CRITICAL NFSv4.1: zero referring call lists before decoding
CVE-2026-90173 9.8 CRITICAL smb: smbdirect: free completion queues with ib_free_cq()
CVE-2026-92489 9.8 CRITICAL xfrm: Fix skb double-free in xfrm_dev_direct_output()
CVE-2026-90151 9.8 CRITICAL NFSv4: remove callback IDR entry on client allocation failure
CVE-2026-90110 9.4 CRITICAL inetpeer: randomize RB-tree node comparison using SipHash
CVE-2026-90230 9.1 CRITICAL nvmet: fix heap out-of-bounds read in nvmet_auth_negotiate()
CVE-2026-90414 9.1 CRITICAL IB/isert: reject PDUs declaring more data than was received
CVE-2026-90413 9.1 CRITICAL IB/isert: reject login PDUs declaring more data than was received
CVE-2026-90380 8.8 HIGH wifi: mt76: mt792x: fix use-after-free in mt76_rx_poll_complete
CVE-2026-93042 8.8 HIGH dmaengine: dw-edma: Terminate all descriptors without callbacks
CVE-2026-90425 8.8 HIGH iommu/tegra241-cmdqv: Require exactly one Stream ID for a vSID
CVE-2026-90240 8.8 HIGH iommu/vt-d: Flush context cache with correct SID when tearing down aliases
CVE-2026-90381 8.8 HIGH wifi: mt76: fix handling channel context with different bands in mt76_switch_vif_chanctx()
CVE-2026-90329 8.8 HIGH HID: synchronize input before cleaning up a failed probe
CVE-2026-90357 8.8 HIGH wifi: mt76: mt7915: unlink TWT flow if the MCU rejects the agreement
CVE-2026-90379 8.8 HIGH wifi: mt76: mt7921: Add PCIe AER handler support to prevent system crash
CVE-2026-90162 8.8 HIGH ksmbd: defer publishing granted locks to prevent UAF/double-free race
CVE-2026-93189 8.8 HIGH HID: core: quiesce input in hid_hw_stop() to prevent use-after-free
CVE-2026-90255 8.8 HIGH Bluetooth: hci_conn: fix the SCO setup context lifetime

Showing top 20 of 600 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2026-90157

No comments yet


Leave a comment