CVE-2022-2588: (Pwn2Own) Linux Kernel route4_change Double Free Privilege Escalation Vulnerability

Published Aug 3, 2022
·
Updated

A use-after-free flaw was found in route4change in the net/sched/clsroute.c filter implementation in the Linux kernel. This flaw allows a local user to crash the system and possibly lead to a local privilege escalation problem.

Other sources

It was discovered that the clsroute 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, this could be exploited for Local Privilege Escalation.

Red Hat

This vulnerability allows local attackers to escalate privileges on affected installations of Linux Kernel. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The specific flaw exists within the handling of routing decisions. The issue results from the lack of validating the existence of an object prior to performing further free operations on the object. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of root.

ZDI

Affected Software

34 affected componentsFixes available
redhat/kernel-rt<0:3.10.0-1160.80.1.rt56.1225.el7
0:3.10.0-1160.80.1.rt56.1225.el7
redhat/kernel<0:3.10.0-1160.80.1.el7
0:3.10.0-1160.80.1.el7
redhat/kernel<0:3.10.0-693.106.1.el7
0:3.10.0-693.106.1.el7
redhat/kernel<0:3.10.0-957.99.1.el7
0:3.10.0-957.99.1.el7
redhat/kernel<0:3.10.0-1062.76.1.el7
0:3.10.0-1062.76.1.el7
redhat/kernel-rt<0:4.18.0-372.32.1.rt7.189.el8_6
0:4.18.0-372.32.1.rt7.189.el8_6
redhat/kernel<0:4.18.0-372.32.1.el8_6
0:4.18.0-372.32.1.el8_6
redhat/kernel<0:4.18.0-147.76.1.el8_1
0:4.18.0-147.76.1.el8_1
redhat/kernel<0:4.18.0-193.93.1.el8_2
0:4.18.0-193.93.1.el8_2
redhat/kernel-rt<0:4.18.0-193.93.1.rt13.143.el8_2
0:4.18.0-193.93.1.rt13.143.el8_2
redhat/kernel-rt<0:4.18.0-305.65.1.rt7.137.el8_4
0:4.18.0-305.65.1.rt7.137.el8_4
redhat/kernel<0:4.18.0-305.65.1.el8_4
0:4.18.0-305.65.1.el8_4
Linux Linux kernel<4.9.326
Linux Linux kernel>=4.10<4.14.291
Linux Linux kernel>=4.15<4.19.256
Linux Linux kernel>=4.20<5.4.211
Linux Linux kernel>=5.5<5.10.137
Linux Linux kernel>=5.11<5.15.61
Linux Linux kernel>=5.16<5.18.18
Linux Linux kernel>=5.19<5.19.2
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=20.04
Canonical Ubuntu Linux=22.04
Microsoft cbl2 kernel 5.15.162.2-1
Microsoft cbl2 kernel 5.15.153.1-1
Microsoft cbl2 kernel 5.15.162.2-1
redhat/kernel<3.10
3.10
F5 F5OS-A=1.8.0, =1.7.0, >=1.5.0<=1.5.4, =1.4.0, >=1.3.0<=1.3.2, =1.2.0, >=1.1.0<=1.1.1, >=1.0.0<=1.0.1
1.8.3
F5 F5OS-C>=1.8.0<=1.8.1, >=1.6.0<=1.6.4, >=1.5.0<=1.5.1, >=1.3.0<=1.3.2
1.8.2
F5 Traffix SDC=5.2.0, =5.1.0
Linux Kernel
debian/linux
5.10.223-15.10.262-16.1.176-16.1.180-16.12.94-16.12.101-17.1.7-17.1.8-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-1160.80.1.rt56.1225.el7
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-1160.80.1.el7
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-693.106.1.el7
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-957.99.1.el7
  5. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:3.10.0-1062.76.1.el7
  6. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-372.32.1.rt7.189.el8_6
  7. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-372.32.1.el8_6
  8. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-147.76.1.el8_1
  9. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-193.93.1.el8_2
  10. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-193.93.1.rt13.143.el8_2
  11. Upgrade

    Upgrade redhat/kernel-rt to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-305.65.1.rt7.137.el8_4
  12. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 0:4.18.0-305.65.1.el8_4
  13. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 3.10
  14. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.8.3
  15. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.8.2
  16. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.262-1Fixed in 6.1.176-1Fixed in 6.1.180-1Fixed in 6.12.94-1Fixed in 6.12.101-1Fixed in 7.1.7-1Fixed in 7.1.8-1

Event History

Aug 3, 2022
Data Sourced
via Red Hat·11:50 AM
DescriptionSeverityAffected Software
Aug 9, 2022
CVE Published
05:00 PM
Aug 18, 2022
Advisory Published
via ZDI·12:00 AM
Data Sourced
via ZDI·12:00 AM
DescriptionSeverityAffected Software
Oct 20, 2022
Advisory Published
via F5·03:33 AM
Data Sourced
via F5·03:33 AM
DescriptionSeverityWeaknessAffected Software
Jan 8, 2024
CVE Published
via MITRE·05:50 PM
Data Sourced
via MITRE·05:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 12, 2024
Data Sourced
via Launchpad·12:07 AM
Description
Jan 13, 2024
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
SeverityAffected Software
Updated
via Microsoft·08:00 AM
DescriptionSeverity
Aug 12, 2026
Data Sourced
via Debian·12:27 PM
DescriptionAffected Software
Aug 15, 2026
Data Sourced
via Ubuntu·12:29 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-2588?

CVE-2022-2588 has a high severity rating due to its potential for local privilege escalation and system crashes.

2

How do I fix CVE-2022-2588?

To fix CVE-2022-2588, update the Linux kernel to a patched version, such as those specified in the vulnerability details.

3

Which versions of the Linux kernel are affected by CVE-2022-2588?

CVE-2022-2588 affects multiple versions of the Linux kernel prior to the fixed versions outlined in the release notes.

4

What kind of flaw is CVE-2022-2588?

CVE-2022-2588 is classified as a use-after-free vulnerability found in the cls_route filter implementation.

5

Can CVE-2022-2588 be exploited remotely?

CVE-2022-2588 is not remotely exploitable; it requires local user access to the system for exploitation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203