Bug Fix Advisory e2fsprogs bug fix and enhancement update

Advisory: RHBA-2009:0136-3
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2009-01-20
Last updated on: 2009-01-20
Affected Products: RHEL Desktop Workstation (v. 5 client)
Red Hat Enterprise Linux (v. 5 server)
Red Hat Enterprise Linux Desktop (v. 5 client)
OVAL: N/A

Details

Updated e2fsprogs packages that fix various bugs and add an enhancement are
now available.


The e2fsprogs package contains a number of utilities for creating,
checking, modifying, and correcting any inconsistencies in second extended
(ext2) file systems. E2fsprogs contains e2fsck (used to repair filesystem
inconsistencies after an unclean shutdown), mke2fs (used to initialize a
partition to contain an empty ext2 filesystem), tune2fs (used to modify
filesystem parameters), and most of the other core ext2fs filesystem
utilities.

This updated version of e2fsprogs addresses the following issues:

* an aliasing violation (bb->list, of type __u32*, was accessed via an
lvalue of type void) caused a segmentation fault when "dumpe2fs -f -h" was
run. Pointer assignments now use "memcpy" to avoid problems with the strict
type-aliasing rules and, consequently, "dumpe2fs -f -h" now runs without
error.

* e2fsprogs did not include support for Linux Unified Key Setup (LUKS)
Universally Unique Identifiers (UUIDs). Encrypted file systems could be
created but not subsequently mounted. This update adds LUKS UUID support to
the libblkid library, allowing encrypted file systems to be both created
and mounted.

* if a block's first four bytes consisted of the JFS_MAGIC_NUMBER
(0xc03b3998), these bytes are replaced with zeros when the block was
written into the file system's journal. If the file system was subsequently
recovered, a typo, associated with the Linux Journaling Block Device (JBD),
could result in data corruption on recovery. The Linux kernel typo has been
corrected but the fix was not carried over to e2fsprogs, where the
equivalent problem could present during an e2fsck log replay. It has now
been carried over and data corruption will not occur in the circumstances
described above.

Note: the data corruption potential was always low. It is unlikely ext4
metadata blocks will ever contain the JFS_MAGIC_NUMBER in their first four
bytes and the "data=journaled" mode is rarely used.

This update also adds the following enhancement:

* as part of the ext4 Technology Preview, the libblkid library (which
identifies block devices and is used as a mount helper) has been extended
to recognize ext4 and ext4dev file systems.

All users should upgrade to these updated packages, which resolve these
issues and adds this feature.


Solution

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/FAQ_58_10188

Updated packages

RHEL Desktop Workstation (v. 5 client)

SRPMS:
e2fsprogs-1.39-20.el5.src.rpm     f2a29884eb350fd8d2dd9bd8b3574084
 
IA-32:
e2fsprogs-devel-1.39-20.el5.i386.rpm
File outdated by:  RHBA-2009:1291
    ba2d334e9ed1ba14014233bf62660c02
 
x86_64:
e2fsprogs-devel-1.39-20.el5.i386.rpm
File outdated by:  RHBA-2009:1291
    ba2d334e9ed1ba14014233bf62660c02
e2fsprogs-devel-1.39-20.el5.x86_64.rpm
File outdated by:  RHBA-2009:1291
    7e2a2980dd3e8bfd7a8b7e5ea3e42e4a
 
Red Hat Enterprise Linux (v. 5 server)

SRPMS:
e2fsprogs-1.39-20.el5.src.rpm     f2a29884eb350fd8d2dd9bd8b3574084
 
IA-32:
e2fsprogs-1.39-20.el5.i386.rpm
File outdated by:  RHBA-2009:1291
    4f4c402d9ffdece66f04403151c8af13
e2fsprogs-devel-1.39-20.el5.i386.rpm
File outdated by:  RHBA-2009:1291
    ba2d334e9ed1ba14014233bf62660c02
e2fsprogs-libs-1.39-20.el5.i386.rpm
File outdated by:  RHBA-2009:1291
    75492e0d247df5cdd704037af10629a9
uuidd-1.39-20.el5.i386.rpm
File outdated by:  RHBA-2009:1291
    c2e91be624cc9c1fc9b5ae2affe6dc03
 
IA-64:
e2fsprogs-1.39-20.el5.ia64.rpm
File outdated by:  RHBA-2009:1291
    68b524a780ca8017ffa6b8e1df9f358e
e2fsprogs-devel-1.39-20.el5.ia64.rpm
File outdated by:  RHBA-2009:1291
    758e35a45937245550b90c3cb8b30a9b
e2fsprogs-libs-1.39-20.el5.i386.rpm
File outdated by:  RHBA-2009:1291
    75492e0d247df5cdd704037af10629a9
e2fsprogs-libs-1.39-20.el5.ia64.rpm
File outdated by:  RHBA-2009:1291
    ad5e0b44d0cf09c0f78e9f87c193fcc0
uuidd-1.39-20.el5.ia64.rpm
File outdated by:  RHBA-2009:1291
    bbb129c1d6649255f1025971293011af
 
PPC:
e2fsprogs-1.39-20.el5.ppc.rpm
File outdated by:  RHBA-2009:1291
    1f138050238dcb48841ef57326bdb192
e2fsprogs-devel-1.39-20.el5.ppc.rpm
File outdated by:  RHBA-2009:1291
    224486e4bc079c9116751069fc2a9420
e2fsprogs-devel-1.39-20.el5.ppc64.rpm
File outdated by:  RHBA-2009:1291
    628095435ae4b12fdf77d96332a62fba
e2fsprogs-libs-1.39-20.el5.ppc.rpm
File outdated by:  RHBA-2009:1291
    033d7b00f3205f0603920f1d03d3eed4
e2fsprogs-libs-1.39-20.el5.ppc64.rpm
File outdated by:  RHBA-2009:1291
    948fb4cf4a23d3b7135bcb6c22e3b541
uuidd-1.39-20.el5.ppc.rpm
File outdated by:  RHBA-2009:1291
    b3d03583f000dc32b7a6713d82a06f83
 
s390x:
e2fsprogs-1.39-20.el5.s390x.rpm
File outdated by:  RHBA-2009:1291
    8a166716d856d6c36a572dbb30c6ccc0
e2fsprogs-devel-1.39-20.el5.s390.rpm
File outdated by:  RHBA-2009:1291
    4b67baf8191158b53c73b276a7f43df5
e2fsprogs-devel-1.39-20.el5.s390x.rpm
File outdated by:  RHBA-2009:1291
    ddde318be67a3568927512e9376f4547
e2fsprogs-libs-1.39-20.el5.s390.rpm
File outdated by:  RHBA-2009:1291
    8a369ff4c56946ea205bdee86a3ee6b6
e2fsprogs-libs-1.39-20.el5.s390x.rpm
File outdated by:  RHBA-2009:1291
    a5bcb44c26ecd51c597c8a8fa84ba2f2
uuidd-1.39-20.el5.s390x.rpm
File outdated by:  RHBA-2009:1291
    e7207781da1712fd5e2f516259f720d4
 
x86_64:
e2fsprogs-1.39-20.el5.x86_64.rpm
File outdated by:  RHBA-2009:1291
    585dfd72c4c495a632147c68e493552e
e2fsprogs-devel-1.39-20.el5.i386.rpm
File outdated by:  RHBA-2009:1291
    ba2d334e9ed1ba14014233bf62660c02
e2fsprogs-devel-1.39-20.el5.x86_64.rpm
File outdated by:  RHBA-2009:1291
    7e2a2980dd3e8bfd7a8b7e5ea3e42e4a
e2fsprogs-libs-1.39-20.el5.i386.rpm
File outdated by:  RHBA-2009:1291
    75492e0d247df5cdd704037af10629a9
e2fsprogs-libs-1.39-20.el5.x86_64.rpm
File outdated by:  RHBA-2009:1291
    22d68a6cced26b63f6bbbddeb5182990
uuidd-1.39-20.el5.x86_64.rpm
File outdated by:  RHBA-2009:1291
    ca09fe9213b5478b2b03b88937274cbe
 
Red Hat Enterprise Linux Desktop (v. 5 client)

SRPMS:
e2fsprogs-1.39-20.el5.src.rpm     f2a29884eb350fd8d2dd9bd8b3574084
 
IA-32:
e2fsprogs-1.39-20.el5.i386.rpm
File outdated by:  RHBA-2009:1291
    4f4c402d9ffdece66f04403151c8af13
e2fsprogs-libs-1.39-20.el5.i386.rpm
File outdated by:  RHBA-2009:1291
    75492e0d247df5cdd704037af10629a9
uuidd-1.39-20.el5.i386.rpm
File outdated by:  RHBA-2009:1291
    c2e91be624cc9c1fc9b5ae2affe6dc03
 
x86_64:
e2fsprogs-1.39-20.el5.x86_64.rpm
File outdated by:  RHBA-2009:1291
    585dfd72c4c495a632147c68e493552e
e2fsprogs-libs-1.39-20.el5.i386.rpm
File outdated by:  RHBA-2009:1291
    75492e0d247df5cdd704037af10629a9
e2fsprogs-libs-1.39-20.el5.x86_64.rpm
File outdated by:  RHBA-2009:1291
    22d68a6cced26b63f6bbbddeb5182990
uuidd-1.39-20.el5.x86_64.rpm
File outdated by:  RHBA-2009:1291
    ca09fe9213b5478b2b03b88937274cbe
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

438356 - RHEL5: aliasing violation causes dumpe2fs segfaults in ia64.
448013 - RHEL5 e2fsprogs: add ext4 support to libblkid
450765 - e2fsck: potential data corruption on log replay



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/