{"id":"CVE-2026-139717","summary":"usb-storage: alauda: check the return value of alauda_read_map()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb-storage: alauda: check the return value of alauda_read_map()\n\nalauda_ensure_map_for_zone() ignores the value alauda_read_map()\nreturns. On failure lba_to_pba[zone] and pba_to_lba[zone] are left NULL,\nand both callers dereference them immediately:\n\n  pba = MEDIA_INFO(us).lba_to_pba[zone][lba_offset];\n\nalauda_read_map() returns USB_STOR_TRANSPORT_ERROR when either kcalloc()\nfails or an alauda_get_redu_data() transfer fails, so one failed bulk\ntransfer is enough to reach the NULL dereference.\n\nReturn that value from alauda_ensure_map_for_zone() and check it in\nalauda_read_data() and alauda_write_lba().","modified":"2026-11-30T15:02:30.304322983Z","published":"2026-11-30T13:37:19.502Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139717.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/19df4993a515f6482b5b917ad2612f5a901ac756"},{"type":"WEB","url":"https://git.kernel.org/stable/c/65c6ed7ecedfe97cf38f30e66b82c29e0f1efc58"},{"type":"WEB","url":"https://git.kernel.org/stable/c/777cb1f8d2876ff6ee5baff19afc119699563b57"},{"type":"WEB","url":"https://git.kernel.org/stable/c/964e4009031e3bea6498122543fe3c007c1ff758"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a643ef9014acc597b843f3011936eba2c187386a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c585734f503e4598b4431fe8839299ceb2161abf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/da375f848ee8f40f3f0b9648e126139eaabebd2c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eb882419790c6710646904c6b25132189152cf33"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139717.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139717"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e80b0fade09ef1ee67b0898d480d4c588f124d5f"},{"fixed":"a643ef9014acc597b843f3011936eba2c187386a"},{"fixed":"c585734f503e4598b4431fe8839299ceb2161abf"},{"fixed":"19df4993a515f6482b5b917ad2612f5a901ac756"},{"fixed":"da375f848ee8f40f3f0b9648e126139eaabebd2c"},{"fixed":"964e4009031e3bea6498122543fe3c007c1ff758"},{"fixed":"65c6ed7ecedfe97cf38f30e66b82c29e0f1efc58"},{"fixed":"777cb1f8d2876ff6ee5baff19afc119699563b57"},{"fixed":"eb882419790c6710646904c6b25132189152cf33"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139717.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.16"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139717.json"}}],"schema_version":"1.9.2"}