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().
https://git.kernel.org/stable/c/eb882419790c6710646904c6b25132189152cf33
https://git.kernel.org/stable/c/da375f848ee8f40f3f0b9648e126139eaabebd2c
https://git.kernel.org/stable/c/c585734f503e4598b4431fe8839299ceb2161abf
https://git.kernel.org/stable/c/a643ef9014acc597b843f3011936eba2c187386a
https://git.kernel.org/stable/c/964e4009031e3bea6498122543fe3c007c1ff758
https://git.kernel.org/stable/c/777cb1f8d2876ff6ee5baff19afc119699563b57
https://git.kernel.org/stable/c/65c6ed7ecedfe97cf38f30e66b82c29e0f1efc58
https://git.kernel.org/stable/c/19df4993a515f6482b5b917ad2612f5a901ac756