CVE-2024-38619 usb-storage: alauda: Check whether the media is initialized

Medium 5.5 Published Updated

A missing check in the Linux kernel's alauda USB storage driver can cause a divide-by-zero error, leading to a system crash.

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

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

usb-storage: alauda: Check whether the media is initialized

The member "uzonesize" of struct alauda_info will remain 0 if alauda_init_media() fails, potentially causing divide errors in alauda_read_data() and alauda_write_lba(). - Add a member "media_initialized" to struct alauda_info. - Change a condition in alauda_check_media() to ensure the first initialization. - Add an error check for the return value of alauda_init_media().

Weakness: CWE-908

Which versions are affected by CVE-2024-38619?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-38619?

Apply the vendor's patch.

Is CVE-2024-38619 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-38619, DEBIAN-CVE-2024-38619, GHSA-2g5v-h9c6-j9cv, UBUNTU-CVE-2024-38619.

Is CVE-2024-38619 in your software?

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

Check your SBOMs for free