Skip to main content
Mallory
← Back to News
endpoint-software-vulnerabilitywidely-deployed-product-advisoryproof-of-concept-release

Linux IPv4 IPVS Flaw Enables Local Kernel Crash

Vulnerability Disclosure · 3 sources · Updated 3mo ago · First seen Apr 30, 2024

Linux IPv4 IPVS Flaw Enables Local Kernel Crash

CVE-2023-42754 is a moderate-severity NULL-pointer dereference in the Linux kernel IPv4 routing stack that can allow a local attacker to crash an affected host. When traffic is rerouted through IPVS, an sk_buff may lack an associated network device, but ipv4_send_dest_unreach() assumes skb->dev is present and dereferences it through dev_net(skb->dev), triggering a kernel panic. A proof of concept produced a KASAN-detected fault and fatal panic on a Linux 6.1.47+ test kernel.

The upstream correction, commit 0113d9c9d1ccc07f5a3710dac4aa24b6d711278c, was incorporated in Linux 6.6-rc3 and queued for stable kernel branches from 4.14 through 6.5. Red Hat rates the issue CVSS 5.5, with high availability impact and no confidentiality or integrity impact; fixed kernel packages are available for RHEL 8 and RHEL 9, while RHEL 9 kernel-rt remained affected in Red Hat's advisory. RHEL 6, RHEL 7, and RHEL 7 kernel-rt are not affected, and Red Hat lists no qualifying mitigation beyond applying updated packages.

Why it matters

Impact assessment

CVE-2023-42754 enables local denial of service on vulnerable Linux hosts that process IPv4 traffic through IPVS. A successful trigger panics the kernel, causing immediate service interruption; the reported impact is availability only, with no demonstrated confidentiality or integrity loss.

  • Affected environments: Linux systems using vulnerable kernel builds with IPVS-based routing/load balancing, including Kubernetes or other infrastructure using IPVS networking.
  • Required access: local execution with CAP_NET_ADMIN. The practical barrier may be lower where unprivileged user namespaces permit a user to obtain that capability in a namespace.
  • Severity: CVSS v3.1 5.5 (Moderate), with high availability impact.
  • Scope: exposure is configuration-dependent rather than universal; IPVS traffic handling is a prerequisite for the described crash path.
  • Exploitation status: the references include a proof of concept that crashes a test kernel. They do not report exploitation in the wild.
  • Red Hat status: fixed packages are available for RHEL 8 and standard RHEL 9 kernels. RHEL 9 kernel-rt is listed as affected without a listed erratum. RHEL 6, RHEL 7, and RHEL 7 kernel-rt are not affected.
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.

5 events · Sep 20, 2023 – Apr 30, 2024
  1. Reported May 1, 20243y ago

    Red Hat releases RHEL 8 kernel and kernel-rt fixes

    Red Hat issued RHSA-2024:3138 for the RHEL 8 kernel and RHSA-2024:2950 for the RHEL 8 kernel-rt package, addressing CVE-2023-42754.

    2239845 - (CVE-2023-42754) CVE-2023-42754 kernel: ipv4: NULL pointer dereference in ipv4_send_dest_unreach()
  2. Reported May 1, 20243y ago

    Upstream Linux patch merged and queued for stable kernels

    A patch prepared by Kyle Zeng was merged into the upstream Linux networking tree, fixing the IPVS-rerouting condition where skb->dev can be NULL. The fix was incorporated in Linux 6.6-rc3 and queued for multiple stable branches, including 6.5, 6.1, 5.15, 5.10, 5.4, 4.19, and 4.14.

    2239845 - (CVE-2023-42754) CVE-2023-42754 kernel: ipv4: NULL pointer dereference in ipv4_send_dest_unreach()
  3. Apr 30, 20243y ago

    Red Hat releases RHEL 9 kernel fix

    Red Hat addressed CVE-2023-42754 in Red Hat Enterprise Linux 9 kernel packages through advisory RHSA-2024:2394.

    2239845 - (CVE-2023-42754) CVE-2023-42754 kernel: ipv4: NULL pointer dereference in ipv4_send_dest_unreach()
  4. Sep 20, 20233y ago

    CVE-2023-42754 reported in Linux IPv4 stack

    Patrick Del Bello reported a missing edge-case check in ipv4_send_dest_unreach() that could dereference a NULL pointer and crash the Linux kernel. The report was made on September 20, 2023.

    2239845 - (CVE-2023-42754) CVE-2023-42754 kernel: ipv4: NULL pointer dereference in ipv4_send_dest_unreach()
  5. Reported Jan 4, 201413y ago

    Proof of concept demonstrates kernel panic

    A supplied proof of concept triggered a KASAN-detected NULL-pointer dereference, general-protection fault, and fatal kernel panic on a Linux 6.1.47+ test kernel after IPVS rerouting.

    oss-sec: [CVE-2023-42754] null pointer dereference in Linux kernel ipv4 stack
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
Red Hat Enterprise LinuxLinux Kernel
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.