The source for the Linux kernel used in Windows Subsystem for Linux 2 (WSL2)
Перейти к файлу
Sven Van Asbroeck 62039b6aef iio: adc: xilinx: fix potential use-after-free on remove
When cancel_delayed_work() returns, the delayed work may still
be running. This means that the core could potentially free
the private structure (struct xadc) while the delayed work
is still using it. This is a potential use-after-free.

Fix by calling cancel_delayed_work_sync(), which waits for
any residual work to finish before returning.

Signed-off-by: Sven Van Asbroeck <TheSven73@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2019-03-16 15:48:30 +00:00
Documentation for-5.1/block-20190302 2019-03-08 14:12:17 -08:00
LICENSES
arch io_uring-2019-03-06 2019-03-08 14:48:40 -08:00
block io_uring-2019-03-06 2019-03-08 14:48:40 -08:00
certs
crypto lib/lzo: separate lzo-rle from lzo 2019-03-07 18:32:03 -08:00
drivers iio: adc: xilinx: fix potential use-after-free on remove 2019-03-16 15:48:30 +00:00
fs io_uring-2019-03-06 2019-03-08 14:48:40 -08:00
include io_uring-2019-03-06 2019-03-08 14:48:40 -08:00
init io_uring-2019-03-06 2019-03-08 14:48:40 -08:00
ipc ipc/sem.c: replace kvmalloc/memset with kvzalloc and use struct_size 2019-03-07 18:32:02 -08:00
kernel io_uring-2019-03-06 2019-03-08 14:48:40 -08:00
lib Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching 2019-03-08 08:58:25 -08:00
mm
net io_uring-2019-03-06 2019-03-08 14:48:40 -08:00
samples Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching 2019-03-08 08:58:25 -08:00
scripts scripts/gdb: replace flags (MS_xyz -> SB_xyz) 2019-03-07 18:32:02 -08:00
security
sound
tools io_uring-2019-03-06 2019-03-08 14:48:40 -08:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS This is the bulk of GPIO changes for the v5.1 cycle: 2019-03-08 10:09:53 -08:00
Makefile
README

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.