Skip to content
Noroxi
NVD / CVE Program· CNA Linux

CVE-2025-39756: fs: Prevent file descriptor table allocations exceeding INT_MAX

Noroxi assessment

Priority: Monitor (action score 22/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 0.18% (FIRST EPSS).
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: Linux Linux 04a2c4b4511d186b0fce685da21085a5d4acd370, 237e416eb62101f21b28c9e6e564d10efe1ecc6f, 628fc28f42d979f36dbf75a6129ac7730e30c04e; azl3 kernel 6.6.96.2-2 on Azure Linux 3.0 6.6.104.2-1.

Low priority for now. Upgrade to Linux Linux 04a2c4b4511d186b0fce685da21085a5d4acd370, 237e416eb62101f21b28c9e6e564d10efe1ecc6f, 628fc28f42d979f36dbf75a6129ac7730e30c04e; azl3 kernel 6.6.96.2-2 on Azure Linux 3.0 6.6.104.2-1 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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: # echo 1073741816 > /proc/sys/fs/nr_open 2. Run a program that uses a high file descriptor: #include <unistd.h> #include <sys/resource.h> int main() { struct rlimit rlim = {1073741824, 1073741824}; setrlimit(RLIMIT_NOFILE, &rlim); dup2(2, 1073741880); // Triggers the warning return 0; } 3. Observe WARNING in dmesg at mm/slub.c:5027 systemd commit a8b627a introduced automatic bumping of fs.nr_open to the maximum possible value. The rationale was that systems with memory control groups (memcg) no longer need separate file descriptor limits since memory is properly accounted. However, this change overlooked that: 1. The kernel's allocation functions still enforce INT_MAX as a maximum size regardless of memcg accounting 2. Programs and tests that legitimately test file descriptor limits can inadvertently trigger massive allocations 3. The resulting allocations (>8GB) are impractical and will always fail systemd's algorithm starts with INT_MAX and keeps halving the value until the kernel accepts it. On most systems, this results in nr_open being set to 1073741816 (0x3ffffff8), which is just under 1GB of file descriptors. While processes rarely use file descriptors near this limit in normal operation, certain selftests (like tools/testing/selftests/core/unshare_test.c) and programs that test file descriptor limits can trigger this issue. Fix this by adding a check in alloc_fdtable() to ensure the requested allocation size does not exceed INT_MAX. This causes the operation to fail with -EMFILE instead of triggering a kernel warning and avoids the impractical >8GB memory allocation request.

MediumCVSS 5.5 · v3.1—No exploit Fix available
Published
Sep 11, 2025
Updated
Oct 19, 2026
EPSS
0.1% · 7th percentile

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
22 / 40 · 5.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.1%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2025-39756

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
linuxlinux kernel
debiandebian linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux11.0
  • linux linux kernel5.5 and later · before 5.10.241
  • linux linux kernel5.11 and later · before 5.15.190
  • linux linux kernel5.16 and later · before 6.1.149
  • linux linux kernel2.6.25 and later · before 5.4.297
  • linux linux kernel6.7 and later · before 6.12.43
  • linux linux kernel6.13 and later · before 6.15.11
  • linux linux kernel6.16 and later · before 6.16.2
  • linux linux kernel6.2 and later · before 6.6.103

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 2.6.25affected
    • 9cfe015aa424b3c003baba3841a60dd9b5ad319b and later · before b4159c5a90c03f8acd3de345a7f5fc63b0909818affected · git
    • 9cfe015aa424b3c003baba3841a60dd9b5ad319b and later · before f95638a8f22eba307dceddf5aef9ae2326bbcf98affected · git
    • 9cfe015aa424b3c003baba3841a60dd9b5ad319b and later · before 749528086620f8012b83ae032a80f6ffa80c45cdaffected · git
    • 9cfe015aa424b3c003baba3841a60dd9b5ad319b and later · before 628fc28f42d979f36dbf75a6129ac7730e30c04eaffected · git
    • 9cfe015aa424b3c003baba3841a60dd9b5ad319b and later · before 237e416eb62101f21b28c9e6e564d10efe1ecc6faffected · git
    • 9cfe015aa424b3c003baba3841a60dd9b5ad319b and later · before d4f9351243c17865a8cdbe6b3ccd09d0b13a7bccaffected · git
    • 9cfe015aa424b3c003baba3841a60dd9b5ad319b and later · before 9f61fa6a2a89a610120bc4e5d24379c667314b5caffected · git
    • 9cfe015aa424b3c003baba3841a60dd9b5ad319b and later · before dfd1f4ea98c3bd3a03d12169b5b2daa1f0a3e4aeaffected · git
    • 9cfe015aa424b3c003baba3841a60dd9b5ad319b and later · before 04a2c4b4511d186b0fce685da21085a5d4acd370affected · git

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12linuxbefore 6.1.153-16.1.153-1
Debian:13linuxbefore 6.12.43-16.12.43-1
Debian:14linuxbefore 6.16.3-16.16.3-1
openSUSE:Leap 16.0dtb-aarch64before 6.12.0-160000.7.16.12.0-160000.7.1
openSUSE:Leap 16.0kernel-64kbbefore 6.12.0-160000.7.16.12.0-160000.7.1
openSUSE:Leap 16.0kernel-defaultbefore 6.12.0-160000.7.16.12.0-160000.7.1
openSUSE:Leap 16.0kernel-default-basebefore 6.12.0-160000.6.1.160000.2.46.12.0-160000.6.1.160000.2.4
openSUSE:Leap 16.0kernel-docsbefore 6.12.0-160000.7.16.12.0-160000.7.1
openSUSE:Leap 16.0kernel-kvmsmallbefore 6.12.0-160000.7.16.12.0-160000.7.1
openSUSE:Leap 16.0kernel-obs-buildbefore 6.12.0-160000.7.16.12.0-160000.7.1
openSUSE:Leap 16.0kernel-obs-qabefore 6.12.0-160000.7.16.12.0-160000.7.1
openSUSE:Leap 16.0kernel-rtbefore 6.12.0-160000.7.16.12.0-160000.7.1
openSUSE:Leap 16.0kernel-sourcebefore 6.12.0-160000.7.16.12.0-160000.7.1
openSUSE:Leap 16.0kernel-symsbefore 6.12.0-160000.7.16.12.0-160000.7.1
openSUSE:Leap 16.0kernel-zfcpdumpbefore 6.12.0-160000.7.16.12.0-160000.7.1
SUSE:Linux Enterprise Server 16.0kernel-docsbefore 6.12.0-160000.7.16.12.0-160000.7.1
SUSE:Linux Enterprise Server 16.0kernel-kvmsmallbefore 6.12.0-160000.7.16.12.0-160000.7.1
SUSE:Linux Enterprise Server 16.0kernel-obs-qabefore 6.12.0-160000.7.16.12.0-160000.7.1
SUSE:Linux Enterprise Server 16.0kernel-symsbefore 6.12.0-160000.7.16.12.0-160000.7.1
SUSE:Linux Enterprise Server 16.0kernel-zfcpdumpbefore 6.12.0-160000.7.16.12.0-160000.7.1
SUSE:Linux Micro 6.2kernel-64kbbefore 6.12.0-160000.7.16.12.0-160000.7.1
SUSE:Linux Micro 6.2kernel-defaultbefore 6.12.0-160000.7.16.12.0-160000.7.1
SUSE:Linux Micro 6.2kernel-default-basebefore 6.12.0-160000.6.1.160000.2.46.12.0-160000.6.1.160000.2.4
SUSE:Linux Micro 6.2kernel-rtbefore 6.12.0-160000.7.16.12.0-160000.7.1

+2

Other highest-scoring records for the same primary product.

  • CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV
    90Now
  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now

Published before and after this one in the same product

  • ← EarlierCVE-2025-39753Sep 11, 2025 · gfs2: Set .migrate_folio in gfs2_{rgrp,meta}_aops
    22Monitor
  • ← EarlierCVE-2025-39754Sep 11, 2025 · mm/smaps: fix race between smaps_hugetlb_range and migration
    18Monitor
  • Later →CVE-2025-39757Sep 11, 2025 · ALSA: usb-audio: Validate UAC3 cluster segment descriptors
    28Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux04a2c4b4511d186b0fce685da21085a5d4acd370Vendor (CNA)
Linux Linux237e416eb62101f21b28c9e6e564d10efe1ecc6fVendor (CNA)
Linux Linux628fc28f42d979f36dbf75a6129ac7730e30c04eVendor (CNA)
Linux Linux749528086620f8012b83ae032a80f6ffa80c45cdVendor (CNA)
Linux Linux9f61fa6a2a89a610120bc4e5d24379c667314b5cVendor (CNA)
Linux Linuxb4159c5a90c03f8acd3de345a7f5fc63b0909818Vendor (CNA)
Linux Linuxd4f9351243c17865a8cdbe6b3ccd09d0b13a7bccVendor (CNA)
Linux Linuxdfd1f4ea98c3bd3a03d12169b5b2daa1f0a3e4aeVendor (CNA)
Linux Linuxf95638a8f22eba307dceddf5aef9ae2326bbcf98Vendor (CNA)
azl3 kernel 6.6.96.2-2 on Azure Linux 3.06.6.104.2-1 · CBL-Mariner ReleasesMicrosoft (MSRC)
debian:linux6.1.153-1 · Debian:12Package registry (OSV)
opensuse:dtb-aarch646.12.0-160000.7.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-64kb6.12.0-160000.7.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-default6.12.0-160000.7.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-default-base6.12.0-160000.6.1.160000.2.4 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-docs6.12.0-160000.7.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-kvmsmall6.12.0-160000.7.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-obs-build6.12.0-160000.7.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-obs-qa6.12.0-160000.7.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-rt6.12.0-160000.7.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-source6.12.0-160000.7.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-syms6.12.0-160000.7.1 · openSUSE:Leap 16.0Package registry (OSV)
opensuse:kernel-zfcpdump6.12.0-160000.7.1 · openSUSE:Leap 16.0Package registry (OSV)
suse:kernel-64kb6.12.0-160000.7.1 · SUSE:Linux Micro 6.2Package registry (OSV)
suse:kernel-default6.12.0-160000.7.1 · SUSE:Linux Micro 6.2Package registry (OSV)
suse:kernel-default-base6.12.0-160000.6.1.160000.2.4 · SUSE:Linux Micro 6.2Package registry (OSV)
suse:kernel-docs6.12.0-160000.7.1 · SUSE:Linux Enterprise Server 16.0Package registry (OSV)
suse:kernel-kvmsmall6.12.0-160000.7.1 · SUSE:Linux Enterprise Server 16.0Package registry (OSV)
suse:kernel-obs-build6.12.0-160000.7.1 · SUSE:Linux Micro Extras 6.2Package registry (OSV)
suse:kernel-obs-qa6.12.0-160000.7.1 · SUSE:Linux Enterprise Server 16.0Package registry (OSV)

+4

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records