summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorQiujun Huang <hqjagain@gmail.com>2020-03-26 16:18:50 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-02 17:34:35 +0300
commita146689b6121d28830e613a1c93b8983f8848057 (patch)
treec1fd17848519f8f52c9504df65eb99beeb4224a7 /fs
parent9775295b0fae1500ea0fa7f1fc74fdd4e1c5895b (diff)
downloadlinux-a146689b6121d28830e613a1c93b8983f8848057.tar.xz
staging: wlan-ng: fix use-after-free Read in hfa384x_usbin_callback
commit 1165dd73e811a07d947aee218510571f516081f6 upstream. We can't handle the case length > WLAN_DATA_MAXLEN. Because the size of rxfrm->data is WLAN_DATA_MAXLEN(2312), and we can't read more than that. Thanks-to: Hillf Danton <hdanton@sina.com> Reported-and-tested-by: syzbot+7d42d68643a35f71ac8a@syzkaller.appspotmail.com Signed-off-by: Qiujun Huang <hqjagain@gmail.com> Cc: stable <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20200326131850.17711-1-hqjagain@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions