CVE-2022-49160

Medium

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]

Package Linux Kernel
Published 2025-02-26
Last modified 2025-09-23
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness type

CWE-763

CVE-2022-49160 is a Release of Invalid Pointer or Reference vulnerability

What is Release of Invalid Pointer or Reference?

The product attempts to return a memory resource to the system but calls the wrong release function. Learn more on MITRE CWE

Affected versions

Linux kernel versions 5.9 and later are affected. Fixed in 5.15.54, 5.16.19, 5.17.2, 5.18 and their respective stable series.

Affected from
≥ 5.9
Fixed in
✓ 5.15.54 5.15.x ✓ 5.16.19 5.16.x ✓ 5.17.2 5.17.x ✓ 5.18

References

The following references provide additional information about CVE-2022-49160 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.

Frequently asked questions

  • What is CVE-2022-49160?

    CVE-2022-49160 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as a Release of Invalid Pointer or Reference flaw (CWE-763) . It affects Linux kernel versions from 5.9 onward and has been patched in 5.15.54, 5.16.19, 5.17.2 and others. CVE-2022-49160 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2022-49160?

    CVE-2022-49160 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H .

  • Is there a patch available for CVE-2022-49160?

    Yes — CVE-2022-49160 has been patched. Fixed versions include 5.15.54, 5.16.19, 5.17.2 and others. If you are running Linux kernel 5.9 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2022-49160 actively exploited?

    No — CVE-2022-49160 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

  • What is Release of Invalid Pointer or Reference (CWE-763)?

    The product attempts to return a memory resource to the system but calls the wrong release function. View CWE-763 on MITRE CWE →