In the Linux kernel, the following vulnerability has been resolved:
scsi: qla2xxx: Fix crash during module load unload test
During purex packet handling the driver was incorrectly freeing a pre-allocated structure. Fix this by skipping that entry.
System crashed with the following stack during a module unload test.
Call Trace: sbitmapinitnode+0x7f/0x1e0 sbitmapqueueinitnode+0x24/0x150 blkmqinitbitmaps+0x3d/0xa0 blkmqinittags+0x68/0x90 blkmqallocmapandrqs+0x44/0x120 blkmqallocsetmapandrqs+0x63/0x150 blkmqalloctagset+0x11b/0x230 scsiaddhostwithdma.cold+0x3f/0x245 qla2x00probeone+0xd5a/0x1b80 [qla2xxx]
Call Trace with slubdebug and debug kernel: kasanreportinvalidfree+0x50/0x80 _kasanslabfree+0x137/0x150 slabfreefreelisthook+0xc6/0x190 kfree+0xe8/0x2e0 qla2x00freedevice+0x3bb/0x5d0 [qla2xxx] qla2x00removeone+0x668/0xcf0 [qla2xxx]