CVE-2025-21846acct: perform last write from workqueue
- 5.5MediumCVSS base score
- 0.25%Exploitation in 30 daysEPSS · top 83% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 2 months later
· 2 months later
Published
- 20 months later
· 20 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.25% · top 83% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 8acbf4a88c6a98c8ed00afd1a7d1abcca9b4735e
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < b03782ae707cc45e65242c7cddd8e28f1c22cde5
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 5d5b936cfa4b0d5670ca7420ef165a074bc008eb
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 5ee8da9bea70dda492d61f075658939af33d8410
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 5c928e14a2ccd99462f2351ead627b58075bb736
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 5a59ced8ffc71973d42c82484a719c8f6ac8f7f7
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < a8136afca090412a36429cb6c2543c714d9c0f84
- affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 56d5f3eba3f5de0efdd556de4ef381e109b973a9
- affected 2.6.12
- unaffected < 2.6.12
- unaffected 5.4.291 – ≤ 5.4.*
- unaffected 5.10.235 – ≤ 5.10.*
- unaffected 5.15.179 – ≤ 5.15.*
- unaffected 6.1.130 – ≤ 6.1.*
- unaffected 6.6.80 – ≤ 6.6.*
- unaffected 6.12.17 – ≤ 6.12.*
- unaffected 6.13.5 – ≤ 6.13.*
- unaffected 6.14 – ≤ *
References
References14
- https://git.kernel.org/stable/c/8acbf4a88c6a98c8ed00afd1a7d1abcca9b4735e (opens in a new tab)
- https://git.kernel.org/stable/c/b03782ae707cc45e65242c7cddd8e28f1c22cde5 (opens in a new tab)
- https://git.kernel.org/stable/c/5d5b936cfa4b0d5670ca7420ef165a074bc008eb (opens in a new tab)
- https://git.kernel.org/stable/c/5ee8da9bea70dda492d61f075658939af33d8410 (opens in a new tab)
- https://git.kernel.org/stable/c/5c928e14a2ccd99462f2351ead627b58075bb736 (opens in a new tab)
- https://git.kernel.org/stable/c/5a59ced8ffc71973d42c82484a719c8f6ac8f7f7 (opens in a new tab)
- https://git.kernel.org/stable/c/a8136afca090412a36429cb6c2543c714d9c0f84 (opens in a new tab)
- https://git.kernel.org/stable/c/56d5f3eba3f5de0efdd556de4ef381e109b973a9 (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-6290 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-21846)Record last updated .