CVE-2022-4129: Race Condition
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/kernel-rtto a version that resolves this vulnerability.Fixed in 0:4.18.0-477.10.1.rt7.274.el8_8 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:4.18.0-477.10.1.el8_8 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:5.14.0-284.11.1.el9_2 - Upgrade
Upgrade
redhat/kernel-rtto a version that resolves this vulnerability.Fixed in 0:5.14.0-284.11.1.rt14.296.el9_2 - Upgrade
Upgrade
debian/linuxto 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
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
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.
How do I fix CVE-2022-4129?
To fix CVE-2022-4129, update the kernel to the latest version specified in the remediation details.
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.
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.
Is CVE-2022-4129 a local or remote vulnerability?
CVE-2022-4129 is a local vulnerability that requires an authenticated user to exploit.