CVE-2023-39191 Kernel: ebpf: insufficient stack type checks in dynptr

High 8.2 Published Updated

An attacker with CAP_BPF privileges can escalate privileges and execute arbitrary code in the kernel due to insufficient validation of dynamic pointers in eBPF programs.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-39191?

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

Official description

An improper input validation flaw was found in the eBPF subsystem in the Linux kernel. The issue occurs due to a lack of proper validation of dynamic pointers within user-supplied eBPF programs prior to executing them. This may allow an attacker with CAP_BPF privileges to escalate privileges and execute arbitrary code in the context of the kernel.

Weakness: CWE-20

Which versions are affected by CVE-2023-39191?

It affects 3 products.

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

How do I fix CVE-2023-39191?

Apply the vendor's patch.

Is CVE-2023-39191 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-31150, BELL-CVE-2023-39191, DEBIAN-CVE-2023-39191, GHSA-gxg7-pxwf-9r28, ROOT-OS-DEBIAN-12-CVE-2023-39191, UBUNTU-CVE-2023-39191.

Is CVE-2023-39191 in your software?

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

Check your SBOMs for free