CVE-2023-2166 Null dereference in Linux

Medium 5.5 Published Updated

A local user can crash the Linux system via a null pointer dereference in the CAN protocol receive path, causing denial of service.

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-2166?

CVE-2023-2166 is a medium-severity vulnerability in Linux kernel, published on 19 Apr 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 issue was found in can protocol in net/can/af_can.c in the Linux before Linux. ml_priv may not be initialized in the receive path of CAN frames. A local user could use this flaw to crash the system or potentially cause a denial of service.

Weakness: CWE-476

Which versions are affected by CVE-2023-2166?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-2166?

Apply the vendor's patch.

Is CVE-2023-2166 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-26340, DEBIAN-CVE-2023-2166, GHSA-f7h3-2rcm-qw98, UBUNTU-CVE-2023-2166.

Is CVE-2023-2166 in your software?

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

Check your SBOMs for free