Description of problem: Name: CVE-2009-0746 Status: Candidate URL: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0746 Final-Decision: Interim-Decision: Modified: Proposed: Assigned: 20090227 Category: Reference: CONFIRM:http://bugzilla.kernel.org/show_bug.cgi?id=12430 Reference: CONFIRM:http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e6b8bc09ba2075cd91fbffefcd2778b1a00bd76f Reference: CONFIRM:http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.27.19 Reference: CONFIRM:http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.28.7 Reference: VUPEN:ADV-2009-0509 Reference: URL:http://www.vupen.com/english/advisories/2009/0509 Reference: XF:linux-kernel-makeindexeddir-ext4-dos(48872) Reference: URL:http://xforce.iss.net/xforce/xfdb/48872 The make_indexed_dir function in fs/ext4/namei.c in the Linux kernel 2.6.27 before 2.6.27.19 and 2.6.28 before 2.6.28.7 does not validate a certain rec_len field, which allows local users to cause a denial of service (OOPS) by attempting to mount a crafted ext4 filesystem.
Created attachment 333651 [details] corrupted image Steps to reproduce: 1. gunzip the attached filesystem image 2. mount hdb.30000241 /mnt -t ext4 -o loop,errors=continue 3. cd /mnt 4. find -xdev -print0 2>/dev/null |xargs -0 touch -- 2>/dev/null
mrg-1 is affected by CONFIG_EXT4DEV_FS is not set by default.
CVSS2 score of medium, 4.9 (AV:L/AC:L/Au:N/C:N/I:N/A:C)
This issue has been addressed in following products: Red Hat Enterprise Linux 5 Via RHSA-2009:1243 https://rhn.redhat.com/errata/RHSA-2009-1243.html
All children bugs closed, parent no longer needed