CVE-2022-49160

Source
https://cve.org/CVERecord?id=CVE-2022-49160
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49160.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49160
Downstream
Related
Published
2025-02-26T01:55:22.562Z
Modified
2026-03-20T12:22:13.325525Z
Summary
scsi: qla2xxx: Fix crash during module load unload test
Details

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]

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49160.json"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2022-49160.json"