CVE-2023-52878 can: dev: can_put_echo_skb(): don't crash kernel if can_priv::echo_skb is accessed out of bounds

Medium 5.5 Published Updated

An out-of-bounds access in the Linux kernel CAN driver can cause a kernel crash, leading to 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-52878?

CVE-2023-52878 is a medium-severity vulnerability in Linux kernel, published on 21 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

can: dev: can_put_echo_skb(): don't crash kernel if can_priv::echo_skb is accessed out of bounds

If the "struct can_priv::echoo_skb" is accessed out of bounds, this would cause a kernel crash. Instead, issue a meaningful warning message and return with an error.

Weakness: CWE-125

Which versions are affected by CVE-2023-52878?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-52878?

Apply the vendor's patch.

Is CVE-2023-52878 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-52878, DEBIAN-CVE-2023-52878, GHSA-fhgv-9f93-wpvr, ROOT-OS-DEBIAN-11-CVE-2023-52878, UBUNTU-CVE-2023-52878.

Is CVE-2023-52878 in your software?

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

Check your SBOMs for free