CVE-2022-49160CWE-763

CVE-2022-49160

High · published February 26, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
24.5
In the wild
Unconfirmed
What it is

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:

sbitmap_init_node+0x7f/0x1e0

sbitmap_queue_init_node+0x24/0x150

blk_mq_init_bitmaps+0x3d/0xa0

blk_mq_init_tags+0x68/0x90

blk_mq_alloc_map_and_rqs+0x44/0x120

blk_mq_alloc_set_map_and_rqs+0x63/0x150

blk_mq_alloc_tag_set+0x11b/0x230

scsi_add_host_with_dma.cold+0x3f/0x245

qla2x00_probe_one+0xd5a/0x1b80 [qla2xxx]

Call Trace with slub_debug and debug kernel:

kasan_report_invalid_free+0x50/0x80

__kasan_slab_free+0x137/0x150

slab_free_freelist_hook+0xc6/0x190

kfree+0xe8/0x2e0

qla2x00_free_device+0x3bb/0x5d0 [qla2xxx]

qla2x00_remove_one+0x668/0xcf0 [qla2xxx]

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00327 · 24.5th percentile
Weakness
CWE-763 · Release of Invalid Pointer or Reference
Published
2025-02-26T12:00Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel≥ 5.9, < 5.15.545.15.54
linux/linux_kernel≥ 5.16, < 5.16.195.16.19
linux/linux_kernel≥ 5.17, < 5.17.25.17.2
References (4)
EPSS history
Timeline
  • 26 FEB 01:55Z
    scsi: qla2xxx: Fix crash during module load unload test
    cvelistv5