[PATCH 4.14 0/8] uio backport fixes for 4.14

From: Rantala, Tommi T. (Nokia - FI/Espoo)
Date: Wed Feb 13 2019 - 11:29:18 EST


Backport uio fixes to 4.14, to fix use-after-free memory errors.

Changed __poll_t to unsigned int as the former not found in 4.14, and
resolved some patch context conflicts.

Hailong Liu (1):
uio: fix wrong return value from uio_mmap()

Hamish Martin (2):
uio: Reduce return paths from uio_write()
uio: Prevent device destruction while fds are open

Xiubo Li (5):
uio: use request_threaded_irq instead
uio: change to use the mutex lock instead of the spin lock
uio: fix crash after the device is unregistered
uio: fix possible circular locking dependency
Revert "uio: use request_threaded_irq instead"

drivers/uio/uio.c | 206 ++++++++++++++++++++++++++++---------
include/linux/uio_driver.h | 4 +-
2 files changed, 163 insertions(+), 47 deletions(-)

--
2.20.1