CVE-2022-49160
scsi: qla2xxx: Fix crash during module load unload test
Mitigation
- Upgrade Linux to 0972252450f90db56dd5415a20e2aec21a08d036 or later.
Who should check
- Anyone running Linux >= 62e9dd177732843ae6c5b9d2ed61e7c9538fa276, < 9b7eb92dac240ab3bc83e188d83a3df834b41eb2; >= 62e9dd177732843ae6c5b9d2ed61e7c9538fa276, < 213e57b42537f1a2e5395caa9d7189854133ed12; >= 62e9dd177732843ae6c5b9d2ed61e7c9538fa276, < 67f744f73eba870ab96411d0310e831a4adc3713; >= 62e9dd177732843ae6c5b9d2ed61e7c9538fa276, < 0972252450f90db56dd5415a20e2aec21a08d036
- Anyone running Linux 5.9
Vulnerability facts
- Affected
- Linux >= 62e9dd177732843ae6c5b9d2ed61e7c9538fa276, < 9b7eb92dac240ab3bc83e188d83a3df834b41eb2; >= 62e9dd177732843ae6c5b9d2ed61e7c9538fa276, < 213e57b42537f1a2e5395caa9d7189854133ed12; >= 62e9dd177732843ae6c5b9d2ed61e7c9538fa276, < 67f744f73eba870ab96411d0310e831a4adc3713; >= 62e9dd177732843ae6c5b9d2ed61e7c9538fa276, < 0972252450f90db56dd5415a20e2aec21a08d036; Linux 5.9
- Fixed in
- Linux 9b7eb92dac240ab3bc83e188d83a3df834b41eb2, Linux 213e57b42537f1a2e5395caa9d7189854133ed12, Linux 67f744f73eba870ab96411d0310e831a4adc3713, Linux 0972252450f90db56dd5415a20e2aec21a08d036
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Adjacent network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.35% chance of exploitation in 30 days (percentile 21, 2026-11-26)
- CWE
- CWE-763
- Modified
Description
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]
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 62e9dd177732843ae6c5b9d2ed61e7c9538fa276, < 9b7eb92dac240ab3bc83e188d83a3df834b41eb2; >= 62e9dd177732843ae6c5b9d2ed61e7c9538fa276, < 213e57b42537f1a2e5395caa9d7189854133ed12; >= 62e9dd177732843ae6c5b9d2ed61e7c9538fa276, < 67f744f73eba870ab96411d0310e831a4adc3713; >= 62e9dd177732843ae6c5b9d2ed61e7c9538fa276, < 0972252450f90db56dd5415a20e2aec21a08d036 | — | cvelist |
| Linux | 5.9 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-49160. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-49160.md Affected: Linux >= 62e9dd177732843ae6c5b9d2ed61e7c9538fa276, < 9b7eb92dac240ab3bc83e188d83a3df834b41eb2; >= 62e9dd177732843ae6c5b9d2ed61e7c9538fa276, < 213e57b42537f1a2e5395caa9d7189854133ed12; >= 62e9dd177732843ae6c5b9d2ed61e7c9538fa276, < 67f744f73eba870ab96411d0310e831a4adc3713; >= 62e9dd177732843ae6c5b9d… Fixed in: Linux 9b7eb92dac240ab3bc83e188d83a3df834b41eb2, Linux 213e57b42537f1a2e5395caa9d7189854133ed12, Linux 67f744f73eba870ab96411d0310e831a4adc3713, Linux 0972252450f90db56dd5415a20e2aec21a08d036 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2022-49160 being exploited?
There is no confirmed exploitation: CVE-2022-49160 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-49160?
High: CVSS 7.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2022-49160?
Linux >= 62e9dd177732843ae6c5b9d2ed61e7c9538fa276, < 9b7eb92dac240ab3bc83e188d83a3df834b41eb2; >= 62e9dd177732843ae6c5b9d2ed61e7c9538fa276, < 213e57b42537f1a2e5395caa9d7189854133ed12; >= 62e9dd177732843ae6c5b9d2ed61e7c9538fa276, < 67f744f73eba870ab96411d0310e831a4adc3713; >= 62e9dd177732843ae6c5b9d2ed61e7c9538fa276, < 0972252450f90db56dd5415a20e2aec21a08d036; Linux 5.9.
Is there a fix for CVE-2022-49160?
Yes. Fixed in Linux 9b7eb92dac240ab3bc83e188d83a3df834b41eb2, Linux 213e57b42537f1a2e5395caa9d7189854133ed12, Linux 67f744f73eba870ab96411d0310e831a4adc3713, Linux 0972252450f90db56dd5415a20e2aec21a08d036. Upgrade Linux to 0972252450f90db56dd5415a20e2aec21a08d036 or later.
How do I check if I'm affected by CVE-2022-49160?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.