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

Bug#550010: linux-image-2.6.26-1-amd64: default kernel CONFIG_LBD=n, should get with the times and change to 'y'

On Tue, 2009-10-06 at 16:25 -0700, Marc Tamsky wrote:
> Package: linux-image-2.6.26-1-amd64
> Version: 2.6.26-13

You should install security updates.

> Justification: causes serious data loss
> Severity: critical
> *** Please type your report below this line ***
> Attaching a 4TB hfsplus formatted volume to this host caused it to silently 
> identify it as a 2TB device (with a [mac] labelled partition table,
> that contained a 3.6TB partition specification (sdd3))
> Attempts to fill the 4TB device with more than 2TB of data caused serious 
> data loss, possibly corrupting the hfsplus filesystem.
> Lack of a default kernel setting of 'CONFIG_LBD=y' is the proposed root 
> cause.

All official Debian kernel packages are configured with CONFIG_LBD=y.
This actually appears to be a bug in Linux's HFS+ implementation, which
calculates sector numbers using 32-bit numbers.

I don't think we can reasonably fix this in a stable update, but we
should be able to prevent mounting HFS+ partitions larger than 2TB, and
so avoid data loss.


Ben Hutchings
To err is human; to really foul things up requires a computer.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: