CVE-2025-21846
Last modified
CVE-2025-21846 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 2.6.12, < 6.1.130 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.80 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.17 | — |
| Linux | Linux Kernel | >= 6.13, < 6.13.5 | — |
| Linux | Linux Kernel | 6.14 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-21846?
How severe is CVE-2025-21846?
How do I fix CVE-2025-21846?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-21840In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21841In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21842In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21843In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21844In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21845In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21847In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21848In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21849In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-2185ALBEDO Telecom Net.Time - PTP/NTP clock (Serial No. NBC0081P…8.5
- CVE-2025-21850In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21851In the Linux kernel, the following vulnerability has been re…3.3
Are you affected by CVE-2025-21846?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
