CVE-2025-21846 in Linux Kernel
In the Linux kernel, the following vulnerability has been resolved: acct: perform last write from workqueue In [1] it was reported that the acct(2) system call can be used to trigger NULL deref in cases where it is set to write to a file that triggers an internal lookup. This can e.g., happen when pointing acc(2) to /sys/power/resume. At the point the where the write to this file happens the calling task has already exited and called exit_fs(). A lookup will thus trigger a NULL-deref when accessing current->fs. Reorganize the code so that the the final write happens from the workqueue but with the caller's credentials. This preserves the (strange) permission model and has almost no regression risk. This api should stop to exist though.
Affects 1 product from 2 vendors. Description from NVD and MITRE.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Linux | Linux Kernel | 6.14 ≥ 2.6.12, < 6.1.130 ≥ 6.2, < 6.6.80 ≥ 6.7, < 6.12.17 ≥ 6.13, < 6.13.5 |
| Siemens | — | — |
| Linux | Linux Firmware | 2.6.12 |
| Siemens | S7-1500 Cpu Firmware | ≥ 3.1.6 |
| Siemens | Simatic Cpu 1518F-4 Firmware | ≥ 3.1.6 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.6 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn Firmware | ≥ 3.1.6 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Firmware | ≥ 3.1.6 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Pn/Dp Mfp Firmware | ≥ 3.1.6 |
| Siemens | Simatic S7-1500 Tm Mfp Firmware | All versions |
| Siemens | Siplus S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.6 |
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2025-21846 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-237645-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Published | 2026-07-28 |
| Last modified | 2026-11-10 |
| Weakness (CWE) | |
| Source | NVD |
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-10.