In the Linux kernel, the following vulnerability has been resolved: net: restrict SO_RESERVE_MEM to TCP sockets and cap max value Commit… (CVE-2026-98801)
Description
A vulnerability in the Linux kernel related to the SO_RESERVE_MEM socket option has been resolved. The issue involved improper handling of SO_RESERVE_MEM on UDP sockets, which are only supported for TCP sockets. This could lead to memory accounting corruption due to concurrent operations and lack of proper locking. Additionally, there was no upper bound on the SO_RESERVE_MEM value, allowing large values to cause integer overflow and memory corruption. The fix restricts SO_RESERVE_MEM usage to TCP sockets and caps the maximum value to 1GB.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel vulnerability (CVE-2026-98801) concerns the SO_RESERVE_MEM socket option, which was incorrectly allowed on UDP sockets despite only being supported for TCP sockets. The original implementation only checked sk_has_account(sk), true for both TCP and UDP, but UDP sockets use different locking mechanisms, leading to potential corruption of sk_forward_alloc and memory controller accounting during concurrent operations. Furthermore, the lack of an upper bound on the SO_RESERVE_MEM value allowed near-INT_MAX values to overflow 32-bit signed integers, corrupting internal memory accounting fields. The resolution restricts SO_RESERVE_MEM to TCP sockets (sk_is_tcp(sk)) and enforces a maximum value of 1GB to prevent overflow and ensure consistent memory accounting.
Potential Impact
If exploited, this vulnerability could cause memory accounting corruption in the Linux kernel's networking stack, potentially leading to instability or denial of service. The corruption arises from concurrent UDP socket operations and unchecked large values for SO_RESERVE_MEM. However, the vulnerability is limited to misuse of the SO_RESERVE_MEM socket option and does not affect UDP sockets due to the fix restricting its use to TCP sockets.
Mitigation Recommendations
The vulnerability has been resolved by restricting SO_RESERVE_MEM usage to TCP sockets and capping the maximum value to 1GB. Users should apply the official Linux kernel updates that include these fixes. There is no indication of existing exploits in the wild. No additional mitigation steps are required beyond updating to a patched kernel version.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-4vp5-jwr6-3q9m
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98801"]
Threat ID: 6ad520aa2cdf04f6569938ce
Added to database: 10/18/2026, 19:40:26 UTC
Last enriched: 10/18/2026, 22:20:25 UTC
Last updated: 10/18/2026, 22:20:25 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.