CVE-2025-21846

medium
Published 2025-11-11 ยท Modified 2025-11-19
CVSS v3
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
5.5

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.

Predictions

Exploit likelihood
55%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

linux Linux kernel Affected 2 releases
VersionStatusFixed in
6.14 Affected โ€”
โ€” Affected 6.1.130
suse SUSE Affected 1 release
VersionStatusFixed in
โ€” Affected โ€”
almalinux AlmaLinux Fixed 1 release
VersionStatusFixed in
9 Fixed kernel-doc-5.14.0-611.5.1.el9_7.noarch.rpm
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 6.12.17-1
sid Fixed 6.12.17-1
forky Fixed 6.12.17-1
bullseye Fixed 5.10.237-1
bookworm Fixed 6.1.133-1
redhat Red Hat Fixed 1 release
VersionStatusFixed in
9 Fixed โ€”
rockylinux Rocky Linux Fixed 1 release
VersionStatusFixed in
9 Fixed โ€”

References

CWEs

CWE-476

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.