Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-48666

published critical CVSS 3.1 · 9.8

scsi: core: Fix a use-after-free

Published
28 Apr 2024, 13:01:50 UTC
Updated
05 Aug 2026, 08:51:41 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux65ca846a53149a1a72cd8d02e7b2e73dd545b834 to < 5ce8fad941233e81f2afb5b52a3fcddd3ba8732f · 65ca846a53149a1a72cd8d02e7b2e73dd545b834 to < f818708eeeae793e12dc39f8984ed7732048a7d9 · 65ca846a53149a1a72cd8d02e7b2e73dd545b834 to < 2e7eb4c1e8af8385de22775bd0be552f59b28c9a · 65ca846a53149a1a72cd8d02e7b2e73dd545b834 to < 8fe4ce5836e932f5766317cb651c1ff2a4cd0506 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.7 (affected) · 0 to < 5.7 (unaffected · semver) · 5.10.223 through 5.10.* (unaffected · semver) · 5.15.164 through 5.15.* (unaffected · semver) · 5.19.12 through 5.19.* (unaffected · semver) · 6.0 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
linux — linux_kernel5.7 · Other versions: unknown Affected Not stated CISA-ADP
linux — linux_kernel65ca846a5314 to < 2e7eb4c1e8af · Other versions: unknown Affected Not stated CISA-ADP
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2024-066 Fixed Not stated Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.223-1 DSA-5747-1
Ubuntu focal linux-aws-5.15 Advisory build 5.15.0-1072.78~20.04.1 USN-7100-1
Show 106 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2024-050 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2LIVEPATCH-2024-183 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2LIVEPATCH-2024-184 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2LIVEPATCH-2024-185 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2LIVEPATCH-2024-186 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2LIVEPATCH-2024-187 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2LIVEPATCH-2024-188 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Ubuntu focal linux-aws-5.15-cloud-tools-5.15.0-1072 Advisory build 5.15.0-1072.78~20.04.1 USN-7100-1
Ubuntu focal linux-aws-5.15-headers-5.15.0-1072 Advisory build 5.15.0-1072.78~20.04.1 USN-7100-1
Ubuntu focal linux-aws-5.15-tools-5.15.0-1072 Advisory build 5.15.0-1072.78~20.04.1 USN-7100-1
Ubuntu focal linux-azure-5.15 Advisory build 5.15.0-1078.87~20.04.1 USN-7194-1
Ubuntu focal linux-azure-5.15-cloud-tools-5.15.0-1078 Advisory build 5.15.0-1078.87~20.04.1 USN-7194-1
Ubuntu focal linux-azure-5.15-headers-5.15.0-1078 Advisory build 5.15.0-1078.87~20.04.1 USN-7194-1
Ubuntu focal linux-azure-5.15-tools-5.15.0-1078 Advisory build 5.15.0-1078.87~20.04.1 USN-7194-1
Ubuntu focal linux-buildinfo-5.15.0-1055-gkeop Advisory build 5.15.0-1055.62~20.04.1 USN-7100-1
Ubuntu focal linux-buildinfo-5.15.0-1065-ibm Advisory build 5.15.0-1065.68~20.04.1 USN-7100-1
Ubuntu focal linux-buildinfo-5.15.0-1067-intel-iotg Advisory build 5.15.0-1067.73~20.04.1 USN-7144-1
Ubuntu focal linux-buildinfo-5.15.0-1070-oracle Advisory build 5.15.0-1070.76~20.04.1 USN-7100-1
Ubuntu focal linux-buildinfo-5.15.0-1071-gcp Advisory build 5.15.0-1071.79~20.04.1 USN-7100-1
Ubuntu focal linux-buildinfo-5.15.0-1072-aws Advisory build 5.15.0-1072.78~20.04.1 USN-7100-1
Ubuntu focal linux-buildinfo-5.15.0-1078-azure Advisory build 5.15.0-1078.87~20.04.1 USN-7194-1
Ubuntu focal linux-buildinfo-5.15.0-125-generic Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-buildinfo-5.15.0-125-generic-64k Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-buildinfo-5.15.0-125-generic-lpae Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-buildinfo-5.15.0-125-lowlatency Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-buildinfo-5.15.0-125-lowlatency-64k Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-cloud-tools-5.15.0-1055-gkeop Advisory build 5.15.0-1055.62~20.04.1 USN-7100-1
Ubuntu focal linux-cloud-tools-5.15.0-1067-intel-iotg Advisory build 5.15.0-1067.73~20.04.1 USN-7144-1
Ubuntu focal linux-cloud-tools-5.15.0-1072-aws Advisory build 5.15.0-1072.78~20.04.1 USN-7100-1
Ubuntu focal linux-cloud-tools-5.15.0-1078-azure Advisory build 5.15.0-1078.87~20.04.1 USN-7194-1
Ubuntu focal linux-cloud-tools-5.15.0-125-generic Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-cloud-tools-5.15.0-125-lowlatency Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-gcp-5.15 Advisory build 5.15.0-1071.79~20.04.1 USN-7100-1
Ubuntu focal linux-gcp-5.15-headers-5.15.0-1071 Advisory build 5.15.0-1071.79~20.04.1 USN-7100-1
Ubuntu focal linux-gcp-5.15-tools-5.15.0-1071 Advisory build 5.15.0-1071.79~20.04.1 USN-7100-1
Ubuntu focal linux-gkeop-5.15 Advisory build 5.15.0-1055.62~20.04.1 USN-7100-1
Ubuntu focal linux-gkeop-5.15-cloud-tools-5.15.0-1055 Advisory build 5.15.0-1055.62~20.04.1 USN-7100-1
Ubuntu focal linux-gkeop-5.15-headers-5.15.0-1055 Advisory build 5.15.0-1055.62~20.04.1 USN-7100-1
Ubuntu focal linux-gkeop-5.15-tools-5.15.0-1055 Advisory build 5.15.0-1055.62~20.04.1 USN-7100-1
Ubuntu focal linux-headers-5.15.0-1055-gkeop Advisory build 5.15.0-1055.62~20.04.1 USN-7100-1
Ubuntu focal linux-headers-5.15.0-1065-ibm Advisory build 5.15.0-1065.68~20.04.1 USN-7100-1
Ubuntu focal linux-headers-5.15.0-1067-intel-iotg Advisory build 5.15.0-1067.73~20.04.1 USN-7144-1
Ubuntu focal linux-headers-5.15.0-1070-oracle Advisory build 5.15.0-1070.76~20.04.1 USN-7100-1
Ubuntu focal linux-headers-5.15.0-1071-gcp Advisory build 5.15.0-1071.79~20.04.1 USN-7100-1
Ubuntu focal linux-headers-5.15.0-1072-aws Advisory build 5.15.0-1072.78~20.04.1 USN-7100-1
Ubuntu focal linux-headers-5.15.0-1078-azure Advisory build 5.15.0-1078.87~20.04.1 USN-7194-1
Ubuntu focal linux-headers-5.15.0-125-generic Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-headers-5.15.0-125-generic-64k Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-headers-5.15.0-125-generic-lpae Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-headers-5.15.0-125-lowlatency Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-headers-5.15.0-125-lowlatency-64k Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-hwe-5.15 Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-hwe-5.15-cloud-tools-5.15.0-125 Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-hwe-5.15-cloud-tools-common Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-hwe-5.15-headers-5.15.0-125 Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-hwe-5.15-source-5.15.0 Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-hwe-5.15-tools-5.15.0-125 Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-hwe-5.15-tools-common Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-hwe-5.15-tools-host Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-ibm-5.15 Advisory build 5.15.0-1065.68~20.04.1 USN-7100-1
Ubuntu focal linux-ibm-5.15-headers-5.15.0-1065 Advisory build 5.15.0-1065.68~20.04.1 USN-7100-1
Ubuntu focal linux-ibm-5.15-source-5.15.0 Advisory build 5.15.0-1065.68~20.04.1 USN-7100-1
Ubuntu focal linux-ibm-5.15-tools-5.15.0-1065 Advisory build 5.15.0-1065.68~20.04.1 USN-7100-1
Ubuntu focal linux-image-5.15.0-125-generic Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-image-5.15.0-125-generic-lpae Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-image-unsigned-5.15.0-1055-gkeop Advisory build 5.15.0-1055.62~20.04.1 USN-7100-1
Ubuntu focal linux-image-unsigned-5.15.0-1065-ibm Advisory build 5.15.0-1065.68~20.04.1 USN-7100-1
Ubuntu focal linux-image-unsigned-5.15.0-1067-intel-iotg Advisory build 5.15.0-1067.73~20.04.1 USN-7144-1
Ubuntu focal linux-image-unsigned-5.15.0-1070-oracle Advisory build 5.15.0-1070.76~20.04.1 USN-7100-1
Ubuntu focal linux-image-unsigned-5.15.0-1071-gcp Advisory build 5.15.0-1071.79~20.04.1 USN-7100-1
Ubuntu focal linux-image-unsigned-5.15.0-1072-aws Advisory build 5.15.0-1072.78~20.04.1 USN-7100-1
Ubuntu focal linux-image-unsigned-5.15.0-1078-azure Advisory build 5.15.0-1078.87~20.04.1 USN-7194-1
Ubuntu focal linux-image-unsigned-5.15.0-125-generic Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-image-unsigned-5.15.0-125-generic-64k Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-image-unsigned-5.15.0-125-lowlatency Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-image-unsigned-5.15.0-125-lowlatency-64k Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-intel-iotg-5.15 Advisory build 5.15.0-1067.73~20.04.1 USN-7144-1
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-5.15.0-1067 Advisory build 5.15.0-1067.73~20.04.1 USN-7144-1
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-common Advisory build 5.15.0-1067.73~20.04.1 USN-7144-1
Ubuntu focal linux-intel-iotg-5.15-headers-5.15.0-1067 Advisory build 5.15.0-1067.73~20.04.1 USN-7144-1
Ubuntu focal linux-intel-iotg-5.15-tools-5.15.0-1067 Advisory build 5.15.0-1067.73~20.04.1 USN-7144-1
Ubuntu focal linux-intel-iotg-5.15-tools-common Advisory build 5.15.0-1067.73~20.04.1 USN-7144-1
Ubuntu focal linux-intel-iotg-5.15-tools-host Advisory build 5.15.0-1067.73~20.04.1 USN-7144-1
Ubuntu focal linux-lowlatency-hwe-5.15 Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-125 Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-lowlatency-hwe-5.15-cloud-tools-common Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-lowlatency-hwe-5.15-headers-5.15.0-125 Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-lowlatency-hwe-5.15-tools-5.15.0-125 Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-lowlatency-hwe-5.15-tools-common Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-lowlatency-hwe-5.15-tools-host Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-modules-5.15.0-1055-gkeop Advisory build 5.15.0-1055.62~20.04.1 USN-7100-1
Ubuntu focal linux-modules-5.15.0-1065-ibm Advisory build 5.15.0-1065.68~20.04.1 USN-7100-1
Ubuntu focal linux-modules-5.15.0-1067-intel-iotg Advisory build 5.15.0-1067.73~20.04.1 USN-7144-1
Ubuntu focal linux-modules-5.15.0-1070-oracle Advisory build 5.15.0-1070.76~20.04.1 USN-7100-1
Ubuntu focal linux-modules-5.15.0-1071-gcp Advisory build 5.15.0-1071.79~20.04.1 USN-7100-1
Ubuntu focal linux-modules-5.15.0-1072-aws Advisory build 5.15.0-1072.78~20.04.1 USN-7100-1
Ubuntu focal linux-modules-5.15.0-1078-azure Advisory build 5.15.0-1078.87~20.04.1 USN-7194-1
Ubuntu focal linux-modules-5.15.0-125-generic Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-modules-5.15.0-125-generic-64k Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-modules-5.15.0-125-generic-lpae Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-modules-5.15.0-125-lowlatency Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-modules-5.15.0-125-lowlatency-64k Advisory build 5.15.0-125.135~20.04.1 USN-7100-1
Ubuntu focal linux-modules-extra-5.15.0-1055-gkeop Advisory build 5.15.0-1055.62~20.04.1 USN-7100-1
Ubuntu focal linux-modules-extra-5.15.0-1065-ibm Advisory build 5.15.0-1065.68~20.04.1 USN-7100-1
Ubuntu focal linux-modules-extra-5.15.0-1067-intel-iotg Advisory build 5.15.0-1067.73~20.04.1 USN-7144-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: core: Fix a use-after-free There are two .exit_cmd_priv implementations. Both implementations use resources associated with the SCSI host. Make sure that these resources are still available when .exit_cmd_priv is called by waiting inside scsi_remove_host() until the tag set has been freed. This commit fixes the following use-after-free: ================================================================== BUG: KASAN: use-after-free in srp_exit_cmd_priv+0x27/0xd0 [ib_srp] Read of size 8 at addr ffff888100337000 by task multipathd/16727 Call Trace: <TASK> dump_stack_lvl+0x34/0x44 print_report.cold+0x5e/0x5db kasan_report+0xab/0x120 srp_exit_cmd_priv+0x27/0xd0 [ib_srp] scsi_mq_exit_request+0x4d/0x70 blk_mq_free_rqs+0x143/0x410 __blk_mq_free_map_and_rqs+0x6e/0x100 blk_mq_free_tag_set+0x2b/0x160 scsi_host_dev_release+0xf3/0x1a0 device_release+0x54/0xe0 kobject_put+0xa5/0x120 device_release+0x54/0xe0 kobject_put+0xa5/0x120 scsi_device_dev_release_usercontext+0x4c1/0x4e0 execute_in_process_context+0x23/0x90 device_release+0x54/0xe0 kobject_put+0xa5/0x120 scsi_disk_release+0x3f/0x50 device_release+0x54/0xe0 kobject_put+0xa5/0x120 disk_release+0x17f/0x1b0 device_release+0x54/0xe0 kobject_put+0xa5/0x120 dm_put_table_device+0xa3/0x160 [dm_mod] dm_put_device+0xd0/0x140 [dm_mod] free_priority_group+0xd8/0x110 [dm_multipath] free_multipath+0x94/0xe0 [dm_multipath] dm_table_destroy+0xa2/0x1e0 [dm_mod] __dm_destroy+0x196/0x350 [dm_mod] dev_remove+0x10c/0x160 [dm_mod] ctl_ioctl+0x2c2/0x590 [dm_mod] dm_ctl_ioctl+0x5/0x10 [dm_mod] __x64_sys_ioctl+0xb4/0xf0 dm_ctl_ioctl+0x5/0x10 [dm_mod] __x64_sys_ioctl+0xb4/0xf0 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x46/0xb0

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

16

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - ib_srp is an RDMA/SRP initiator (IB or RoCE); a remote fabric peer can force transport errors that expire dev_loss_tmo, call rport_delete→scsi_remove_host, and reach the UAF during later tag-set teardown—analogous to prior NVMe-oF fabric-teardown Network scores. AC:L - Once an SRP target is in use under multipath (the normal HA deployment shown in the KASAN stack), the peer can deterministically drop the link and wait for kernel timers plus multipathd cleanup; this is a lifetime bug, not a race the attacker cannot control. PR:N - Teardown is driven by unauthenticated remote transport/reconnect-failure events on an already-configured SRP session; the peer needs no local account or capability on the initiator (multipathd/sysfs CAP_SYS_ADMIN runs as victim-side reaction). UI:N - After the SRP path is established, disconnect handling, dev_loss_tmo, and multipathd device removal proceed from kernel workqueues/daemons with no additional victim user action at exploit time. S:U - The UAF corrupts in-kernel SCSI/SRP/blk-mq objects within the same host kernel authority and does not cross a VM, IOMMU, or other security-authority boundary. C:H - This is a confirmed KASAN use-after-free in srp_exit_cmd_priv during tag-set free; per kernel guidance a UAF yields an attacker-controllable read primitive via reclaim of the freed object. I:H - Use-after-free of host-associated command-private state during blk_mq_free_tag_set enables heap spray and arbitrary write/control-flow hijack primitives, so integrity impact is High. A:H - The UAF produces a kernel oops/KASAN fault in the exit_cmd_priv path (as in the reported multipathd stack), which is full availability loss even without further exploitation.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.4 high CISA-ADP · adp CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 65ca846a53149a1a72cd8d02e7b2e73dd545b834 to < 5ce8fad941233e81f2afb5b52a3fcddd3ba8732f (affected · git)65ca846a53149a1a72cd8d02e7b2e73dd545b834 to < f818708eeeae793e12dc39f8984ed7732048a7d9 (affected · git)65ca846a53149a1a72cd8d02e7b2e73dd545b834 to < 2e7eb4c1e8af8385de22775bd0be552f59b28c9a (affected · git)65ca846a53149a1a72cd8d02e7b2e73dd545b834 to < 8fe4ce5836e932f5766317cb651c1ff2a4cd0506 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.7 (affected)0 to < 5.7 (unaffected · semver)5.10.223 through 5.10.* (unaffected · semver)5.15.164 through 5.15.* (unaffected · semver)5.19.12 through 5.19.* (unaffected · semver)6.0 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
linux linux_kernel 5.7 (affected)Default: unknown CISA-ADP · adp
linux linux_kernel 65ca846a5314 to < 2e7eb4c1e8af (affected · custom)Default: unknown CISA-ADP · adp

Weaknesses

1
  • CWE-416 CWE-416 Use After Free (CISA-ADP · adp)

References

4

Provider assertions

3

Linux · cna

scsi: core: Fix a use-after-free

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
b1821f02f6c6bb6ac7306121cc6714a4a5aaecd73d57ff336e33c82d0b9273f0
Ingested
23 Sep 2026, 08:03:53 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected