CVE-2026-98801
net: restrict SO_RESERVE_MEM to TCP sockets and cap max value
Mitigation
- Upgrade Linux to 37e02c42a00be692c06343e11779aadc45f45971 or later.
Who should check
- Anyone running Linux >= 2bb2f5fb21b0486ff69b7b4a1fe03a760527d133, < 492e04f9a00f3cc88a1f6899417b10f3019a624e; >= 2bb2f5fb21b0486ff69b7b4a1fe03a760527d133, < 5069ce898148bd799395c5a464e006cbb840f188; >= 2bb2f5fb21b0486ff69b7b4a1fe03a760527d133, < a467b05b201b5c26be52ed3081992fa9c0387648; >= 2bb2f5fb21b0486ff69b7b4a1fe03a760527d133, < 37e02c42a00be692c06343e11779aadc45f45971
- Anyone running Linux 5.16
Vulnerability facts
- Affected
- Linux >= 2bb2f5fb21b0486ff69b7b4a1fe03a760527d133, < 492e04f9a00f3cc88a1f6899417b10f3019a624e; >= 2bb2f5fb21b0486ff69b7b4a1fe03a760527d133, < 5069ce898148bd799395c5a464e006cbb840f188; >= 2bb2f5fb21b0486ff69b7b4a1fe03a760527d133, < a467b05b201b5c26be52ed3081992fa9c0387648; >= 2bb2f5fb21b0486ff69b7b4a1fe03a760527d133, < 37e02c42a00be692c06343e11779aadc45f45971; Linux 5.16
- Fixed in
- Linux 492e04f9a00f3cc88a1f6899417b10f3019a624e, Linux 5069ce898148bd799395c5a464e006cbb840f188, Linux 37e02c42a00be692c06343e11779aadc45f45971
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: net: restrict SO_RESERVE_MEM to TCP sockets and cap max value Commit 2bb2f5fb21b0 ("net: add new socket option SO_RESERVE_MEM") and commit d00c8ee31729 ("net: fix possible NULL deref in sock_reserve_memory") only checked sk_has_account(sk), which is true for both TCP and UDP sockets. However, SO_RESERVE_MEM and sk_unused_reserved_mem() are currently only supported by TCP: - On UDP sockets, sk->sk_forward_alloc is protected by sk->sk_receive_queue.lock, whereas sock_reserve_memory() and sock_release_reserved_memory() only acquire lock_sock(sk). Concurrent UDP packet reception/release and setsockopt(SO_RESERVE_MEM) corrupt sk_forward_alloc and memcg accounting. - udp_rmem_release() reclaims excess sk_forward_alloc without accounting for sk_unused_reserved_mem(sk). Restrict sock_reserve_memory() to TCP sockets (sk_is_tcp(sk)) for now. Supporting SO_RESERVE_MEM for UDP (acquiring sk_receive_queue.lock and honoring sk_unused_reserved_mem() in udp_rmem_release()) can be done in a future net-next series if needed. In addition, reject val > SZ_1G with -EINVAL in sk_setsockopt(SO_RESERVE_MEM). Without an upper bound, values near INT_MAX cause sk_mem_pages(delta) and (pages << PAGE_SHIFT) to overflow 32-bit signed int, corrupting sk->sk_forward_alloc and sk->sk_reserved_mem. Using a page-aligned cap (SZ_1G) ensures that the page-rounded sk->sk_reserved_mem reported by getsockopt(SO_RESERVE_MEM) can always be passed back to setsockopt(SO_RESERVE_MEM).
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 2bb2f5fb21b0486ff69b7b4a1fe03a760527d133, < 492e04f9a00f3cc88a1f6899417b10f3019a624e; >= 2bb2f5fb21b0486ff69b7b4a1fe03a760527d133, < 5069ce898148bd799395c5a464e006cbb840f188; >= 2bb2f5fb21b0486ff69b7b4a1fe03a760527d133, < a467b05b201b5c26be52ed3081992fa9c0387648; >= 2bb2f5fb21b0486ff69b7b4a1fe03a760527d133, < 37e02c42a00be692c06343e11779aadc45f45971 | — | cvelist |
| Linux | 5.16 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-98801. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-98801.md Affected: Linux >= 2bb2f5fb21b0486ff69b7b4a1fe03a760527d133, < 492e04f9a00f3cc88a1f6899417b10f3019a624e; >= 2bb2f5fb21b0486ff69b7b4a1fe03a760527d133, < 5069ce898148bd799395c5a464e006cbb840f188; >= 2bb2f5fb21b0486ff69b7b4a1fe03a760527d133, < a467b05b201b5c26be52ed3081992fa9c0387648; >= 2bb2f5fb21b0486ff69b7b4… Fixed in: Linux 492e04f9a00f3cc88a1f6899417b10f3019a624e, Linux 5069ce898148bd799395c5a464e006cbb840f188, Linux 37e02c42a00be692c06343e11779aadc45f45971 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-98801 being exploited?
There is no confirmed exploitation: CVE-2026-98801 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-98801?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-98801?
Linux >= 2bb2f5fb21b0486ff69b7b4a1fe03a760527d133, < 492e04f9a00f3cc88a1f6899417b10f3019a624e; >= 2bb2f5fb21b0486ff69b7b4a1fe03a760527d133, < 5069ce898148bd799395c5a464e006cbb840f188; >= 2bb2f5fb21b0486ff69b7b4a1fe03a760527d133, < a467b05b201b5c26be52ed3081992fa9c0387648; >= 2bb2f5fb21b0486ff69b7b4a1fe03a760527d133, < 37e02c42a00be692c06343e11779aadc45f45971; Linux 5.16.
Is there a fix for CVE-2026-98801?
Yes. Fixed in Linux 492e04f9a00f3cc88a1f6899417b10f3019a624e, Linux 5069ce898148bd799395c5a464e006cbb840f188, Linux 37e02c42a00be692c06343e11779aadc45f45971. Upgrade Linux to 37e02c42a00be692c06343e11779aadc45f45971 or later.
How do I check if I'm affected by CVE-2026-98801?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.