WSL2-Linux-Kernel/drivers
Ira Weiny c83900393a tee: Remove vmalloc page support
The kernel pages used by shm_get_kernel_pages() are allocated using
GFP_KERNEL through the following call stack:

trusted_instantiate()
	trusted_payload_alloc() -> GFP_KERNEL
	<trusted key op>
		tee_shm_register_kernel_buf()
			register_shm_helper()
				shm_get_kernel_pages()

Where <trusted key op> is one of:

	trusted_key_unseal()
	trusted_key_get_random()
	trusted_key_seal()

Remove the vmalloc page support from shm_get_kernel_pages().  Replace
with a warn on once.

Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: "Fabio M. De Francesco" <fmdefrancesco@gmail.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
2023-02-13 14:16:39 +01:00
..
accel
accessibility
acpi libnvdimm fixes for 6.2 2023-02-11 10:58:36 -08:00
amba
android
ata ata: libata: Fix sata_down_spd_limit() when no link speed is reported 2023-02-02 20:26:45 +09:00
atm
auxdisplay
base
bcma
block block-6.2-2023-02-03 2023-02-03 11:35:42 -08:00
bluetooth
bus
cdrom
char
clk
clocksource
comedi
connector
counter
cpufreq This pull request fixes 2023-02-06 18:54:35 +01:00
cpuidle
crypto
cxl cxl/region: Fix passthrough-decoder detection 2023-02-07 11:04:30 -08:00
dax
dca
devfreq
dio
dma
dma-buf dma-buf: actually set signaling bit for private stub fences 2023-01-27 14:16:18 +01:00
edac
eisa
extcon
firewire
firmware Final EFI fix for v6.2 2023-02-12 11:13:29 -08:00
fpga
fsi
gnss
gpio gpio: ep93xx: remove unused variable 2023-01-27 14:05:38 +01:00
gpu Merge tag 'amd-drm-fixes-6.2-2023-02-09' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes 2023-02-10 09:49:13 +10:00
greybus
hid for-linus-2023020901 2023-02-09 09:09:13 -08:00
hsi
hte
hv HV: hv_balloon: fix memory leak with using debugfs_lookup() 2023-02-03 07:45:18 +01:00
hwmon
hwspinlock
hwtracing
i2c
i3c
idle
iio
infiniband RDMA/rtrs: Don't call kobject_del for srv_path->kobj 2023-02-07 11:21:32 +02:00
input Input updates for v6.2-rc5 2023-01-29 11:06:47 -08:00
interconnect
iommu
ipack
irqchip
isdn
leds
macintosh
mailbox
mcb
md hardening fixes for v6.2-rc6 2023-01-27 16:09:12 -08:00
media
memory
memstick
message
mfd
misc
mmc
most
mtd
mux
net net: mscc: ocelot: fix all IPv6 getting trapped to CPU when PTP timestamping is used 2023-02-09 10:52:44 +01:00
nfc
ntb
nubus
nvdimm nvdimm: Support sizeof(struct page) > MAX_STRUCT_PAGE_SIZE 2023-01-28 15:32:36 -08:00
nvme block-6.2-2023-02-10 2023-02-10 08:55:09 -08:00
nvmem nvmem: qcom-spmi-sdam: fix module autoloading 2023-01-28 14:39:31 +01:00
of Devicetree fixes for v6.2, part 2: 2023-02-07 14:17:12 -08:00
opp
parisc
parport
pci pci-v6.2-fixes-2 2023-02-10 14:18:48 -08:00
pcmcia
peci
perf
phy
pinctrl pinctrl: intel: Restore the pins that used to be in Direct IRQ mode 2023-02-07 10:13:51 +01:00
platform platform/x86: touchscreen_dmi: Add Chuwi Vi8 (CWI501) DMI match 2023-02-02 11:34:38 +01:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390
sbus
scsi SCSI fixes on 20230131 2023-01-31 11:39:08 -08:00
sh
siox
slimbus
soc
soundwire
spi spi: spidev: fix a recursive locking error 2023-01-27 16:38:05 +00:00
spmi
ssb
staging
target
tc
tee tee: Remove vmalloc page support 2023-02-13 14:16:39 +01:00
thermal
thunderbolt
tty vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF 2023-01-31 15:51:52 +01:00
ufs
uio
usb usb: core: add quirk for Alcor Link AK9563 smartcard reader 2023-02-09 13:23:51 +01:00
vdpa
vfio
vhost
video nvidiafb: detect the hardware support before removing console. 2023-02-07 08:42:29 +10:00
virt
virtio
vlynq
w1
watchdog watchdog: diag288_wdt: fix __diag288() inline assembly 2023-01-30 14:40:50 +01:00
xen
zorro
Kconfig
Makefile