CVE-2022-4129: Race Condition

Published Aug 10, 2022
·
Updated

A flaw was found in the Linux kernel's Layer 2 Tunneling Protocol (L2TP). A missing lock when clearing skuserdata can lead to a race condition and NULL pointer dereference. A local user could use this flaw to potentially crash the system causing a denial of service.

Other sources

l2tp fails to grab the lock when modifying the underlying tunnel socket, possibly leading to a NULL pointer dereference and denial of service.

Upstream patch: https://lore.kernel.org/all/20220823101459.211986-1-jakub@cloudflare.com/t [v3] https://lore.kernel.org/all/20220815130107.149345-1-jakub@cloudflare.com/t [v2] https://lore.kernel.org/all/20220810102848.282778-1-jakub@cloudflare.com/t [v1]

Red Hat

Affected Software

9 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-477.10.1.rt7.274.el8_8
0:4.18.0-477.10.1.rt7.274.el8_8
redhat/kernel<0:4.18.0-477.10.1.el8_8
0:4.18.0-477.10.1.el8_8
redhat/kernel<0:5.14.0-284.11.1.el9_2
0:5.14.0-284.11.1.el9_2
redhat/kernel-rt<0:5.14.0-284.11.1.rt14.296.el9_2
0:5.14.0-284.11.1.rt14.296.el9_2
Linux Layer 2 Tunneling Protocol<6.0
fedoraproject fedora=35
fedoraproject fedora=36
fedoraproject fedora=37
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-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:4.18.0-477.10.1.rt7.274.el8_8
  2. Upgrade

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

    Fixed in 0:4.18.0-477.10.1.el8_8
  3. Upgrade

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

    Fixed in 0:5.14.0-284.11.1.el9_2
  4. Upgrade

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

    Fixed in 0:5.14.0-284.11.1.rt14.296.el9_2
  5. Upgrade

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

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1

Event History

Aug 10, 2022
CVE Published
12:00 AM
Oct 13, 2022
Data Sourced
via Red Hat·02:41 PM
DescriptionSeverityAffected Software
Nov 28, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeaknessAffected Software
Jan 12, 2024
Data Sourced
via Launchpad·12:11 AM
Description
Apr 28, 2025
Data Sourced
via Ubuntu·05:02 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2022-4129?

CVE-2022-4129 is classified as a high severity vulnerability due to its potential to cause a denial of service.

2

How do I fix CVE-2022-4129?

To fix CVE-2022-4129, update the kernel to the latest version specified in the remediation details.

3

What could happen if CVE-2022-4129 is exploited?

Exploitation of CVE-2022-4129 could lead to a race condition that results in a NULL pointer dereference, potentially crashing the system.

4

Which systems are affected by CVE-2022-4129?

CVE-2022-4129 affects various versions of the Linux kernel, including specific Fedora and Red Hat kernel packages.

5

Is CVE-2022-4129 a local or remote vulnerability?

CVE-2022-4129 is a local vulnerability that requires an authenticated user to exploit.

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