]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fuse: check size of FUSE_NOTIFY_INVAL_ENTRY message
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 24 Aug 2011 08:20:17 +0000 (10:20 +0200)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 17 May 2012 15:21:36 +0000 (11:21 -0400)
commit0b55eccde1145e8e2b31fe855cdba3987676beb8
treef2627f5a88a77a7f4eb8c7380394e3004a8076c1
parent1c0f1dabcdd6dd6d03e797e097b0bc061f419691
fuse: check size of FUSE_NOTIFY_INVAL_ENTRY message

commit c2183d1e9b3f313dd8ba2b1b0197c8d9fb86a7ae upstream.

FUSE_NOTIFY_INVAL_ENTRY didn't check the length of the write so the
message processing could overrun and result in a "kernel BUG at
fs/fuse/dev.c:629!"

Reported-by: Han-Wen Nienhuys <hanwenn@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
fs/fuse/dev.c