CVE-2022-2585
kernel: posix cpu timer use-after-free may lead to local privilege escalation
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
Se descubrió que al ejecutar desde un subproceso no líder, los temporizadores de CPU POSIX armados se dejaban en una lista pero se liberaban, lo que generaba un use-after-free.
A use-after-free flaw was found in the Linux kernel’s POSIX CPU timers functionality in the way a user creates and then deletes the timer in the non-leader thread of the program. This flaw allows a local user to crash or potentially escalate their privileges on the system.
Zhenpeng Lin discovered that the network packet scheduler implementation in the Linux kernel did not properly remove all references to a route filter before freeing it in some situations. A local attacker could use this to cause a denial of service or execute arbitrary code. It was discovered that the netfilter subsystem of the Linux kernel did not prevent one nft object from referencing an nft set in another nft table, leading to a use-after-free vulnerability. A local attacker could use this to cause a denial of service or execute arbitrary code.
CVSS Scores
SSVC
- Decision:Track*
Timeline
- 2022-07-29 CVE Reserved
- 2022-08-11 CVE Published
- 2024-09-04 CVE Updated
- 2025-03-30 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-416: Use After Free
CAPEC
References (9)
URL | Tag | Source |
---|---|---|
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2585 | Issue Tracking | |
https://ubuntu.com/security/notices/USN-5564-1 | Third Party Advisory |
|
https://ubuntu.com/security/notices/USN-5565-1 | Third Party Advisory |
|
https://ubuntu.com/security/notices/USN-5566-1 | Third Party Advisory |
|
https://ubuntu.com/security/notices/USN-5567-1 | Third Party Advisory |
|
https://www.openwall.com/lists/oss-security/2022/08/09/7 | Issue Tracking |
|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://lore.kernel.org/lkml/20220809170751.164716-1-cascardo@canonical.com/T/#u | 2024-01-19 |
URL | Date | SRC |
---|---|---|
https://access.redhat.com/security/cve/CVE-2022-2585 | 2022-11-02 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2114874 | 2022-11-02 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 5.7 < 6.0 Search vendor "Linux" for product "Linux Kernel" and version " >= 5.7 < 6.0" | - |
Affected
| ||||||
Canonical Search vendor "Canonical" | Ubuntu Linux Search vendor "Canonical" for product "Ubuntu Linux" | 20.04 Search vendor "Canonical" for product "Ubuntu Linux" and version "20.04" | lts |
Affected
| ||||||
Canonical Search vendor "Canonical" | Ubuntu Linux Search vendor "Canonical" for product "Ubuntu Linux" | 22.04 Search vendor "Canonical" for product "Ubuntu Linux" and version "22.04" | lts |
Affected
|