2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 14:43:58 +08:00
linux-next/drivers/s390/char
Alexander Egorenkov d76b14f397 s390/sclp: fix Secure-IPL facility detection
Prevent out-of-range access if the returned SCLP SCCB response is smaller
in size than the address of the Secure-IPL flag.

Fixes: c9896acc78 ("s390/ipl: Provide has_secure sysfs attribute")
Cc: stable@vger.kernel.org # 5.2+
Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2021-09-15 14:29:21 +02:00
..
con3215.c tty: drop put_tty_driver 2021-07-27 12:17:21 +02:00
con3270.c s390/con3270: use proper type for tasklet function 2021-09-07 13:38:42 +02:00
ctrlchar.c s390/ctrlchar: fix kernel doc comment 2021-09-07 13:38:42 +02:00
ctrlchar.h
defkeymap.c
defkeymap.map
diag_ftp.c
diag_ftp.h
fs3270.c *: convert stream-like files from nonseekable_open -> stream_open 2019-05-06 17:46:41 +03:00
hmcdrv_cache.c
hmcdrv_cache.h
hmcdrv_dev.c
hmcdrv_dev.h
hmcdrv_ftp.c s390/hmcdrv_ftp: fix kernel doc comment 2021-09-07 13:38:42 +02:00
hmcdrv_ftp.h
hmcdrv_mod.c
Kconfig s390/sclp: remove call home support 2019-06-19 17:54:27 +02:00
keyboard.c TTY/Serial driver patches for 4.19-rc1 2018-08-18 10:50:41 -07:00
keyboard.h
Makefile s390/sclp: Add support for SCLP AP adapter config/deconfig 2020-10-07 21:50:00 +02:00
monreader.c s390/monreader: Remove power management support 2021-06-18 16:41:20 +02:00
monwriter.c s390/monwriter: Remove power management support 2021-06-18 16:41:20 +02:00
raw3270.c s390: remove pm support from console drivers 2020-12-02 18:19:24 +01:00
raw3270.h s390: remove pm support from console drivers 2020-12-02 18:19:24 +01:00
sclp_ap.c s390/sclp: Add support for SCLP AP adapter config/deconfig 2020-10-07 21:50:00 +02:00
sclp_cmd.c s390/dump: introduce boot data 'oldmem_data' 2021-07-27 09:39:16 +02:00
sclp_con.c s390 updates for the 5.14 merge window 2021-07-04 12:17:38 -07:00
sclp_config.c s390/sclp: replace deprecated CPU-hotplug functions 2021-08-05 14:10:53 +02:00
sclp_cpi_sys.c
sclp_cpi_sys.h
sclp_ctl.c
sclp_diag.h
sclp_early_core.c s390/boot: move sclp early buffer from fixed address in asm to C 2021-07-27 09:39:15 +02:00
sclp_early.c s390/sclp: fix Secure-IPL facility detection 2021-09-15 14:29:21 +02:00
sclp_ftp.c s390/sclp: Remove sclp base power management support 2021-06-18 16:41:21 +02:00
sclp_ftp.h
sclp_ocf.c
sclp_pci.c s390: Replace zero-length array with flexible-array member 2020-02-27 16:02:21 +01:00
sclp_quiesce.c s390/sclp: Remove quiesce power management support 2021-06-18 16:41:20 +02:00
sclp_rw.c TTY / Serial patches for 5.14-rc1 2021-07-05 14:08:24 -07:00
sclp_rw.h TTY / Serial patches for 5.14-rc1 2021-07-05 14:08:24 -07:00
sclp_sd.c treewide: Use array_size() in vzalloc() 2018-06-12 16:19:22 -07:00
sclp_sdias.c s390/nvme: support firmware-assisted dump to NVMe disks 2020-10-02 14:40:48 +02:00
sclp_sdias.h
sclp_tty.c tty: drop put_tty_driver 2021-07-27 12:17:21 +02:00
sclp_tty.h
sclp_vt220.c tty: drop put_tty_driver 2021-07-27 12:17:21 +02:00
sclp.c s390/sclp: add __nonstring annotation 2021-09-08 14:23:31 +02:00
sclp.h s390/sclp: reserve memory occupied by sclp early buffer 2021-08-18 10:01:29 +02:00
tape_34xx.c s390/tape: remove unsupported PM functions 2020-12-02 18:19:24 +01:00
tape_3590.c s390/tape: Fix spelling mistake in function name tape_3590_erp_succeded 2021-01-27 13:00:47 +01:00
tape_3590.h
tape_char.c s390: Fix fall-through warnings for Clang 2021-07-13 14:43:09 -05:00
tape_class.c s390/tape: replace PTR_RET with PTR_ERR_OR_ZERO 2018-07-19 16:37:37 +02:00
tape_class.h
tape_core.c s390/tape: remove unsupported PM functions 2020-12-02 18:19:24 +01:00
tape_proc.c s390/drivers: fix proc/debugfs file permissions 2018-12-13 10:42:24 +01:00
tape_std.c
tape_std.h s390: remove orphaned function declarations 2020-09-30 12:09:54 +02:00
tape.h s390/tape: remove unsupported PM functions 2020-12-02 18:19:24 +01:00
tty3270.c tty: drop put_tty_driver 2021-07-27 12:17:21 +02:00
tty3270.h
vmcp.c s390/vmcp: correct early_param handling 2019-08-26 12:51:17 +02:00
vmlogrdr.c s390/vmlogrdr: Remove power management support 2021-06-18 16:41:21 +02:00
vmur.c whack-a-mole: don't open-code iminor/imajor 2021-02-23 10:25:29 -05:00
vmur.h
zcore.c s390/dump: introduce boot data 'oldmem_data' 2021-07-27 09:39:16 +02:00