Alexandra Diupina
b22f83d8df
esp: check for NULL result from scsi_device_find()
...
Add a 'current_lun' check for a null value
to avoid null pointer dereferencing and
recover host if NULL return
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 4eb8606560 (esp: store lun coming from the MESSAGE OUT phase)
Signed-off-by: Alexandra Diupina <adiupina@astralinux.ru>
Message-ID: <20231229152647.19699-1-adiupina@astralinux.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2023-12-31 09:11:27 +01:00
..
2023-10-20 08:51:41 +02:00
2023-12-02 15:56:49 -05:00
2023-11-03 09:20:31 +01:00
2023-12-20 09:40:16 -05:00
2023-12-04 08:03:42 -05:00
2023-11-28 14:27:12 +01:00
2023-12-02 15:56:49 -05:00
2023-11-07 08:54:20 +00:00
2023-12-20 10:29:23 +01:00
2023-09-21 11:31:16 +03:00
2023-11-15 11:09:17 +03:00
2023-11-13 16:56:24 +01:00
2023-11-27 17:02:04 +00:00
2023-11-20 15:30:59 +00:00
2023-11-07 09:41:52 +08:00
2023-11-07 13:08:49 +01:00
2023-12-31 09:11:27 +01:00
2023-11-28 14:56:32 +01:00
2023-11-27 15:27:46 +00:00
2023-12-19 17:57:44 +00:00
2023-11-01 16:13:58 +01:00
2023-11-28 14:26:37 +01:00
2023-10-19 23:13:28 +02:00
2023-12-20 10:29:23 +01:00
2023-11-15 11:59:54 +03:00
2023-09-29 10:07:16 +02:00
2023-11-13 16:56:06 +01:00
2023-12-20 09:40:16 -05:00
2023-11-27 15:27:38 +00:00
2023-11-23 14:10:04 +00:00
2023-09-08 13:08:51 +03:00
2023-09-29 10:07:20 +02:00
2023-11-27 15:27:45 +00:00
2023-12-02 15:56:49 -05:00
2023-11-07 03:39:11 -05:00
2023-11-13 09:21:32 -08:00
2023-10-27 12:48:57 +01:00
2023-12-20 09:40:16 -05:00
2023-10-21 15:00:22 +03:00
2023-11-03 09:20:31 +01:00
2023-11-22 13:57:19 +10:00
2023-11-06 15:00:27 +00:00
2023-11-10 18:19:13 +01:00
2023-12-20 09:40:16 -05:00
2023-12-31 09:11:27 +01:00
2023-11-07 13:08:49 +01:00
2023-11-07 13:08:49 +01:00
2023-09-21 11:31:16 +03:00
2023-09-29 10:07:18 +02:00
2023-10-19 23:13:28 +02:00
2023-11-27 15:38:43 +00:00
2023-11-01 16:13:58 +01:00
2023-09-20 07:54:34 +03:00
2023-09-29 08:28:02 +02:00
2023-12-05 13:57:18 +09:00
2023-11-28 14:26:37 +01:00
2023-12-19 19:03:38 +01:00
2023-12-02 15:56:49 -05:00
2023-11-15 11:09:17 +03:00
2023-11-07 08:54:20 +00:00
2023-11-07 08:54:20 +00:00
2023-09-08 13:08:52 +03:00