diff options
| author | ZhangXiaoxu <[email protected]> | 2019-04-06 07:47:39 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2019-04-16 14:38:21 +0000 |
| commit | 088aaf17aa79300cab14dbee2569c58cfafd7d6e (patch) | |
| tree | 2df560323e5b037a268ada67ab3cc84fb7b35eb3 /lib/netdev-notifier-error-inject.c | |
| parent | cifs: Fix use-after-free in SMB2_write (diff) | |
| download | kernel-088aaf17aa79300cab14dbee2569c58cfafd7d6e.tar.gz kernel-088aaf17aa79300cab14dbee2569c58cfafd7d6e.zip | |
cifs: Fix use-after-free in SMB2_read
There is a KASAN use-after-free:
BUG: KASAN: use-after-free in SMB2_read+0x1136/0x1190
Read of size 8 at addr ffff8880b4e45e50 by task ln/1009
Should not release the 'req' because it will use in the trace.
Fixes: eccb4422cf97 ("smb3: Add ftrace tracepoints for improved SMB3 debugging")
Signed-off-by: ZhangXiaoxu <[email protected]>
Signed-off-by: Steve French <[email protected]>
CC: Stable <[email protected]> 4.18+
Reviewed-by: Pavel Shilovsky <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
