android_kernel_oneplus_msm8998/drivers/char/diag
Hardik Arya c7ba613752 diag: Prevent out-of-bound access while processing dci transaction
Proper buffer length check is missing for dci userspace data
buffer before processing the dci transaction. The patch adds
proper check for the same.

Change-Id: I68c0e8c41d4e05493adecf8a1fcacea708dfafa2
Signed-off-by: Hardik Arya <harya@codeaurora.org>
2019-08-30 09:24:36 +02:00
..
diag_dci.c diag: Prevent out-of-bound access while processing dci transaction 2019-08-30 09:24:36 +02:00
diag_dci.h diag: Prevent out-of-bound access while processing dci transaction 2019-08-30 09:24:36 +02:00
diag_debugfs.c diag: Featurize IPC logging 2018-07-19 13:38:15 +05:30
diag_debugfs.h
diag_ipc_logging.h diag: Featurize IPC logging 2018-07-19 13:38:15 +05:30
diag_masks.c diag: Prevent out-of-bound access while processing userspace data 2019-06-27 10:34:44 +05:30
diag_masks.h diag: Prevent out of bound access while initializing msg mask 2018-08-27 14:58:54 +05:30
diag_memorydevice.c Merge "diag: Protect md_info structure while reallocation" 2018-08-07 15:24:10 -07:00
diag_memorydevice.h diag: Prevent accessing uninitialized diag_md_info member 2018-06-08 12:41:15 +05:30
diag_mux.c diag: Proper update of logging mode 2018-03-07 12:21:21 +05:30
diag_mux.h diag: Add support for multi connection logging 2016-06-24 15:07:20 -07:00
diag_usb.c Merge "diag: Add protection while accessing usb_info's buffer table" 2019-03-12 00:10:55 -07:00
diag_usb.h
diagchar.h diag: Prevent out of bound access while initializing msg mask 2018-08-27 14:58:54 +05:30
diagchar_core.c diag: Prevent out-of-bound access while processing userspace data 2019-06-27 10:34:44 +05:30
diagchar_hdlc.c
diagchar_hdlc.h
diagfwd.c Merge "diag: Check buffer size against command structure size" 2019-05-10 01:53:18 -07:00
diagfwd.h diag: Fix possible use-after-free issue for mdlog session info 2018-02-02 14:39:22 +05:30
diagfwd_bridge.c diag: Only include MHI headers if it is enabled 2018-09-04 18:35:00 -07:00
diagfwd_bridge.h diag: Enable diagfwd via USB even when MHI is available 2018-07-16 11:18:18 -07:00
diagfwd_cntl.c diag: Update msg mask's ranges properly 2018-08-28 16:55:36 +05:30
diagfwd_cntl.h diag: Add PD buffering mode configuration support 2017-05-10 11:36:21 +05:30
diagfwd_glink.c diag: Free the read workqueue structure to avoid memory leak 2017-07-27 15:27:23 +05:30
diagfwd_glink.h diag: Remove BOM in file 2017-06-12 11:14:20 +05:30
diagfwd_hsic.c diag: Fix HSIC read complete work function 2018-08-03 19:15:12 -07:00
diagfwd_hsic.h diag: Read the HSIC data in a work queue 2018-07-26 15:46:16 -07:00
diagfwd_mhi.c diag: mhi: Fix error handling for DCI channel failure 2017-07-20 18:13:31 -07:00
diagfwd_mhi.h diag: Call diagmem_exit only if the mempool is initialized 2016-11-14 10:47:51 -08:00
diagfwd_peripheral.c Merge "diag: Protect md_info structure while reallocation" 2018-08-07 15:24:10 -07:00
diagfwd_peripheral.h diag: Flush mdlog table entries while reallocation of data buffer 2017-10-09 13:18:13 +05:30
diagfwd_smd.c diag: Add support for CDSP 2016-12-08 10:13:17 +05:30
diagfwd_smd.h
diagfwd_smux.c
diagfwd_smux.h
diagfwd_socket.c diag: Synchronize threads to fix possible deadlock 2017-01-20 00:57:02 -08:00
diagfwd_socket.h diag: Fix error response during SSR 2016-12-29 12:51:16 +05:30
diagmem.c diag: Fix possible null pointer dereference 2016-03-25 16:02:27 -07:00
diagmem.h
Kconfig diag: Enable Diag over MHI 2016-03-23 21:23:49 -07:00
Makefile diag: Disable the code for diag_smux 2018-07-16 11:16:57 -07:00