Issued:
2011-12-06
Updated:
2011-12-06

RHBA-2011:1552 - dosfstools bug fix update


Synopsis

dosfstools bug fix update

Type/Severity

Bug Fix Advisory (none)

Topic

An updated dosfstools package that fixes various bugs is now available for Red Hat Enterprise Linux 6.

Description

The dosfstools package contains a set of tools for creating and maintaining FAT-type file systems. It includes the mkdosfs and dosfsck utilities, which make and check MS-DOS FAT file systems on hard drives and floppy disks.

This updated dosfstools package includes fixes for the following bugs:

  • Previously, when the dosfsck and the dosfslabel utilities were executed on the IBM System z architecture using a FAT32 file system, they terminated with this error message: "Logical sector size is zero". This was caused by unaligned fields which were first byte-wise copied. With this fix, the fields are not pre-copied any more, but are accessed the same way as on the i686 architecture. (BZ#624596)

  • The fsck.vfat utility terminated due to buffer overflow. This occurred when checking a device with the corrupted VFAT file system if there were any chains of orphaned clusters. The name of the newly created file that contained these clusters was printed directly into the name field, which led to an out of boundary write. The name is now printed into the buffer and individual parts are then correctly copied into the appropriate field. (BZ#677789)

  • The dosfslabel utility displayed an error message when labeling the FAT32 file system due to some of its internal structures being initialized incorrectly. The dosfslabel utility now reads the FAT file system first, which fixes the problem. (BZ#688128)

  • The mkfs.vfat utility did not correctly detect device partitions on RAID devices. As a consequence, formatting failed with an error message. This was caused by an invalid mask for the statbuf.st_rdev variable. The mask has been fixed to be at least four bytes long and the problem no longer occurs. (BZ#709266)

All users of dosfstools are advised to upgrade to this updated package, which resolves these bugs.

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 This content is not included.https://access.redhat.com/kb/docs/DOC-11259

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for Scientific Computing6x86_64
Red Hat Enterprise Linux for Power, big endian6ppc64
Red Hat Enterprise Linux for IBM z Systems6s390x
Red Hat Enterprise Linux Workstation6x86_64
Red Hat Enterprise Linux Workstation6i386
Red Hat Enterprise Linux Server6x86_64
Red Hat Enterprise Linux Server6i386
Red Hat Enterprise Linux Server from RHUI6x86_64
Red Hat Enterprise Linux Server from RHUI6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems)6s390x
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems)6s390x
Red Hat Enterprise Linux Desktop6x86_64
Red Hat Enterprise Linux Desktop6i386

Updated Packages

  • dosfstools-3.0.9-4.el6.x86_64.rpm
  • dosfstools-3.0.9-4.el6.i686.rpm
  • dosfstools-3.0.9-4.el6.s390x.rpm
  • dosfstools-3.0.9-4.el6.src.rpm
  • dosfstools-debuginfo-3.0.9-4.el6.s390x.rpm
  • dosfstools-debuginfo-3.0.9-4.el6.i686.rpm
  • dosfstools-debuginfo-3.0.9-4.el6.ppc64.rpm
  • dosfstools-debuginfo-3.0.9-4.el6.x86_64.rpm
  • dosfstools-3.0.9-4.el6.ppc64.rpm

Fixes

CVEs

(none)

References

(none)


Additional information