WSL2-Linux-Kernel/drivers/staging
Tetsuo Handa 8f9e86ee79 staging: android: ion: Bail out upon SIGKILL when allocating memory.
syzbot found that a thread can stall for minutes inside
ion_system_heap_allocate() after that thread was killed by SIGKILL [1].
Let's check for SIGKILL before doing memory allocation.

[1] https://syzkaller.appspot.com/bug?id=a0e3436829698d5824231251fad9d8e998f94f5e

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: stable <stable@vger.kernel.org>
Reported-by: syzbot <syzbot+8ab2d0f39fb79fe6ca40@syzkaller.appspotmail.com>
Acked-by: Laura Abbott <labbott@redhat.com>
Acked-by: Sumit Semwal <sumit.semwal@linaro.org>
Link: https://lore.kernel.org/r/d088f188-5f32-d8fc-b9a0-0b404f7501cc@I-love.SAKURA.ne.jp
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-07-25 13:11:51 +02:00
..
android staging: android: ion: Bail out upon SIGKILL when allocating memory. 2019-07-25 13:11:51 +02:00
axis-fifo
board
clocking-wizard
comedi staging: comedi: mite: Replace function mite_request_channel_in_range() 2019-07-03 18:28:28 +02:00
emxx_udc
erofs staging: erofs: fix LZ4 limited bounced page mis-reuse 2019-07-03 18:20:21 +02:00
fbtft Staging: fbtft: Fix GPIO handling 2019-07-25 10:09:29 +02:00
fieldbus Staging / IIO driver update for 5.3-rc1 2019-07-11 15:36:02 -07:00
fsl-dpaa2
fwserial
gasket staging: gasket: apex: fix copy-paste typo 2019-07-25 09:18:21 +02:00
gdm724x
goldfish
greybus
gs_fpgaboot
iio Second set of IIO device support, features, cleanups and minor fixes for 5.3. 2019-07-01 10:58:13 +02:00
isdn
kpc2000 staging: kpc2000: simplify comparison to NULL in fileops.c 2019-07-04 10:40:44 +02:00
ks7010
media drm main pull request for v5.3-rc1 (sans mm changes) 2019-07-15 19:04:27 -07:00
most Driver Core and debugfs changes for 5.3-rc1 2019-07-12 12:24:03 -07:00
mt7621-dma
mt7621-dts staging: mt7621-dts: add support for second network interface 2019-07-03 18:28:29 +02:00
mt7621-pci
mt7621-pci-phy
mt7621-pinctrl
netlogic
nvec
octeon
octeon-usb
olpc_dcon
pi433
ralink-gdma
rtl8188eu
rtl8192e staging: rtl8192e: remove redundant initialization of rtstatus 2019-07-03 18:34:09 +02:00
rtl8192u staging: rtl8192u: Replace function rtl8192_rx_enable() 2019-07-03 18:32:09 +02:00
rtl8712 staging: rtl8712: Replace function r8712_dequeue_cmd() 2019-07-01 10:44:06 +02:00
rtl8723bs Merge branch 'akpm' (patches from Andrew) 2019-07-12 11:40:28 -07:00
rts5208
sm750fb
speakup
unisys staging: unisys: visornic: Update the description of 'poll_for_irq()' 2019-07-25 09:42:39 +02:00
vc04_services Staging / IIO driver update for 5.3-rc1 2019-07-11 15:36:02 -07:00
vme
vt6655
vt6656
wilc1000 staging: wilc1000: flush the workqueue before deinit the host 2019-07-25 09:38:15 +02:00
wlan-ng
Kconfig
Makefile