Re: [PATCH] Btrfs:__add_inode_ref: out of bounds memory read when looking for extended ref.

From: Chris Mason
Date: Tue Mar 03 2015 - 10:24:17 EST




On Tue, Mar 3, 2015 at 9:38 AM, David Sterba <dsterba@xxxxxxx> wrote:
Adding linux-btrfs to CC

On Thu, Feb 26, 2015 at 05:00:37PM +0100, Quentin Casasnovas wrote:
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@xxxxxxxxxx>

Good catch.

Thanks Quentin, can you please bounce the patch to linux-btrfs so it'll be in patchwork?

-chris



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/