{"id":"CVE-2022-49160","summary":"scsi: qla2xxx: Fix crash during module load unload test","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Fix crash during module load unload test\n\nDuring purex packet handling the driver was incorrectly freeing a\npre-allocated structure. Fix this by skipping that entry.\n\nSystem crashed with the following stack during a module unload test.\n\nCall Trace:\n\tsbitmap_init_node+0x7f/0x1e0\n\tsbitmap_queue_init_node+0x24/0x150\n\tblk_mq_init_bitmaps+0x3d/0xa0\n\tblk_mq_init_tags+0x68/0x90\n\tblk_mq_alloc_map_and_rqs+0x44/0x120\n\tblk_mq_alloc_set_map_and_rqs+0x63/0x150\n\tblk_mq_alloc_tag_set+0x11b/0x230\n\tscsi_add_host_with_dma.cold+0x3f/0x245\n\tqla2x00_probe_one+0xd5a/0x1b80 [qla2xxx]\n\nCall Trace with slub_debug and debug kernel:\n\tkasan_report_invalid_free+0x50/0x80\n\t__kasan_slab_free+0x137/0x150\n\tslab_free_freelist_hook+0xc6/0x190\n\tkfree+0xe8/0x2e0\n\tqla2x00_free_device+0x3bb/0x5d0 [qla2xxx]\n\tqla2x00_remove_one+0x668/0xcf0 [qla2xxx]","modified":"2026-04-02T08:27:21.203874Z","published":"2025-02-26T01:55:22.562Z","related":["SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1194-1","SUSE-SU-2025:1241-1","SUSE-SU-2025:1263-1","SUSE-SU-2025:1293-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49160.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0972252450f90db56dd5415a20e2aec21a08d036"},{"type":"WEB","url":"https://git.kernel.org/stable/c/213e57b42537f1a2e5395caa9d7189854133ed12"},{"type":"WEB","url":"https://git.kernel.org/stable/c/67f744f73eba870ab96411d0310e831a4adc3713"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9b7eb92dac240ab3bc83e188d83a3df834b41eb2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49160.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49160"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"62e9dd177732843ae6c5b9d2ed61e7c9538fa276"},{"fixed":"9b7eb92dac240ab3bc83e188d83a3df834b41eb2"},{"fixed":"213e57b42537f1a2e5395caa9d7189854133ed12"},{"fixed":"67f744f73eba870ab96411d0310e831a4adc3713"},{"fixed":"0972252450f90db56dd5415a20e2aec21a08d036"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49160.json"}}],"schema_version":"1.7.5"}