Linux kernel crypto API uninitialized memory in socket allocation
CVE-2025-71113Medium
The Linux kernel's crypto user API allocates memory for context structures using sock_kmalloc() without initializing it to zero. This leaves fields containing garbage data, including a newly added 'inflight' variable that tracks in-flight requests. An attacker with access to the crypto API could trigger random -EBUSY errors by causing the uninitialized inflight variable to be interpreted as true, or exploit uninitialized fields in error paths to read or write sensitive data. The attacker needs only the ability to use the crypto user API socket interface.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Detail
Affected versions
- linux linux kernel: from 2.6.38.1, before 5.10.248
- linux linux kernel: from 5.11, before 5.15.198
- linux linux kernel: from 5.16, before 6.1.160
- linux linux kernel: from 6.2, before 6.6.120
- linux linux kernel: from 6.7, before 6.12.64
- linux linux kernel: from 6.13, before 6.18.3
- linux linux kernel: 2.6.38
- linux linux kernel: 6.19
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP (opens in a new tab)