Linux Kernel IPv6 Race Condition Enables Local Denial of Service
Vulnerability Disclosure · 5 sources · Updated 3mo ago · First seen May 16, 2023

A race condition in the Linux kernel IPv6 networking stack, tracked as CVE-2022-3524, can allow a local low-privileged user to crash an affected system. The flaw occurs when IPV6_ADDRFORM converts a socket from IPv6 to IPv4 while another operation processes IPV6_DSTOPTS, creating unsafe concurrent access to the socket protocol-handler pointer and causing a memory leak that can result in denial of service. Red Hat rates the issue CVSS 5.5 (Moderate); confidentiality and integrity are unaffected, but availability impact is high.
The upstream kernel fix hardens access to sk->sk_prot by replacing direct reads with READ_ONCE() in common socket-option handling and IPv4 datagram connection, accept, and sendpage paths, pairing them with the existing WRITE_ONCE() used during IPv6-to-IPv4 conversion. Red Hat released corrected kernel packages for affected RHEL 8 and RHEL 9 variants, including RHEL 8.6 Extended Update Support; RHEL 6 and 7 kernel packages are outside support scope.
Why it matters
Impact assessment
CVE-2022-3524 enables a low-privileged local user to exhaust kernel memory and crash an affected Linux host. It is an availability-only issue: Red Hat rates it CVSS 5.5 (Moderate), with no confidentiality or integrity impact and high availability impact.
- Affected populations: RHEL 8, RHEL 9, RHEL 8 kernel-rt, RHEL 9 kernel-rt, RHEL 8.6 EUS, and Red Hat Virtualization 4 for RHEL 8 deployments that have not applied the relevant kernel updates.
- Operational effect: host instability or denial of service; the practical risk is greatest on multi-user systems, shared compute hosts, container hosts permitting untrusted local execution, and systems where local code execution is already possible.
- Exposure scope: exploitation requires local access, low privileges, and concurrent socket-option operations. It is not a remote network-triggerable denial-of-service based on the supplied material.
- Exploitation in the wild: no known exploitation or public IOCs are reported in the referenced material.
- Unsupported RHEL 6 and RHEL 7 kernel packages should be treated as potentially vulnerable because Red Hat did not perform affectedness analysis for those products.


