android_kernel_lge_bullhead/drivers/staging
Suren Baghdasaryan 3c2f8a8d47 staging: android: ashmem: Disallow ashmem memory from being remapped
When ashmem file is being mmapped the resulting vma->vm_file points to the
backing shmem file with the generic fops that do not check ashmem
permissions like fops of ashmem do. Fix that by disallowing mapping
operation for backing shmem file.

Bug: 142938932
Bug: 142903466
Reported-by: Jann Horn <jannh@google.com>
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I718dfca02c83845f8a41d88506871b0aa21326d7
2020-07-11 12:21:47 +02:00
..
android staging: android: ashmem: Disallow ashmem memory from being remapped 2020-07-11 12:21:47 +02:00
asus_oled
bcm
ced1401
comedi staging: comedi: fix clean-up of comedi_class in comedi_init() 2017-11-01 22:12:43 +01:00
cptm1217
crystalhd
csr
cxt1e1
dgrp
dwc2
echo
et131x
frontier
ft1000
fwserial
gdm72xx
gobi
goldfish
iio micro-optimization: Use DSTRLEN to remove incorrect strlen uses 2019-08-26 13:31:43 +02:00
imx-drm
keucr
line6
media
nanohub nanohub: fix out of bounds write in nanohub_spi_read 2017-03-01 15:40:37 -08:00
netlogic
nvec
octeon
olpc_dcon
ozwpan ozwpan: unchecked signed subtraction leads to DoS 2015-06-22 16:55:54 -07:00
panel staging: panel: fix lcd type 2015-05-13 05:15:42 -07:00
phison
qcacld-2.0 Android 8.1.0 Release 0.117 (OPM7.181105.004,bullhead) 2018-11-08 21:53:50 -07:00
quickstart
rtl8187se staging: rtl8712, rtl8712: avoid lots of build warnings 2015-06-05 23:19:53 -07:00
rtl8192e staging, rtl8192e, LLVMLinux: Remove unused inline prototype 2015-06-05 23:19:53 -07:00
rtl8192u staging: rtl8712, rtl8712: avoid lots of build warnings 2015-06-05 23:19:53 -07:00
rtl8712 staging: rtl8712: Add device ID for Sitecom WLA2100 2015-12-09 13:40:09 -05:00
rts5139
sb105x
sbe-2t3e3
sep
serqt_usb2
silicom
slicoss
sm7xxfb
speakup staging/speakup: Use tty_ldisc_ref() for paste kworker 2016-02-25 11:57:46 -08:00
ste_rmi4
ti-soc-thermal
tidspbridge micro-optimization: Use DSTRLEN to remove incorrect strlen uses 2019-08-26 13:31:43 +02:00
usbip USB: usbip: fix potential out-of-bounds write 2016-06-07 10:42:51 +02:00
vme
vt6655 vt6655: RFbSetPower fix missing rate RATE_12M 2015-04-13 14:02:12 +02:00
vt6656 Staging: vt6655-6: potential NULL dereference in hostap_disable_hostapd() 2017-06-08 00:47:09 +02:00
winbond
wlags49_h2 staging: wlags49_h2: fix extern inline functions 2015-06-05 23:19:53 -07:00
wlags49_h25
wlan-ng
xgifb
zcache
zsmalloc Rebase zram and zsmalloc from 3.15. 2015-09-13 12:15:49 -07:00
Kconfig nanohub: add nanohub kernel driver 2016-02-05 12:51:01 -08:00
Makefile nanohub: add nanohub kernel driver 2016-02-05 12:51:01 -08:00
staging.c