Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-22059

7.5 · HIGH
Published Apr 16, 2025 linux CWE-190 EPSS 0.45% (38th pctl)

Overview

CVE-2025-22059 is a high-severity vulnerability affecting linux linux_kernel. It was published on April 16, 2025 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

udp: Fix multiple wraparounds of sk->sk_rmem_alloc.

__udp_enqueue_schedule_skb() has the following condition:

if (atomic_read(&sk->sk_rmem_alloc) > sk->sk_rcvbuf)

goto drop;

sk->sk_rcvbuf is initialised by net.core.rmem_default and later can

be configured by SO_RCVBUF, which is limited by net.core.rmem_max,

or SO_RCVBUFFORCE.

If we set INT_MAX to sk->sk_rcvbuf, the condition is always false

as sk->sk_rmem_alloc is also signed int.

Then, the size of the incoming skb is added to sk->sk_rmem_alloc

unconditionally.

This results in integer overflow (possibly multiple times) on

sk->sk_rmem_alloc and allows a single socket to have skb up to

net.core.udp_mem[1].

For example, if we set a large value to udp_mem[1] and INT_MAX to

sk->sk_rcvbuf and flood packets to the socket, we can see multiple

overflows:

# cat /proc/net/sockstat | grep UDP:

UDP: inuse 3 mem 7956736 <-- (7956736 << 12) bytes > INT_MAX *

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 6.10, < 6.12.23 Affected

Frequently Asked Questions

What is CVE-2025-22059?

CVE-2025-22059 is a high-severity vulnerability affecting linux linux_kernel. It was published on April 16, 2025 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2025-22059?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2025-22059?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-22059?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-22059 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.