CVEs / CVE-2022-2586
CVE-2022-2586: Linux Kernel Use-After-Free Vulnerability
- Known exploited in the CISA KEV catalog since 26 Jun 2024
- high 7.8 CVSS 3.1 (NVD)
- EPSS 10.2% chance of exploitation in the next 30 days, higher than 95% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2022-2586
Summary
Linux Kernel contains a use-after-free vulnerability in the nft_object, allowing local attackers to escalate privileges.
Description
It was discovered that a nft object or expression could reference a nft set on a different nft table, leading to a use-after-free once that table was deleted.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| The Linux Kernel Organization linux | from 3.16, before 4.14.316 | 4.14.316 |
| The Linux Kernel Organization linux | from 4.15, before 4.19.256 | 4.19.256 |
| The Linux Kernel Organization linux | from 4.20, before 5.4.211 | 5.4.211 |
| The Linux Kernel Organization linux | from 5.5, before 5.10.137 | 5.10.137 |
| The Linux Kernel Organization linux | from 5.11, before 5.15.61 | 5.15.61 |
| The Linux Kernel Organization linux | from 5.16, before 5.18.18 | 5.18.18 |
| The Linux Kernel Organization linux | from 5.19, before 5.19.2 | 5.19.2 |
| linux linux_kernel | before 6.0-rc1 | 6.0-rc1 |
| Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | before V1.1 | V1.1 |
Exploitation
| In CISA KEV since | 26 Jun 2024 |
|---|---|
| Due date for US federal agencies | 17 Jul 2024 |
| Used in ransomware campaigns | Unknown |
| Required action | Apply updates per vendor instructions or discontinue use of the product if updates are unavailable. |
Severity
| CVSS 3.1 | 7.8 highCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HScored by NVD |
|---|---|
| Weakness | CWE-416 |
References
- CVE-2022-2586 on NVD
- CVE-2022-2586 in the CISA KEV catalog
- https://seclists.org/oss-sec/2022/q3/131 (cited by CISA)
- CVE-2022-2586 on OSV
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2586 Third Party Advisory
- https://lore.kernel.org/netfilter-devel/[email protected]/T/#t Mailing List, Patch
- https://ubuntu.com/security/notices/USN-5557-1 Third Party Advisory
- https://ubuntu.com/security/notices/USN-5560-1 Third Party Advisory
- https://ubuntu.com/security/notices/USN-5560-2 Third Party Advisory
- https://ubuntu.com/security/notices/USN-5562-1 Third Party Advisory
- 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://ubuntu.com/security/notices/USN-5582-1 Third Party Advisory
- https://www.openwall.com/lists/oss-security/2022/08/09/5 Mailing List
- https://www.zerodayinitiative.com/advisories/ZDI-22-1118/ Third Party Advisory, VDB Entry
- https://www.vicarius.io/vsociety/posts/use-after-free-vulnerability-linked-chain-between-nft-tables-cve-2022-2586 Exploit, Third Party Advisory
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html Third Party Advisory
- https://cert-portal.siemens.com/productcert/html/ssa-806742.html Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-2586 US Government Resource
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.