First published: Wed Jul 25 2012(Updated: )
Description of problem: A specially-crafted UDF filesystem could cause buffer overflow when parsing sparing tables in udf_load_logicalvol()@fs/udf/super.c. The bug is fixed in upstream kernel via the following commits: commit 1df2ae31c724e57be9d7ac00d78db8a5dabdd050 Author: Jan Kara <jack () suse cz> Date: Wed Jun 27 21:23:07 2012 +0200 udf: Fortify loading of sparing table Add sanity checks when loading sparing table from disk to avoid accessing unallocated memory or writing to it. and commit adee11b2085bee90bd8f4f52123ffb07882d6256 Author: Jan Kara <jack () suse cz> Date: Wed Jun 27 20:20:22 2012 +0200 udf: Avoid run away loop when partition table length is corrupted Check provided length of partition table so that (possibly maliciously) corrupted partition table cannot cause accessing data beyond current buffer. Upstream fixes: <a href="http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=1df2ae31c724e57be9d7ac00d78db8a5dabdd050">http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=1df2ae31c724e57be9d7ac00d78db8a5dabdd050</a> <a href="http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=adee11b2085bee90bd8f4f52123ffb07882d6256">http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=adee11b2085bee90bd8f4f52123ffb07882d6256</a> <a href="http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=57b9655d">http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=57b9655d</a> References: <a href="http://seclists.org/oss-sec/2012/q3/2">http://seclists.org/oss-sec/2012/q3/2</a>
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | <3.0.37 | |
Linux Kernel | >=3.1<3.2.23 | |
Linux Kernel | >=3.4<3.4.5 | |
Ubuntu | =10.04 | |
Ubuntu | =11.04 | |
Ubuntu | =12.04 | |
debian/linux | 5.10.223-1 5.10.234-1 6.1.129-1 6.1.133-1 6.12.21-1 6.12.22-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2012-3400 is classified as a medium severity vulnerability due to the potential for buffer overflow leading to denial of service.
To fix CVE-2012-3400, you should update to a version of the Linux kernel that is greater than 3.0.37, 3.1, 3.2.23, or 3.4.
CVE-2012-3400 affects multiple versions of the Linux kernel and Ubuntu Linux versions 10.04, 11.04, and 12.04.
CVE-2012-3400 is a buffer overflow vulnerability caused by improper handling of specially-crafted UDF files.
While CVE-2012-3400 was a concern in older Linux kernel versions, most modern distributions have applied necessary patches, reducing its relevance today.