sst-linux/drivers/scsi
Magnus Lindholm 24602e2664 scsi: qla1280: Fix kernel oops when debug level > 2
[ Upstream commit 5233e3235dec3065ccc632729675575dbe3c6b8a ]

A null dereference or oops exception will eventually occur when qla1280.c
driver is compiled with DEBUG_QLA1280 enabled and ql_debug_level > 2.  I
think its clear from the code that the intention here is sg_dma_len(s) not
length of sg_next(s) when printing the debug info.

Signed-off-by: Magnus Lindholm <linmag7@gmail.com>
Link: https://lore.kernel.org/r/20250125095033.26188-1-linmag7@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-03-28 21:58:50 +01:00
..
aacraid scsi: aacraid: Rearrange order of struct aac_srb_unit 2024-10-17 15:21:46 +02:00
aic7xxx
aic94xx
arcmsr scsi: arcmsr: Support new PCI device IDs 1883 and 1886 2024-02-05 20:12:50 +00:00
arm
be2iscsi scsi: be2iscsi: Fix a memleak in beiscsi_init_wrb_handle() 2023-12-13 18:39:16 +01:00
bfa scsi: bfa: Fix use-after-free in bfad_im_module_exit() 2024-12-14 19:53:40 +01:00
bnx2fc scsi: bnx2fc: Remove spin_lock_bh while releasing resources after upload 2024-05-17 11:56:04 +02:00
bnx2i
csiostor scsi: csiostor: Avoid function pointer casts 2024-03-26 18:20:55 -04:00
cxgbi
cxlflash
device_handler scsi: core: alua: I/O errors for ALUA state transitions 2024-07-25 09:49:07 +02:00
elx scsi: elx: libefc: Fix potential use after free in efc_nport_vport_del() 2024-10-17 15:20:52 +02:00
esas2r
fcoe scsi: Revert "scsi: fcoe: Fix potential deadlock on &fip->ctlr_lock" 2024-02-23 09:12:37 +01:00
fnic scsi: fnic: Return error if vmalloc() failed 2024-01-25 15:27:26 -08:00
hisi_sas scsi: hisi_sas: Add cond_resched() for no forced preemption model 2024-12-14 19:54:46 +01:00
ibmvscsi scsi: ibmvfc: Remove BUG_ON in the case of an empty event pool 2023-11-28 17:06:59 +00:00
ibmvscsi_tgt
isci scsi: isci: Fix an error code problem in isci_io_request_build() 2024-02-05 20:13:00 +00:00
libfc scsi: libfc: Fix up timeout error in fc_fcp_rec_error() 2024-02-05 20:12:51 +00:00
libsas scsi: libsas: Fix exp-attached device scan after probe failure scanned in again after probe failed 2024-07-25 09:49:17 +02:00
lpfc scsi: lpfc: Fix a possible data race in lpfc_unregister_fcf_rescan() 2025-03-13 12:53:25 +01:00
megaraid scsi: megaraid_sas: Fix for a potential deadlock 2025-01-02 10:30:51 +01:00
mpi3mr scsi: mpi3mr: Avoid IOMMU page faults on REPORT ZONES 2024-08-14 13:52:56 +02:00
mpt3sas scsi: mpt3sas: Set ioc->manu_pg11.EEDPTagMode directly to 1 2025-02-21 13:49:19 +01:00
mvsas
pcmcia
pm8001 scsi: pm8001: Do not overwrite PCI queue mapping 2024-10-17 15:21:29 +02:00
qedf scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb() 2024-12-14 19:53:40 +01:00
qedi scsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb() 2024-12-14 19:53:40 +01:00
qla2xxx scsi: qla2xxx: Move FCE Trace buffer allocation to user control 2025-02-21 13:49:46 +01:00
qla4xxx scsi: qla4xxx: Add length check when parsing nlattrs 2023-09-13 09:42:52 +02:00
smartpqi scsi: smartpqi: correct stream detection 2024-10-17 15:21:44 +02:00
snic scsi: snic: Fix double free in snic_tgt_create() 2023-08-30 16:11:12 +02:00
sym53c8xx_2
.gitignore
3w-9xxx.c
3w-9xxx.h
3w-sas.c
3w-sas.h
3w-xxxx.c
3w-xxxx.h
53c700_d.h_shipped
53c700.c scsi: 53c700: Check that command slot is not NULL 2023-08-16 18:27:30 +02:00
53c700.h
53c700.scr
a100u2w.c
a100u2w.h
a2091.c
a2091.h
a3000.c
a3000.h
a4000t.c
advansys.c
aha152x.c
aha152x.h
aha1542.c
aha1542.h
aha1740.c
aha1740.h
am53c974.c
atari_scsi.c
atp870u.c
atp870u.h
BusLogic.c
BusLogic.h
bvme6000_scsi.c
ch.c
constants.c
dc395x.c
dc395x.h
dmx3191d.c
esp_scsi.c
esp_scsi.h
fdomain_isa.c
fdomain_pci.c
fdomain.c
fdomain.h
FlashPoint.c
g_NCR5380.c
gvp11.c
gvp11.h
hosts.c scsi: core: Fix unremoved procfs host directory regression 2024-04-03 15:19:51 +02:00
hpsa_cmd.h
hpsa.c scsi: hpsa: Fix allocation size for Scsi_Host private data 2024-06-12 11:03:12 +02:00
hpsa.h
hptiop.c
hptiop.h
imm.c
imm.h
initio.c
initio.h
ipr.c
ipr.h
ips.c
ips.h
iscsi_boot_sysfs.c
iscsi_tcp.c scsi: iscsi_tcp: restrict to TCP sockets 2023-10-06 14:56:38 +02:00
iscsi_tcp.h
jazz_esp.c
Kconfig scsi: jazz_esp: Only build if SCSI core is builtin 2024-03-01 13:26:35 +01:00
lasi700.c
libiscsi_tcp.c
libiscsi.c
mac53c94.c
mac53c94.h
mac_esp.c
mac_scsi.c scsi: mac_scsi: Disallow bus errors during PDMA send 2024-10-17 15:21:18 +02:00
Makefile
megaraid.c
megaraid.h
mesh.c
mesh.h
mvme16x_scsi.c
mvme147.c
mvme147.h
mvumi.c scsi: core: Improve type safety of scsi_rescan_device() 2023-10-10 22:00:35 +02:00
mvumi.h
myrb.c scsi: mylex: Fix sysfs buffer lengths 2024-04-10 16:28:31 +02:00
myrb.h
myrs.c scsi: mylex: Fix sysfs buffer lengths 2024-04-10 16:28:31 +02:00
myrs.h
ncr53c8xx.c
ncr53c8xx.h
NCR5380.c scsi: NCR5380: Initialize buffer for MSG IN and STATUS transfers 2024-10-17 15:21:47 +02:00
NCR5380.h
nsp32_debug.c
nsp32_io.h
nsp32.c
nsp32.h
pmcraid.c
pmcraid.h
ppa.c
ppa.h
ps3rom.c
qla1280.c scsi: qla1280: Fix kernel oops when debug level > 2 2025-03-28 21:58:50 +01:00
qla1280.h scsi: qla1280: Fix hw revision numbering for ISP1020/1040 2025-01-02 10:30:51 +01:00
qlogicfas408.c
qlogicfas408.h
qlogicfas.c
qlogicpti.c
qlogicpti.h
raid_class.c scsi: core: raid_class: Remove raid_component_add() 2023-08-30 16:11:12 +02:00
script_asm.pl
scsi_bsg.c
scsi_common.c
scsi_debug.c scsi: scsi_debug: Fix hrtimer support for ndelay 2024-12-14 19:54:30 +01:00
scsi_debugfs.c
scsi_debugfs.h
scsi_devinfo.c
scsi_dh.c
scsi_error.c scsi: core: Move scsi_host_busy() out of host lock if it is for per-command 2024-02-16 19:06:29 +01:00
scsi_ioctl.c
scsi_lib_dma.c
scsi_lib.c scsi: core: Clear driver private data when retrying request 2025-03-07 16:56:42 +01:00
scsi_logging.c
scsi_logging.h
scsi_netlink.c
scsi_pm.c
scsi_priv.h scsi: core: Move scsi_host_busy() out of host lock for waking up EH handler 2024-02-05 20:13:00 +00:00
scsi_proc.c scsi: core: Fix legacy /proc parsing buffer overflow 2023-08-16 18:27:30 +02:00
scsi_sas_internal.h
scsi_scan.c scsi: core: Use GFP_NOIO to avoid circular locking dependency 2025-03-28 21:58:50 +01:00
scsi_sysctl.c
scsi_sysfs.c scsi: core: Improve type safety of scsi_rescan_device() 2023-10-10 22:00:35 +02:00
scsi_trace.c
scsi_transport_api.h
scsi_transport_fc.c scsi: scsi_transport_fc: Allow setting rport state to current state 2024-11-08 16:26:43 +01:00
scsi_transport_iscsi.c scsi: iscsi: Fix redundant response for ISCSI_UEVENT_GET_HOST_STATS request 2025-02-01 18:30:05 +01:00
scsi_transport_sas.c scsi: mpi3mr: Fix ATA NCQ priority support 2024-06-21 14:35:44 +02:00
scsi_transport_spi.c scsi: spi: Fix sshdr use 2024-08-29 17:30:31 +02:00
scsi_transport_srp.c
scsi.c scsi: core: Handle devices which return an unusually large VPD page count 2024-06-16 13:41:38 +02:00
scsicam.c
sd_dif.c
sd_zbc.c scsi: sd_zbc: Use kvzalloc() to allocate REPORT ZONES buffer 2024-11-14 13:15:13 +01:00
sd.c scsi: core: Handle depopulation and restoration in progress 2025-03-07 16:56:31 +01:00
sd.h scsi: sd: Do not issue commands to suspended disks on shutdown 2023-10-10 22:00:35 +02:00
sense_codes.h
ses.c
sg.c scsi: sg: Fix slab-use-after-free read in sg_release() 2025-01-23 17:17:16 +01:00
sgiwd93.c
sim710.c
sni_53c710.c
sr_ioctl.c
sr_vendor.c
sr.c
sr.h
st_options.h
st.c scsi: st: Add MTIOCGET and MTLOAD to ioctls allowed after device reset 2024-12-14 19:54:46 +01:00
st.h
stex.c
storvsc_drv.c scsi: storvsc: Set correct data length for sending SCSI command without payload 2025-02-21 13:49:46 +01:00
sun3_scsi_vme.c
sun3_scsi.c
sun3x_esp.c
sun_esp.c
virtio_scsi.c scsi: core: Improve type safety of scsi_rescan_device() 2023-10-10 22:00:35 +02:00
vmw_pvscsi.c
vmw_pvscsi.h
wd33c93.c scsi: wd33c93: Don't use stale scsi_pointer value 2024-10-17 15:22:26 +02:00
wd33c93.h
wd719x.c
wd719x.h
xen-scsifront.c
zalon.c
zorro7xx.c
zorro_esp.c