diff options
| author | Pavel Begunkov <[email protected]> | 2019-11-24 08:58:24 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2019-11-26 02:56:11 +0000 |
| commit | 311ae9e159d81a1ec1cf645daf40b39ae5a0bd84 (patch) | |
| tree | 08f3dbc913f0459274073109bd6c47d83cdac82b /drivers/firmware/psci/psci.c | |
| parent | io_uring: add support for IORING_OP_CONNECT (diff) | |
| download | kernel-311ae9e159d81a1ec1cf645daf40b39ae5a0bd84.tar.gz kernel-311ae9e159d81a1ec1cf645daf40b39ae5a0bd84.zip | |
io_uring: fix dead-hung for non-iter fixed rw
Read/write requests to devices without implemented read/write_iter
using fixed buffers can cause general protection fault, which totally
hangs a machine.
io_import_fixed() initialises iov_iter with bvec, but loop_rw_iter()
accesses it as iovec, dereferencing random address.
kmap() page by page in this case
Cc: [email protected]
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/firmware/psci/psci.c')
0 files changed, 0 insertions, 0 deletions
