aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorAshutosh Dixit <[email protected]>2016-04-27 21:36:05 +0000
committerGreg Kroah-Hartman <[email protected]>2016-04-27 22:30:58 +0000
commit82dc4afd7e65455464f0fc2fe6976efde54fe451 (patch)
tree8d84c648ca1e8f0684ac16435dfa9f5c91c30747 /fs/btrfs/dev-replace.c
parentLinux 4.6-rc4 (diff)
downloadkernel-82dc4afd7e65455464f0fc2fe6976efde54fe451.tar.gz
kernel-82dc4afd7e65455464f0fc2fe6976efde54fe451.zip
misc: mic: Fix for double fetch security bug in VOP driver
The MIC VOP driver does two successive reads from user space to read a variable length data structure. Kernel memory corruption can result if the data structure changes between the two reads. This patch disallows the chance of this happening. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=116651 Reported by: Pengfei Wang <[email protected]> Reviewed-by: Sudeep Dutt <[email protected]> Signed-off-by: Ashutosh Dixit <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions