diff options
| author | ZhangXiaoxu <[email protected]> | 2019-04-06 07:47:38 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2019-04-16 14:38:18 +0000 |
| commit | 6a3eb3360667170988f8a6477f6686242061488a (patch) | |
| tree | 6ed3efc4006d230c586e9b2e0fd5f9bdbb6e2166 /lib/netdev-notifier-error-inject.c | |
| parent | Merge tag 'libnvdimm-fixes-5.1-rc6' of git://git.kernel.org/pub/scm/linux/ker... (diff) | |
| download | kernel-6a3eb3360667170988f8a6477f6686242061488a.tar.gz kernel-6a3eb3360667170988f8a6477f6686242061488a.zip | |
cifs: Fix use-after-free in SMB2_write
There is a KASAN use-after-free:
BUG: KASAN: use-after-free in SMB2_write+0x1342/0x1580
Read of size 8 at addr ffff8880b6a8e450 by task ln/4196
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
