linux/drivers/scsi
Linus Torvalds 925724c081 SCSI fixes on 20260918
Four driver fixes, three of which are minor and one of which (fnic)
 tries to add some logic to try to avoid MSI-X being ineffective if
 hyperthreading is disabled.  The core fix adds validation to mode sense
 buffer sizes because it is used by ATA and could, theoretically, be
 exploited by a specially crafted USB device that can simply be plugged
 in to any laptop or server.
 
 Signed-off-by: James E.J. Bottomley <James.Bottomley@HansenPartnership.com>
 -----BEGIN PGP SIGNATURE-----
 
 iLgEABMIAGAWIQTnYEDbdso9F2cI+arnQslM7pishQUCaq2P/hsUgAAAAAAEAA5t
 YW51MiwyLjUrMS4xMiwyLDImHGphbWVzLmJvdHRvbWxleUBoYW5zZW5wYXJ0bmVy
 c2hpcC5jb20ACgkQ50LJTO6YrIXJ6AD9FODcORvjoRDhcU626EWsG/Hoy7YcMH2T
 bZVtZwp3hH8BAPnKar5uj3fCQxJkvI+sLKjiGultTi3llt9VaZGSTFj2
 =JgQF
 -----END PGP SIGNATURE-----

Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi

Pull SCSI fixes from James Bottomley:
 "Four driver fixes, three of which are minor and one of which (fnic)
  tries to add some logic to try to avoid MSI-X being ineffective if
  hyperthreading is disabled.

  The core fix adds validation to mode sense buffer sizes because it is
  used by ATA and could, theoretically, be exploited by a specially
  crafted USB device that can simply be plugged in to any laptop or
  server"

* tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
  scsi: core: Validate MODE SENSE lengths in scsi_cdl_enable()
  scsi: fnic: Fix missed link-up when critical IRQ targets offline CPU
  scsi: ibmvfc: Add Kconfig dependency to fix link failure when NVME_FC=m
  scsi: qla2xxx: Fix the ql2xfc2target parameter description
  scsi: pm80xx: Fix the use_msix, use_tasklet and read_wwn parameter descriptions
2026-09-18 13:10:29 -07:00
..
aacraid Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
aic7xxx scsi: aic7xxx: Fix compiler warnings triggered by user space code 2026-04-02 21:18:12 -04:00
aic94xx Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
arcmsr scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
arm Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
be2iscsi Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
bfa scsi: bfa: Reduce kernel stack usage in bfa_fcs_lport_fdmi_build_portattr_block() 2026-06-15 22:01:26 -04:00
bnx2fc scsi: fcoe: don't recurse on the netdev's ops lock 2026-06-04 14:04:56 -07:00
bnx2i ipv6: convert CONFIG_IPV6 to built-in only and clean up Kconfigs 2026-03-29 11:21:22 -07:00
csiostor Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
cxgbi ipv6: convert CONFIG_IPV6 to built-in only and clean up Kconfigs 2026-03-29 11:21:22 -07:00
device_handler scsi: core: Enable context analysis 2026-08-13 22:04:50 -04:00
elx scsi: elx: efct: Fix refcount leak in efct_hw_io_abort() 2026-07-12 22:21:22 -04:00
esas2r scsi: esas2r: Fix __printf annotation on esas2r_log_master() 2026-03-27 16:29:50 -04:00
fcoe Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2026-06-04 15:29:04 -07:00
fnic SCSI fixes on 20260918 2026-09-18 13:10:29 -07:00
hisi_sas scsi: libsas: Fix HA resume deadlock and hisi_sas disk-wake race 2026-07-26 15:34:03 -04:00
ibmvscsi scsi: ibmvfc: Document protocol parameter of ibmvfc_alloc_target() 2026-08-28 21:38:26 -04:00
ibmvscsi_tgt scsi: target: Use driver completion preference by default 2026-02-28 21:04:02 -05:00
isci scsi: isci: Remove unused macros from scu_task_context.h 2026-07-28 22:42:00 -04:00
leapraid treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
libfc Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
libsas SCSI updates for 7.3 2026-08-29 11:55:36 -07:00
lpfc SCSI updates for 7.3 2026-08-29 11:55:36 -07:00
megaraid scsi: megaraid_sas: Limit NVMe request size to the PRP chain frame 2026-09-02 12:13:15 -04:00
mpi3mr scsi: mpi3mr: Fix use-after-free on tgt_dev->starget during target device refresh/update 2026-09-01 22:18:54 -04:00
mpt3sas scsi: mpt3sas: Avoid out-of-bounds cpumask_of_node() call in _base_assign_reply_queues() 2026-09-01 22:22:23 -04:00
mvsas scsi: mvsas: Don't emit __LINE__ in debug messages 2026-05-14 22:04:50 -04:00
pcmcia Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
pm8001 scsi: pm80xx: Fix the use_msix, use_tasklet and read_wwn parameter descriptions 2026-09-09 21:23:07 -04:00
qedf Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
qedi Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
qla2xxx scsi: qla2xxx: Fix the ql2xfc2target parameter description 2026-09-09 21:25:45 -04:00
qla4xxx scsi: core: Protect host state changes with the host lock 2026-08-13 22:04:50 -04:00
smartpqi scsi: smartpqi: Update version to 2.1.42-011 2026-07-28 21:56:36 -04:00
snic scsi: snic: Fix SCSI host leak on workqueue allocation failure 2026-08-23 22:34:58 -04:00
sym53c8xx_2 Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
.gitignore
3w-9xxx.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
3w-9xxx.h
3w-sas.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
3w-sas.h
3w-xxxx.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
3w-xxxx.h
53c700_d.h_shipped
53c700.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
53c700.h
53c700.scr
a100u2w.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
a100u2w.h
a2091.c scsi: zorro: a2091: gvp11: Use named initializer for zorro_device_id 2026-07-16 22:40:11 -04:00
a2091.h
a3000.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
a3000.h
a4000t.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
advansys.c scsi: advansys: Drop ISA_DMA_API remnants 2026-04-30 11:22:58 -04:00
aha152x.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
aha152x.h
aha1542.c scsi: aha1542: Improve style of pnp_device_id array terminator 2026-07-16 22:40:01 -04:00
aha1542.h
aha1740.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
aha1740.h
am53c974.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
atari_scsi.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
atp870u.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
atp870u.h
BusLogic.c scsi: BusLogic: Replace deprecated strcpy() + strcat() in blogic_rdconfig() 2026-02-24 13:12:29 -05:00
BusLogic.h scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
bvme6000_scsi.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ch.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
constants.c
dc395x.c scsi: dc395x: Remove unused variable 'fact' 2026-07-26 15:26:41 -04:00
dc395x.h
dmx3191d.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
esp_scsi.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
esp_scsi.h scsi: esp: Fix variable typo 2025-01-02 13:42:35 -05:00
fdomain_isa.c
fdomain_pci.c scsi: Constify struct pci_device_id 2024-12-09 21:59:52 -05:00
fdomain.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
fdomain.h
FlashPoint.c
g_NCR5380.c scsi: NCR5380: Improve style of pnp_device_id array terminator 2026-07-16 22:40:06 -04:00
gvp11.c scsi: zorro: a2091: gvp11: Use named initializer for zorro_device_id 2026-07-16 22:40:11 -04:00
gvp11.h
hosts.c SCSI updates for 7.3 2026-08-29 11:55:36 -07:00
hpsa_cmd.h
hpsa.c scsi: hpsa: Fix DMA mapping leak on IOACCEL2 reset path 2026-07-12 22:21:22 -04:00
hpsa.h scsi: hpsa: Enlarge controller and IRQ name buffers 2026-04-02 21:09:43 -04:00
hptiop.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
hptiop.h
imm.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
imm.h
initio.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
initio.h
ipr.c Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
ipr.h move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
ips.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ips.h scsi: switch ->bios_param() to passing gendisk 2025-08-13 02:59:28 -04:00
iscsi_boot_sysfs.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
iscsi_tcp.c scsi: iscsi_tcp: update outdated comment for renamed iscsi_conn_set_callbacks() 2026-03-27 16:51:15 -04:00
iscsi_tcp.h scsi: iscsi_tcp: Switch to using the crc32c library 2025-02-12 22:05:10 -05:00
jazz_esp.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
Kconfig scsi: ibmvfc: Add Kconfig dependency to fix link failure when NVME_FC=m 2026-09-09 21:41:10 -04:00
lasi700.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
libiscsi_tcp.c scsi: libiscsi_tcp: Bound SCSI Response data segment to the connection buffer 2026-07-26 15:31:33 -04:00
libiscsi.c scsi: libiscsi: Fix stale-data leak into the SCSI sense buffer 2026-07-26 15:21:39 -04:00
mac_esp.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
mac_scsi.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
mac53c94.c Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
mac53c94.h
Makefile scsi: core: Enable context analysis for hosts.o 2026-08-23 21:32:17 -04:00
megaraid.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
megaraid.h scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
mesh.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
mesh.h
mvme16x_scsi.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
mvme147.c
mvme147.h
mvumi.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
mvumi.h
myrb.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
myrb.h scsi: myrb: Simplify an alloc_ordered_workqueue() invocation 2024-08-22 21:28:56 -04:00
myrs.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
myrs.h scsi: myrs: Simplify an alloc_ordered_workqueue() invocation 2024-08-22 21:28:56 -04:00
ncr53c8xx.c scsi: ncr53c8xx: Drop CONFIG_ prefix from Zalon-specific compiler defines 2026-04-30 11:56:20 -04:00
ncr53c8xx.h scsi: ncr53c8xx: Drop CONFIG_ prefix from Zalon-specific compiler defines 2026-04-30 11:56:20 -04:00
NCR5380.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
NCR5380.h scsi: NCR5380: Clean up indentation 2024-08-12 22:05:50 -04:00
nsp32_debug.c
nsp32_io.h
nsp32.c scsi: nsp32: Don't store pci_device_id 2026-07-28 11:16:35 -05:00
nsp32.h scsi: nsp32: Don't store pci_device_id 2026-07-28 11:16:35 -05:00
pmcraid.c Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
pmcraid.h scsi: pmcraid: Fix typo in comments 2026-04-20 22:33:19 -04:00
ppa.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ppa.h
ps3rom.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
qla1280.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
qla1280.h scsi: qla1280: Fix hw revision numbering for ISP1020/1040 2024-11-20 21:32:48 -05:00
qlogicfas.c
qlogicfas408.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
qlogicfas408.h scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
qlogicpti.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
qlogicpti.h
raid_class.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
script_asm.pl
scsi_bsg.c scsi: bsg: Fix TOCTOU in io_uring passthrough command setup 2026-09-02 10:36:52 -04:00
scsi_common.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
scsi_debug.c ata changes for 7.3 2026-08-19 12:31:50 -07:00
scsi_debugfs.c
scsi_debugfs.h
scsi_devinfo.c scsi: devinfo: Broaden Promise VTrak E310/E610 identification 2026-06-08 17:34:40 -04:00
scsi_dh.c scsi: device_handler: Return error pointer in scsi_dh_attached_handler_name() 2025-12-08 22:04:38 -05:00
scsi_error.c scsi: core: Do not block on tag allocation in scsi_eh_lock_door() 2026-08-07 11:52:28 -04:00
scsi_ioctl.c scsi: scsi_ioctl: Use strnlen() in scsi_ioctl_get_pci() 2026-05-22 21:12:32 -04:00
scsi_lib_dma.c
scsi_lib_test.c scsi: core: Add passthrough tests for success and no failure definitions 2025-01-21 12:16:17 -05:00
scsi_lib.c SCSI updates for 7.3 2026-08-29 11:55:36 -07:00
scsi_logging.c scsi: core: Do not declare scsi_cmnd pointers const 2025-10-21 21:11:35 -04:00
scsi_logging.h
scsi_netlink.c
scsi_pm.c scsi: pm: Drop unneeded call to pm_runtime_mark_last_busy() 2025-11-12 20:56:38 -05:00
scsi_priv.h scsi: core: wake eh reliably when using scsi_schedule_eh 2026-07-12 22:21:22 -04:00
scsi_proc.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
scsi_proto_test.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
scsi_sas_internal.h
scsi_scan.c treewide: refresh kmalloc_obj() conversions 2026-09-04 21:37:00 -07:00
scsi_sysctl.c scsi: logging: Fix scsi_logging_level bounds 2025-03-03 22:11:48 -05:00
scsi_sysfs.c scsi: core: Protect host state changes with the host lock 2026-08-13 22:04:50 -04:00
scsi_trace.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
scsi_transport_api.h
scsi_transport_fc.c scsi: scsi_transport_fc: Widen FPIN pname walker counter to u32 2026-05-22 21:54:47 -04:00
scsi_transport_iscsi.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
scsi_transport_sas.c scsi: sas: Skip opt_sectors when DMA reports no real optimization hint 2026-06-01 21:42:09 -04:00
scsi_transport_spi.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
scsi_transport_srp.c scsi: scsi_transport_srp: Move long delayed work to system_dfl_long_wq 2026-05-14 21:57:28 -04:00
scsi.c scsi: core: Validate MODE SENSE lengths in scsi_cdl_enable() 2026-09-09 22:23:00 -04:00
scsicam.c scsi: switch ->bios_param() to passing gendisk 2025-08-13 02:59:28 -04:00
sd_dif.c block: introduce pi_tuple_size field in blk_integrity 2025-07-01 14:00:15 +02:00
sd_trace.h
sd_zbc.c block: introduce disk_report_zone() 2025-11-05 08:07:21 -07:00
sd.c scsi: sd: Fix sd_done() sense handling condition 2026-08-07 13:13:17 -04:00
sd.h block: introduce disk_report_zone() 2025-11-05 08:07:21 -07:00
sense_codes.h
ses.c scsi: ses: Handle positive SCSI error from ses_recv_diag() 2026-03-19 21:33:28 -04:00
sg.c scsi: sg: Report request-table problems when any status is set 2026-08-28 22:06:09 -04:00
sgiwd93.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
sim710.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
sni_53c710.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
sr_ioctl.c minmax: scsi: fix mis-use of 'clamp()' in sr.c 2024-07-28 17:06:20 -07:00
sr_vendor.c
sr.c cdrom, scsi: sr: propagate read-only status to block layer via set_disk_ro() 2026-04-27 15:52:51 -06:00
sr.h cdrom, scsi: sr: propagate read-only status to block layer via set_disk_ro() 2026-04-27 15:52:51 -06:00
st_options.h
st.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
st.h scsi: st: Modify st.c to use the new scsi_error counters 2025-02-03 17:43:31 -05:00
stex.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
storvsc_drv.c hyperv-next for v7.3-rc1 2026-08-26 16:47:40 -07:00
sun_esp.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
sun3_scsi_vme.c
sun3_scsi.c scsi: sun3: Mark driver struct with __refdata to prevent section mismatch 2024-11-06 21:06:44 -05:00
sun3x_esp.c scsi: Switch back to struct platform_driver::remove() 2024-11-06 20:45:25 -05:00
virtio_scsi.c scsi: virtio_scsi: Fix up endian conversions for warning messages 2026-07-08 21:35:46 -04:00
vmw_pvscsi.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
vmw_pvscsi.h
wd33c93.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
wd33c93.h scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
wd719x.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
wd719x.h
xen-scsifront.c xen: branch for v7.0-rc3 2026-03-07 07:44:32 -08:00
zalon.c scsi: zalon: Remove trailing space after \n newline 2024-09-12 20:25:43 -04:00
zorro_esp.c scsi: zorro: a2091: gvp11: Use named initializer for zorro_device_id 2026-07-16 22:40:11 -04:00
zorro7xx.c scsi: zorro7xx: Make use of struct zorro_device_id::driver_data_ptr 2026-07-16 22:40:21 -04:00