aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorShuah Khan <[email protected]>2017-12-07 21:16:47 +0000
committerGreg Kroah-Hartman <[email protected]>2017-12-08 16:32:23 +0000
commit635f545a7e8be7596b9b2b6a43cab6bbd5a88e43 (patch)
tree08d35090b84df8f86f978c913401112adc46a8db /fs/jbd2/commit.c
parenttools/usbip: fixes potential (minor) "buffer overflow" (detected on recent gc... (diff)
downloadkernel-635f545a7e8be7596b9b2b6a43cab6bbd5a88e43.tar.gz
kernel-635f545a7e8be7596b9b2b6a43cab6bbd5a88e43.zip
usbip: fix stub_rx: get_pipe() to validate endpoint number
get_pipe() routine doesn't validate the input endpoint number and uses to reference ep_in and ep_out arrays. Invalid endpoint number can trigger BUG(). Range check the epnum and returning error instead of calling BUG(). Change caller stub_recv_cmd_submit() to handle the get_pipe() error return. Reported-by: Secunia Research <[email protected]> Cc: stable <[email protected]> Signed-off-by: Shuah Khan <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions