CVE-2024-23851 Integer overflow in n/a

Medium 5.5 Published Updated

An integer overflow in the Linux kernel device-mapper ioctl handler allows attackers to trigger a system crash via excessive memory allocation attempts.

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-2024-23851?

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

Official description

copy_params in drivers/md/dm-ioctl.c in the Linux kernel through 6.7.1 can attempt to allocate more than INT_MAX bytes, and crash, because of a missing param_kernel->data_size check. This is related to ctl_ioctl.

Weakness: CWE-190

Which versions are affected by CVE-2024-23851?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-23851?

Apply the vendor's patch.

Is CVE-2024-23851 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-33965, AZL-34880, DEBIAN-CVE-2024-23851, GHSA-hm4h-jq5c-c933, UBUNTU-CVE-2024-23851.

Is CVE-2024-23851 in your software?

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

Check your SBOMs for free