]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <sasha.levin@oracle.com>
Sat, 14 Mar 2015 19:37:22 +0000 (15:37 -0400)
commit218c886394e239706714caec1fb5d7c47fcb54c8
tree9cfe48c09830fe546f793bf7834ed6edfa86184d
parent0ab9252919f9a72aa381cac67ac77d5c470a7215
Btrfs:__add_inode_ref: out of bounds memory read when looking for extended ref.

commit dd9ef135e3542ffc621c4eb7f0091870ec7a1504 upstream.

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>
Signed-off-by: Chris Mason <clm@fb.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
fs/btrfs/tree-log.c