[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#586557: linux-2.6 - btrfs module consideres device names stable



Source: linux-2.6
Version: 2.6.32-1
Severity: important
Forwarded: https://bugzilla.kernel.org/show_bug.cgi?id=16259

btrfs uses a in-kernel uuid to device translation. This leads to a DoS
in case of changed device names, which can happen all the time.

| device fsid 6746742515f05f59-7702ee31ff5c53ac devid 1 transid 130 /dev/sde
| open /dev/sdd failed

| # file -s /dev/sde
| /dev/sde: BTRFS Filesystem sectorsize 4096, nodesize 4096, leafsize 4096)
| # file -s /dev/sdd
| /dev/sdd: x86 boot sector; partition 1: ID=0x83, starthead 1, startsector 63, 625137282 sectors, extended partition table (last)\011, code offset 0x0

Bastian

-- 
War is never imperative.
		-- McCoy, "Balance of Terror", stardate 1709.2



Reply to: