What’s Vulnerable › Vulnerabilities
CVE-2022-49012: afs: Fix server->active leak in afs_put_server
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-10-21 · updated 2026-06-17
- Weakness: CWE-459
Description
In the Linux kernel, the following vulnerability has been resolved: afs: Fix server->active leak in afs_put_server The atomic_read was accidentally replaced with atomic_inc_return, which prevents the server from getting cleaned up and causes rmmod to hang with a warning: Can't purge s=00000001
Affected products
- Linux kernel: from 6.0 before 6.0.12; 6.1-rc1, 6.1-rc2, 6.1-rc3, 6.1-rc4, 6.1-rc5, 6.1-rc6 (+1) — fixed in 6.0.12
How to fix
Upgrade to a fixed version: Linux kernel 6.0.12. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/c5078548c29c735f71b05053659c0cb294e738ad
- https://git.kernel.org/stable/c/ef4d3ea40565a781c25847e9cb96c1bd9f462bc6
Get alerted when CVE-2022-49012 or the next vulnerability affects your stack