7.8
HIGH CVSS 3.1
CVE-2022-2585
"NTP Posix Timer Use-After-Free Vulnerability"
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.

INFO

Published Date :

Jan. 8, 2024, 6:15 p.m.

Last Modified :

Nov. 21, 2024, 7:01 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2022-2585 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
1 Canonical ubuntu_linux
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 HIGH [email protected]
Solution
This vulnerability requires updating the Linux kernel and related packages to resolve the issue.
  • Update the affected kernel and related packages.
  • Reboot the system after the update.
Public PoC/Exploit Available at Github

CVE-2022-2585 has a 7 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-2585 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-2585 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Auto Linux Kernel Local Privilege Escalation Exploit

Shell

Updated: 5 months, 4 weeks ago
1 stars 0 fork 0 watcher
Born at : Aug. 23, 2024, 4:06 p.m. This repo has been linked 85 different CVEs too.

None

C Shell Python Assembly Ruby Makefile Meson

Updated: 1 year, 1 month ago
0 stars 0 fork 0 watcher
Born at : July 20, 2024, 8:34 p.m. This repo has been linked 91 different CVEs too.

Auto Root / Privilege Escalation Exploit

autoroot privilege privilege-escalation root

Shell

Updated: 7 months ago
4 stars 2 fork 2 watcher
Born at : June 11, 2024, 9:57 p.m. This repo has been linked 85 different CVEs too.

Linux privilege escalation exploits collection.

C Shell Python Assembly Ruby Makefile Meson

Updated: 2 months ago
138 stars 22 fork 22 watcher
Born at : April 26, 2023, 2:58 p.m. This repo has been linked 91 different CVEs too.

CVE-2022-2588,CVE-2022-2586,CVE-2022-2585

C

Updated: 2 years ago
4 stars 4 fork 4 watcher
Born at : Aug. 24, 2022, 2:20 a.m. This repo has been linked 3 different CVEs too.

CVE-2022-2588,CVE-2022-2586,CVE-2022-2585

C

Updated: 1 year, 1 month ago
7 stars 6 fork 6 watcher
Born at : Aug. 23, 2022, 1:23 p.m. This repo has been linked 3 different CVEs too.

PoC of various bugs in the Linux kernel

C Makefile

Updated: 10 months ago
9 stars 2 fork 2 watcher
Born at : Aug. 22, 2022, 11:08 p.m. This repo has been linked 2 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-2585 vulnerability anywhere in the article.

  • Daily CyberSecurity
Three High-Severity Privilege Escalation Flaws Patched in Sophos Intercept X for Windows

Sophos has patched three separate high-severity local privilege escalation (LPE) vulnerabilities in its widely used Intercept X for Windows product and its installer. These flaws, identified as CVE-20 ... Read more

Published Date: Jul 21, 2025 (1 month, 3 weeks ago)

The following table lists the changes that have been made to the CVE-2022-2585 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2585
    Added Reference https://lore.kernel.org/lkml/[email protected]/T/#u
    Added Reference https://ubuntu.com/security/notices/USN-5564-1
    Added Reference https://ubuntu.com/security/notices/USN-5565-1
    Added Reference https://ubuntu.com/security/notices/USN-5566-1
    Added Reference https://ubuntu.com/security/notices/USN-5567-1
    Added Reference https://www.openwall.com/lists/oss-security/2022/08/09/7
  • Reanalysis by [email protected]

    Aug. 22, 2024

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.7 up to (excluding) 6.0 OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.7 up to (excluding) 5.10.137 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.61 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 5.18.18 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.19 up to (excluding) 5.19.2
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jan. 19, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2585 No Types Assigned https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2585 Third Party Advisory
    Changed Reference Type https://lore.kernel.org/lkml/[email protected]/T/#u No Types Assigned https://lore.kernel.org/lkml/[email protected]/T/#u Mailing List, Patch
    Changed Reference Type https://ubuntu.com/security/notices/USN-5564-1 No Types Assigned https://ubuntu.com/security/notices/USN-5564-1 Third Party Advisory
    Changed Reference Type https://ubuntu.com/security/notices/USN-5565-1 No Types Assigned https://ubuntu.com/security/notices/USN-5565-1 Third Party Advisory
    Changed Reference Type https://ubuntu.com/security/notices/USN-5566-1 No Types Assigned https://ubuntu.com/security/notices/USN-5566-1 Third Party Advisory
    Changed Reference Type https://ubuntu.com/security/notices/USN-5567-1 No Types Assigned https://ubuntu.com/security/notices/USN-5567-1 Third Party Advisory
    Changed Reference Type https://www.openwall.com/lists/oss-security/2022/08/09/7 No Types Assigned https://www.openwall.com/lists/oss-security/2022/08/09/7 Mailing List
    Added CWE NIST CWE-416
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.7 up to (excluding) 6.0
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:22.04:*:*:*:lts:*:*:*
  • CVE Received by [email protected]

    Jan. 08, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference Canonical Ltd. https://ubuntu.com/security/notices/USN-5566-1 [No types assigned]
    Added Reference Canonical Ltd. https://ubuntu.com/security/notices/USN-5564-1 [No types assigned]
    Added Reference Canonical Ltd. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2585 [No types assigned]
    Added Reference Canonical Ltd. https://ubuntu.com/security/notices/USN-5567-1 [No types assigned]
    Added Reference Canonical Ltd. https://lore.kernel.org/lkml/[email protected]/T/#u [No types assigned]
    Added Reference Canonical Ltd. https://www.openwall.com/lists/oss-security/2022/08/09/7 [No types assigned]
    Added Reference Canonical Ltd. https://ubuntu.com/security/notices/USN-5565-1 [No types assigned]
    Added CWE Canonical Ltd. CWE-416
    Added CVSS V3.1 Canonical Ltd. AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.53 }} 0.02%

score

0.66364

percentile