usb-storage: alauda: check the return value of alauda_read_map()

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

Description

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

usb-storage: alauda: check the return value of alauda_read_map()

alauda_ensure_map_for_zone() ignores the value alauda_read_map() returns. On failure lba_to_pba[zone] and pba_to_lba[zone] are left NULL, and both callers dereference them immediately:

pba = MEDIA_INFO(us).lba_to_pba[zone][lba_offset];

alauda_read_map() returns USB_STOR_TRANSPORT_ERROR when either kcalloc() fails or an alauda_get_redu_data() transfer fails, so one failed bulk transfer is enough to reach the NULL dereference.

Return that value from alauda_ensure_map_for_zone() and check it in alauda_read_data() and alauda_write_lba().

ProductVersions
Linux Linuxe80b0fade09ef1ee67b0898d480d4c588f124d5f to before a643ef9014acc597b843f3011936eba2c187386a Affectede80b0fade09ef1ee67b0898d480d4c588f124d5f to before c585734f503e4598b4431fe8839299ceb2161abf Affectede80b0fade09ef1ee67b0898d480d4c588f124d5f to before 19df4993a515f6482b5b917ad2612f5a901ac756 Affectede80b0fade09ef1ee67b0898d480d4c588f124d5f to before da375f848ee8f40f3f0b9648e126139eaabebd2c Affectede80b0fade09ef1ee67b0898d480d4c588f124d5f to before 964e4009031e3bea6498122543fe3c007c1ff758 Affectede80b0fade09ef1ee67b0898d480d4c588f124d5f to before 65c6ed7ecedfe97cf38f30e66b82c29e0f1efc58 Affectede80b0fade09ef1ee67b0898d480d4c588f124d5f to before 777cb1f8d2876ff6ee5baff19afc119699563b57 Affectede80b0fade09ef1ee67b0898d480d4c588f124d5f to before eb882419790c6710646904c6b25132189152cf33 Affected
Linux Linux2.6.16 Affectedbefore 2.6.16 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.