Use After Free in Linux Kernel
CVE-2022-2588
It was discovered that the cls_route filter implementation in the Linux kernel would not remove an old filter from the hashtable before freeing it if its handle had the value 0.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H.
EPSS exploit prediction
EPSS 0.059, 93.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux Kernel
- The Linux Kernel Organization — versions 0
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
Weakness classification (CWE)
Public exploits and proof-of-concept code
11 public repositories with exploit or proof-of-concept code for this CVE:
- Markakd/CVE-2022-2588 (488 stars, last pushed 2023-03-04): exploit for CVE-2022-2588
- BassamGraini/CVE-2022-2588 (12 stars, last pushed 2022-12-16)
- veritas501/CVE-2022-2588 (11 stars, last pushed 2023-08-22): CVE-2022-2588
- nopgadget/CVE-2022-2588 (10 stars, last pushed 2022-09-28): A PoC for CVE-2022-2588 that triggers a WARNING
- pirenga/2022-LPE-UAF (6 stars, last pushed 2022-08-23): CVE-2022-2588,CVE-2022-2586,CVE-2022-2585
- konoha279/2022-LPE-UAF (5 stars, last pushed 2022-08-23): CVE-2022-2588,CVE-2022-2586,CVE-2022-2585
- LSinus/CacheMeIfYouCan (2 stars, last pushed 2026-08-29): SLUBStick exploitation of CVE-2022-2588. Converting a DF into a cross-cache arbitrary memory R/W primitive through PTE manipulation.
- ASkyeye/2022-LPE-UAF (1 star, last pushed 2022-08-22): CVE-2022-2588
- Igr1s-red/CVE-2022-2588 (last pushed 2025-06-25): Exploit code for CVE-2022-2588
- dom4570/CVE-2022-2588 (last pushed 2023-03-09)
1 more are listed on the interactive page.
Also mentioned in 58 other repositories (0xMarcio/cve, 20142995/sectool, AlienTec1908/Blackhat2_HackMyVM_Medium, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- ubuntu.com/security/notices/USN-5565-1 (Third Party Advisory, third-party-advisory)
- ubuntu.com/security/notices/USN-5562-1 (Third Party Advisory, third-party-advisory)
- www.openwall.com/lists/oss-security/2022/08/09/6 (issue-tracking, Mailing List)
- ubuntu.com/security/notices/USN-5582-1 (Third Party Advisory, third-party-advisory)
- cve.mitre.org/cgi-bin/cvename.cgi (issue-tracking, Third Party Advisory)
- ubuntu.com/security/notices/USN-5564-1 (Third Party Advisory, third-party-advisory)
- ubuntu.com/security/notices/USN-5566-1 (Third Party Advisory, third-party-advisory)
- www.zerodayinitiative.com/advisories/ZDI-22-1117/ (issue-tracking, VDB Entry, Third Party Advisory)
- ubuntu.com/security/notices/USN-5588-1 (Third Party Advisory, third-party-advisory)
- ubuntu.com/security/notices/USN-5560-1 (Third Party Advisory, third-party-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.