Skip to content
StratQuad

Threats

Linux kernel file descriptor table allocation exceeding INT_MAX

CVE-2025-39756Medium

The Linux kernel's file descriptor table allocation does not properly limit allocation sizes when sysctl_nr_open is set to very high values, allowing processes to trigger memory allocation requests exceeding INT_MAX. An attacker or process can call dup2() with a high file descriptor number to cause the kernel to attempt allocating over 8GB of memory, generating kernel warnings and potentially causing denial of service. The attacker needs the ability to set sysctl_nr_open to a high value and call dup2() with a large file descriptor number, or run code in an environment where these conditions already exist.

Plain English summary of the NVD and CISA text, checked by machine against both.

Scores and dates

CVSS 3.1
5.5
MEDIUM
EPSS score
0.00
Probability of exploitation in 30 days
EPSS percentile
8th
Share of scored CVEs at or below this one

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

Daily EPSS score, 3 Nov to 14 Nov, source FIRST

Detail

Affected versions

  • linux linux kernel: from 2.6.25, before 5.4.297
  • linux linux kernel: from 5.5, before 5.10.241
  • linux linux kernel: from 5.11, before 5.15.190
  • linux linux kernel: from 5.16, before 6.1.149
  • linux linux kernel: from 6.2, before 6.6.103
  • linux linux kernel: from 6.7, before 6.12.43
  • linux linux kernel: from 6.13, before 6.15.11
  • linux linux kernel: from 6.16, before 6.16.2
  • debian debian linux: 11.0

Reports naming this CVE1 in total