Linux kernel nfsd use-after-free in ACL handling
CVE-2025-21796Critical
The Linux kernel's nfsd subsystem fails to clear pointers to access control lists after releasing them, which can cause a use-after-free condition. If retrieving a default ACL fails, the code releases both the access and default ACL objects but leaves a pointer to the released access ACL in memory. When the kernel later attempts to release this pointer again, it triggers a reference count underflow warning and potential system panic. An attacker with the ability to trigger ACL retrieval failures on an NFS server could exploit this to cause a denial of service.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Detail
Affected versions
- linux linux kernel: from 2.6.13, before 5.10.235
- linux linux kernel: from 5.11, before 5.15.179
- linux linux kernel: from 5.16, before 6.1.129
- linux linux kernel: from 6.2, before 6.6.79
- linux linux kernel: from 6.7, before 6.12.16
- linux linux kernel: from 6.13, before 6.13.4
- linux linux kernel: 6.14
Reports naming this CVE2 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP (opens in a new tab)· All CISA Advisories
Siemens SIMATIC S7-1500 TM MFP (opens in a new tab)