]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Btrfs:__add_inode_ref: out of bounds memory read when looking for extended ref.
authorQuentin Casasnovas <quentin.casasnovas@oracle.com>
Tue, 3 Mar 2015 15:31:38 +0000 (16:31 +0100)
committerChris Mason <clm@fb.com>
Fri, 6 Mar 2015 01:28:33 +0000 (17:28 -0800)
commitdd9ef135e3542ffc621c4eb7f0091870ec7a1504
tree0ea14d6f3c7d20e5faa3845f54e1ffc28bc7a9c4
parent3a8b36f378060d20062a0918e99fae39ff077bf0
Btrfs:__add_inode_ref: out of bounds memory read when looking for extended ref.

Improper arithmetics when calculting the address of the extended ref could
lead to an out of bounds memory read and kernel panic.

Signed-off-by: Quentin Casasnovas <quentin.casasnovas@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
cc: stable@vger.kernel.org # v3.7+
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/tree-log.c