android_kernel_oneplus_msm8998/drivers
Manoj Prabhu B 96eca37071 diag: Check command size against the minimum before parsing
Add check for minimum length before typecasting to build mask
structure to prevent out of bound access while processing
get msg mask command.

CRs-Fixed: 2431047
Change-Id: I5b8341f278b0b46359800e43c604c5671261c728
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2019-05-30 02:04:29 -07:00
..
accessibility
acpi ACPI / PM: save NVS memory for ASUS 1025C laptop 2018-08-22 07:48:37 +02:00
amba ARM: amba: Don't read past the end of sysfs "driver_override" buffer 2018-05-02 07:53:42 -07:00
android Merge android-4.4.142 (8ec9fd8) into msm-4.4 2018-08-03 16:59:20 +05:30
ata libata: Fix command retry decision 2018-08-06 16:24:36 +02:00
atm atm: zatm: Fix potential Spectre v1 2018-07-22 14:25:52 +02:00
auxdisplay
base drivers: dma-removed: fix signedness issue 2018-09-13 22:08:39 -07:00
bcma
bif
block Merge android-4.4.153 (5e24b4e) into msm-4.4 2018-08-28 17:28:39 +05:30
bluetooth Merge android-4.4.146 (13962260) into msm-4.4 2018-08-07 15:36:56 +05:30
bus
cdrom cdrom: do not call check_disk_change() inside cdrom_open() 2018-05-30 07:49:13 +02:00
char diag: Check command size against the minimum before parsing 2019-05-30 02:04:29 -07:00
clk Merge "clk: qcom: mdss: avoid release of the dynamic fps PLL code memory" 2018-10-11 21:19:41 -07:00
clocksource Merge android-4.4.135 (c9d74f2) into msm-4.4 2018-06-27 14:42:55 +05:30
connector
cpufreq Merge android-4.4.142 (8ec9fd8) into msm-4.4 2018-08-03 16:59:20 +05:30
cpuidle Merge android-4.4.139 (7ba5557) into msm-4.4 2018-07-03 12:24:56 -07:00
crypto msm: ice: check for crypto engine availability 2019-03-28 00:45:19 -07:00
dca
devfreq Merge "devfreq: suppress platform driver bind / unbind feature" 2018-06-19 08:12:57 -07:00
dio
dma Merge android-4.4.153 (5e24b4e) into msm-4.4 2018-08-28 17:28:39 +05:30
dma-buf
edac
eisa
esoc
extcon
firewire firewire-ohci: work around oversized DMA reads on JMicron controllers 2018-05-30 07:48:52 +02:00
firmware Merge android-4.4.135 (c9d74f2) into msm-4.4 2018-06-27 14:42:55 +05:30
fmc
fpga
gpio soc: qcom: Remove smp2p test support 2018-11-14 02:09:25 -08:00
gpu msm: kgsl: Fix race condition while making page as dirty 2019-05-15 22:10:58 -07:00
hid Merge android-4.4.153 (5e24b4e) into msm-4.4 2018-08-28 17:28:39 +05:30
hsi
hv
hwmon platform: msm: resolve NULL pointer dereference issue 2018-08-16 11:45:37 +08:00
hwspinlock
hwtracing coresight: fix handling of ETM management register access via sysfs 2018-10-29 19:36:46 -07:00
i2c i2c-msm-v2: Handle Null pointer de-reference 2018-10-10 01:05:11 -07:00
ide cdrom: do not call check_disk_change() inside cdrom_open() 2018-05-30 07:49:13 +02:00
idle
iio Merge android-4.4.139 (7ba5557) into msm-4.4 2018-07-03 12:24:56 -07:00
infiniband IB/ocrdma: fix out of bounds access to local buffer 2018-08-15 17:42:06 +02:00
input Merge android-4.4.146 (13962260) into msm-4.4 2018-08-07 15:36:56 +05:30
iommu iommu: iommu-debug: don't pass null character to copy_to_user 2019-02-17 21:50:33 -08:00
ipack
irqchip Merge android-4.4.135 (c9d74f2) into msm-4.4 2018-06-27 14:42:55 +05:30
isdn isdn: Disable IIOCDBGVAR 2018-08-22 07:48:38 +02:00
leds Merge "leds: qpnp-flash-v2: Modify current code calculation" 2018-05-02 04:54:41 -07:00
lguest
lightnvm
macintosh
mailbox
mcb
md Merge android-4.4.153 (5e24b4e) into msm-4.4 2018-08-28 17:28:39 +05:30
media msm: ais : Lock Implementation for avoid race condition 2019-05-22 02:29:29 -07:00
memory memory: tegra: Apply interrupts mask per SoC 2018-08-06 16:24:38 +02:00
memstick
message scsi: mptfusion: Add bounds check in mptctl_hp_targetinfo() 2018-05-30 07:48:58 +02:00
mfd Merge android-4.4.146 (13962260) into msm-4.4 2018-08-07 15:36:56 +05:30
misc qdsp6v2: q6usm: Check size of payload before access 2019-04-04 23:47:19 -07:00
mmc mmc: core: Use mmc_get_cd_gpio to get cd gpio status in resume path 2018-07-26 18:22:44 +05:30
mtd Merge android-4.4.146 (13962260) into msm-4.4 2018-08-07 15:36:56 +05:30
net msm: ipa3: send usb-connect from rndis-ipa 2018-12-26 07:26:36 -08:00
nfc
ntb ntb_transport: Fix bug with max_mw_size parameter 2018-05-30 07:48:55 +02:00
nubus
nvdimm linvdimm, pmem: Preserve read-only setting for pmem devices 2018-07-03 11:21:31 +02:00
nvme nvme-pci: initialize queue memory before interrupts 2018-07-11 16:03:47 +02:00
nvmem
of Merge android-4.4.139 (7ba5557) into msm-4.4 2018-07-03 12:24:56 -07:00
oprofile
parisc parisc/pci: Switch LBA PCI bus from Hard Fail to Soft Fail mode 2018-05-30 07:49:10 +02:00
parport
pci Merge android-4.4.153 (5e24b4e) into msm-4.4 2018-08-28 17:28:39 +05:30
pcmcia
perf
phy
pinctrl Merge android-4.4.146 (13962260) into msm-4.4 2018-08-07 15:36:56 +05:30
platform msm: sps: Update debug message format specifier 2019-05-09 07:44:19 -07:00
pnp
power power: smb2: expose CHARGE_FULL/CYCLE_COUNT properties 2018-07-16 16:27:13 +05:30
powercap
pps
ps3
ptp ptp: fix missing break in switch 2018-07-25 10:18:17 +02:00
pwm
rapidio
ras
regulator ARM: dts: msm: Add CPR support for SDM630 speed-bin 3 2018-09-11 07:58:09 -07:00
remoteproc
reset
rpmsg
rtc rtc: qpnp-rtc: Read ALARM_EN and update to alarm enabled status 2018-09-12 11:28:56 +05:30
s390 scsi: zfcp: fix missing REC trigger trace on enqueue without ERP thread 2018-07-03 11:21:31 +02:00
sbus
scsi Merge android-4.4.153 (5e24b4e) into msm-4.4 2018-08-28 17:28:39 +05:30
sensors
sfi
sh
slimbus
sn
soc icnss: Add check on msa region 2019-05-14 23:14:39 -07:00
soundwire soc: swr-wcd: Apply div2 setting on slave side before bank switch 2018-12-05 23:30:07 -08:00
spi Merge android-4.4.139 (7ba5557) into msm-4.4 2018-07-03 12:24:56 -07:00
spmi spmi: pmic-arb: support updating interrupt type flags 2018-05-11 10:08:19 +08:00
ssb
staging ion: fix system secure force alloc 2019-02-12 21:47:51 -08:00
switch
target
tc
tee
thermal Merge android-4.4.146 (13962260) into msm-4.4 2018-08-07 15:36:56 +05:30
thunderbolt thunderbolt: Resume control channel after hibernation image is created 2018-04-24 09:32:07 +02:00
tty Merge android-4.4.153 (5e24b4e) into msm-4.4 2018-08-28 17:28:39 +05:30
uio uio: msm_sharedmem: add guard page around shared memory 2018-08-16 08:00:12 -07:00
usb dwc3: gadget: Take copy of dwc->gadget_driver before releasing lock 2019-01-30 00:30:51 -08:00
uwb
vfio vfio/pci: Virtualize Maximum Read Request Size 2018-04-24 09:32:09 +02:00
vhost vhost_net: validate sock before trying to put its fd 2018-07-22 14:25:53 +02:00
video msm: mdss: assign block_id for INTF_3 2019-05-24 00:41:02 -07:00
virt
virtio Merge android-4.4.146 (13962260) into msm-4.4 2018-08-07 15:36:56 +05:30
vlynq
vme
w1 This is the 4.4.139 stable release 2018-07-03 18:23:34 +02:00
watchdog watchdog: f71808e_wdt: Fix magic close handling 2018-05-30 07:49:03 +02:00
xen xen: Remove unnecessary BUG_ON from __unbind_from_irq() 2018-07-03 11:21:34 +02:00
zorro zorro: Set up z->dev.dma_mask for the DMA API 2018-05-30 07:49:11 +02:00
Kconfig
Makefile