CVE-2023-42754 Kernel: ipv4: null pointer dereference in ipv4_send_dest_unreach()

Medium 5.5 Published Updated

A local user with CAP_NET_ADMIN privileges can crash the system via a null pointer dereference in the Linux kernel IPv4 stack.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-42754?

CVE-2023-42754 is a medium-severity vulnerability in Fedoraproject Fedora, published on 5 Oct 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A NULL pointer dereference flaw was found in the Linux kernel ipv4 stack. The socket buffer (skb) was assumed to be associated with a device before calling __ip_options_compile, which is not always the case if the skb is re-routed by ipvs. This issue may allow a local user with CAP_NET_ADMIN privileges to crash the system.

Weakness: CWE-476

Which versions are affected by CVE-2023-42754?

It affects 3 products.

Products include Fedoraproject Fedora, Linux kernel, Redhat Enterprise Linux.

How do I fix CVE-2023-42754?

Apply the vendor's patch.

Is CVE-2023-42754 being exploited?

There is no known exploitation of CVE-2023-42754 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-31271, BELL-CVE-2023-42754, DEBIAN-CVE-2023-42754, GHSA-7h73-9whc-fg4g, UBUNTU-CVE-2023-42754.

Is CVE-2023-42754 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free