bk99.de entertain the web since 1997

Linux kernel 2.6.19.2 fixes storage bug

Summary

In January 2007 Linux kernel 2.6.19.2 fixed a critical bug that could, under certain circumstances, cause data not to be written to disk correctly. Ext3 was particularly affected, but other file systems were too; tracking down the bug took around four weeks. The version also closed security holes, for example in the Bluetooth stack, with around 50 patches in total.

Ideas

  • A bug in the kernel can silently damage data.
  • The search for a bug that was hard to reproduce took weeks.
  • Even minor versions can contain important security fixes.

Insights

  • Data corruption is harder to detect and more dangerous than a crash.
  • Stable point releases are not a sideshow but mandatory updates.

Facts

  • The bug occurred mainly with Ext3.
  • 2.6.19.2 contained around 50 patches.

References

Critique

  • The report does not explain under which conditions data was lost and how those affected could check for it.

Recommendations

  • Use file systems with checksums such as Btrfs or ZFS if silent data corruption is a risk.
  • Test restores from backups regularly in order to notice damaged data in time.

Read the original article

Search the Web Archive