CVE-2024-36917 block: fix overflow in blk_ioctl_discard()

Medium 5.5 Published Updated

An integer overflow in the Linux kernel block layer allows local attackers to cause a denial of service via a crafted discard ioctl.

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

CVE-2024-36917 is a medium-severity vulnerability in Linux kernel, published on 30 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:

block: fix overflow in blk_ioctl_discard()

There is no check for overflow of 'start + len' in blk_ioctl_discard(). Hung task occurs if submit an discard ioctl with the following param: start = 0x80000000000ff000, len = 0x8000000000fff000; Add the overflow validation now.

Weakness: CWE-190

Which versions are affected by CVE-2024-36917?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-36917?

Apply the vendor's patch.

Is CVE-2024-36917 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-36917, DEBIAN-CVE-2024-36917, ROOT-OS-DEBIAN-11-CVE-2024-36917, ROOT-OS-UBUNTU-2204-CVE-2024-36917, UBUNTU-CVE-2024-36917.

Is CVE-2024-36917 in your software?

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

Check your SBOMs for free