# acct: perform last write from workqueue

CVE record · `CVE-2025-21846`

- **Identifiers:** `CVE-2025-21846`
- **State:** Confirmed
- **Severity:** CVSS 5.5 Medium
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-476](https://cwe.mitre.org/data/definitions/476.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 12 Mar 2025
- **Updated:** 10 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 12 Mar 2025, 09:42 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 8acbf4a88c6a98c8ed00afd1a7d1abcca9b4735e` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before b03782ae707cc45e65242c7cddd8e28f1c22cde5` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5d5b936cfa4b0d5670ca7420ef165a074bc008eb` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5ee8da9bea70dda492d61f075658939af33d8410` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5c928e14a2ccd99462f2351ead627b58075bb736` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5a59ced8ffc71973d42c82484a719c8f6ac8f7f7` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before a8136afca090412a36429cb6c2543c714d9c0f84` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 56d5f3eba3f5de0efdd556de4ef381e109b973a9` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.12`
  - unaffected: `before 2.6.12` (semver)
  - unaffected: `5.4.291 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.235 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.179 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.130 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.80 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.17 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13.5 to 6.13.*, inclusive` (semver)
  - unaffected: `6.14 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel's acct(2) process accounting code is affected in the listed version ranges, with 2.6.12 affected and earlier versions unaffected. When accounting output is set to a file that triggers an internal lookup, such as /sys/power/resume, the final write can happen after the calling task has exited, causing a NULL pointer dereference. The source does not describe the attacker's required access. Upgrade to a fixed kernel version: 5.4.291 or later in the 5.4 series, 5.10.235 or later in the 5.10 series, 5.15.179 or later in the 5.15 series, or 6.1.130 or later in the 6.1 series.

Written 19 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 5.5 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0025, the 16th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 12 Mar 2025, 09:42 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-21846)
- 12 Mar 2025, 10:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-21846)

## Sources

- [CVE List: CVE-2025-21846](https://www.cve.org/CVERecord?id=CVE-2025-21846)
- [NVD: CVE-2025-21846](https://nvd.nist.gov/vuln/detail/CVE-2025-21846)

### References from the CNA

- <https://git.kernel.org/stable/c/8acbf4a88c6a98c8ed00afd1a7d1abcca9b4735e>
- <https://git.kernel.org/stable/c/b03782ae707cc45e65242c7cddd8e28f1c22cde5>
- <https://git.kernel.org/stable/c/5d5b936cfa4b0d5670ca7420ef165a074bc008eb>
- <https://git.kernel.org/stable/c/5ee8da9bea70dda492d61f075658939af33d8410>
- <https://git.kernel.org/stable/c/5c928e14a2ccd99462f2351ead627b58075bb736>
- <https://git.kernel.org/stable/c/5a59ced8ffc71973d42c82484a719c8f6ac8f7f7>
- <https://git.kernel.org/stable/c/a8136afca090412a36429cb6c2543c714d9c0f84>
- <https://git.kernel.org/stable/c/56d5f3eba3f5de0efdd556de4ef381e109b973a9>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-21846>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-21846/>. Everything for agents: <https://agentprime.io/llms.txt>.
