Skip to main content
Mallory
← Back to News
endpoint-software-vulnerabilitywidely-deployed-product-advisoryprivilege-escalation-method

Linux Kernel IPv6 Race Condition Enables Local Denial of Service

Vulnerability Disclosure · 5 sources · Updated 3mo ago · First seen May 16, 2023

Linux Kernel IPv6 Race Condition Enables Local Denial of Service

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.
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

6 events · Oct 6, 2022 – May 16, 2023
  1. Reported May 16, 20234y ago

    Red Hat fixes RHEL 8.6 EUS and RHV 4 kernel variants

    RHSA-2024:0724 was released to address CVE-2022-3524 in the RHEL 8.6 Extended Update Support kernel and the Red Hat Virtualization 4 for RHEL 8 kernel.

    CVE-2022-3524 - Red Hat Customer Portal
  2. May 16, 20234y ago

    Red Hat releases RHEL 8 kernel fixes for CVE-2022-3524

    Red Hat released RHSA-2023:2736 for the RHEL 8 kernel-rt package and RHSA-2023:2951 for the RHEL 8 kernel package to fix CVE-2022-3524.

    CVE-2022-3524 - Red Hat Customer Portal
  3. Reported May 9, 20234y ago

    Fedora fixes CVE-2022-3524 in Linux 6.0.7 stable updates

    Fedora remediated CVE-2022-3524 through its Linux 6.0.7 stable kernel updates. The vulnerability affects ipv6_renew_options() and can cause a memory leak when IPV6_ADDRFORM is used locally.

    2150947 - (CVE-2022-3524) CVE-2022-3524 kernel: memory leak in ipv6_renew_options()
  4. May 9, 20234y ago

    Red Hat releases RHEL 9 kernel fixes for CVE-2022-3524

    Red Hat released RHSA-2023:2458 for the RHEL 9 kernel and RHSA-2023:2148 for the RHEL 9 kernel-rt package, addressing CVE-2022-3524.

    CVE-2022-3524 - Red Hat Customer Portal
  5. Reported Oct 6, 20224y ago

    Upstream Linux commit fixes ipv6_renew_options memory leak

    Linux commit 3c52c6bb831f fixed a race between IPV6_ADDRFORM socket conversion and concurrent IPv6 socket-option operations that could leave allocated IPv6 option memory unfreed. The patch stops IPv6 option processing when the socket family has changed from AF_INET6 after acquiring the socket lock.

    tcp/udp: Fix memory leak in ipv6_renew_options(). - kernel/git/torvalds/linux.git - Linux kernel source tree
  6. Oct 6, 20224y ago

    Linux stable tree patches IPV6_ADDRFORM race condition

    The Linux kernel stable tree released a patch replacing direct reads of the sk_prot protocol-handler pointer with READ_ONCE() to mitigate races when IPV6_ADDRFORM converts IPv6 sockets to IPv4 during concurrent socket operations.

    ipv6: Fix data races around sk->sk_prot. - kernel/git/stable/linux.git - Linux kernel stable tree
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

2 linked
Linux KernelRed Hat Enterprise Linux
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.