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-39756

5.5 · MEDIUM
Published Sep 11, 2025 linux CWE-401 EPSS 0.18% (7th pctl)

Overview

CVE-2025-39756 is a medium-severity vulnerability affecting linux linux_kernel. It was published on September 11, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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

fs: Prevent file descriptor table allocations exceeding INT_MAX

When sysctl_nr_open is set to a very high value (for example, 1073741816

as set by systemd), processes attempting to use file descriptors near

the limit can trigger massive memory allocation attempts that exceed

INT_MAX, resulting in a WARNING in mm/slub.c:

WARNING: CPU: 0 PID: 44 at mm/slub.c:5027 __kvmalloc_node_noprof+0x21a/0x288

This happens because kvmalloc_array() and kvmalloc() check if the

requested size exceeds INT_MAX and emit a warning when the allocation is

not flagged with __GFP_NOWARN.

Specifically, when nr_open is set to 1073741816 (0x3ffffff8) and a

process calls dup2(oldfd, 1073741880), the kernel attempts to allocate:

- File descriptor array: 1073741880 * 8 bytes = 8,589,935,040 bytes

- Multiple bitmaps: ~400MB

- Total allocation size: > 8GB (exceeding INT_MAX = 2,147,483,647)

Reproducer:

1. Set /proc/sys/fs/nr_open to 1073741816:

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 >= 2.6.25, < 5.4.297 Affected

Frequently Asked Questions

What is CVE-2025-39756?

CVE-2025-39756 is a medium-severity vulnerability affecting linux linux_kernel. It was published on September 11, 2025 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2025-39756?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

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

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-39756?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-39756 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.