CVE-2012-3400: Buffer Overflow

Published Jul 25, 2012
·
Updated

Description of problem:

A specially-crafted UDF filesystem could cause buffer overflow when parsing sparing tables in udfloadlogicalvol()@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: 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=adee11b2085bee90bd8f4f52123ffb07882d6256 http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=57b9655d

References: http://seclists.org/oss-sec/2012/q3/2

Other sources

Heap-based buffer overflow in the udfloadlogicalvol function in fs/udf/super.c in the Linux kernel before 3.4.5 allows remote attackers to cause a denial of service (system crash) or possibly have unspecified other impact via a crafted UDF filesystem.

Launchpad

Affected Software

7 affected componentsFixes available
Linux Linux kernel<3.0.37
Linux Linux kernel>=3.1<3.2.23
Linux Linux kernel>=3.4<3.4.5
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=11.04
Canonical Ubuntu Linux=12.04
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1

Event History

Jul 25, 2012
Data Sourced
via Red Hat·05:15 PM
DescriptionSeverityAffected Software
Oct 3, 2012
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:00 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·12:49 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2012-3400?

CVE-2012-3400 is classified as a medium severity vulnerability due to the potential for buffer overflow leading to denial of service.

2

How do I fix CVE-2012-3400?

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.

3

What systems are affected by CVE-2012-3400?

CVE-2012-3400 affects multiple versions of the Linux kernel and Ubuntu Linux versions 10.04, 11.04, and 12.04.

4

What type of vulnerability is CVE-2012-3400?

CVE-2012-3400 is a buffer overflow vulnerability caused by improper handling of specially-crafted UDF files.

5

Is CVE-2012-3400 still a concern for current Linux distributions?

While CVE-2012-3400 was a concern in older Linux kernel versions, most modern distributions have applied necessary patches, reducing its relevance today.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203