usb-storage: alauda: Check whether the media is initialized
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ e80b0fade09ef1ee67b0898d480d4c588f124d5f · < 2cc32639ec347e3365075b130f9953ef16cb13f1| No fix yet |
| Linux Linux |
|
|
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().
From the CVE record · Linux
The Linux kernel’s usb-storage alauda driver can leave its media zone size at zero if media initialization fails. Subsequent read or write operations can cause divide errors. The input does not specify attacker access requirements or whether user interaction is needed.
Engineers running Linux kernels with the usb-storage alauda driver should check their installations; affected versions are not specified.