CVE-2011-4086: Buffer Overflow

Published Oct 26, 2011
·
Updated

journalunmapbuffer()'s zapbuffer: code clears a lot of buffer head state ala discardbuffer(), but does not touch Delay or Unwritten as discardbuffer() does.

This can be problematic in some areas of the ext4 code which assume that if they have found a buffer marked unwritten or delay, then it's a live one. They do not check whether a buffer is mapped, so jbd2's partial teardown can be problematic if they assume that this buffer head is still valid.

(Mounting without a journal also avoids the bug, because with no journal we go to unmapbuffer(), which does the right thing).

An unprivileged local user could use this flaw to crash the system.

Other sources

The journalunmapbuffer function in fs/jbd2/transaction.c in the Linux kernel before 3.3.1 does not properly handle the Delay and Unwritten buffer head states, which allows local users to cause a denial of service (system crash) by leveraging the presence of an ext4 filesystem that was mounted with a journal.

Launchpad

Affected Software

85 affected components
debian/linux-2.6
Linux Linux kernel=3.0.25
Linux Linux kernel=3.1.2
Linux Linux kernel=3.0-rc2
Linux Linux kernel=3.2.19
Linux Linux kernel=3.0.22
Linux Linux kernel=3.0.5
Linux Linux kernel=3.2.18
Linux Linux kernel=3.0-rc7
Linux Linux kernel=3.1-rc1
Linux Linux kernel=3.1-rc4
Linux Linux kernel=3.2.5
Linux Linux kernel=3.0.18
Linux Linux kernel=3.0.6
Linux Linux kernel=3.0-rc4
Linux Linux kernel=3.0.11
Linux Linux kernel=3.0.34
Linux Linux kernel<=3.3
Linux Linux kernel=3.0.32
Linux Linux kernel=3.2-rc2
Linux Linux kernel=3.2.16
Linux Linux kernel=3.2-rc5
Linux Linux kernel=3.0.19
Linux Linux kernel=3.0.4
Linux Linux kernel=3.2-rc4
Linux Linux kernel=3.0.27
Linux Linux kernel=3.0-rc6
Linux Linux kernel=3.2.11
Linux Linux kernel=3.0.23
Linux Linux kernel=3.2.10
Linux Linux kernel=3.0.8
Linux Linux kernel=3.2.14
Linux Linux kernel=3.1
Linux Linux kernel=3.0-rc3
Linux Linux kernel=3.0.33
Linux Linux kernel=3.0.28
Linux Linux kernel=3.0-rc1
Linux Linux kernel=3.2.4
Linux Linux kernel=3.0.13
Linux Linux kernel=3.2.9
Linux Linux kernel=3.0.10
Linux Linux kernel=3.0-rc5
Linux Linux kernel=3.2.15
Linux Linux kernel=3.1-rc2
Linux Linux kernel=3.0.1
Linux Linux kernel=3.1.6
Linux Linux kernel=3.2.20
Linux Linux kernel=3.2.6
Linux Linux kernel=3.2.2
Linux Linux kernel=3.0.17
Linux Linux kernel=3.1.3
Linux Linux kernel=3.1.9
Linux Linux kernel=3.2-rc3
Linux Linux kernel=3.0.16
Linux Linux kernel=3.2.13
Linux Linux kernel=3.0.21
Linux Linux kernel=3.0.7
Linux Linux kernel=3.1.5
Linux Linux kernel=3.1.8
Linux Linux kernel=3.2.1
Linux Linux kernel=3.2.7
Linux Linux kernel=3.0.20
Linux Linux kernel=3.0.24
Linux Linux kernel=3.0.15
Linux Linux kernel=3.0.2
Linux Linux kernel=3.1.7
Linux Linux kernel=3.1.1
Linux Linux kernel=3.0.12
Linux Linux kernel=3.2-rc6
Linux Linux kernel=3.2.17
Linux Linux kernel=3.2-rc7
Linux Linux kernel=3.2.8
Linux Linux kernel=3.1.10
Linux Linux kernel=3.2
Linux Linux kernel=3.0.3
Linux Linux kernel=3.0.9
Linux Linux kernel=3.0.26
Linux Linux kernel=3.1.4
Linux Linux kernel=3.0.30
Linux Linux kernel=3.0.31
Linux Linux kernel=3.0.29
Linux Linux kernel=3.2.12
Linux Linux kernel=3.0.14
Linux Linux kernel=3.1-rc3
Linux Linux kernel=3.2.3

Event History

Oct 26, 2011
Data Sourced
via Red Hat·10:07 AM
DescriptionSeverityAffected Software
Jul 3, 2012
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
Data Sourced
via NVD·04:40 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·09:58 PM
Description
Sep 15, 2024
Data Sourced
via Ubuntu·10:46 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2011-4086?

CVE-2011-4086 is classified as a medium severity vulnerability affecting the Linux kernel.

2

How do I fix CVE-2011-4086?

To fix CVE-2011-4086, update the Linux kernel to version 3.3.1 or later.

3

What systems are affected by CVE-2011-4086?

CVE-2011-4086 affects various versions of the Linux kernel, up to and including 3.3.

4

What is the impact of CVE-2011-4086?

The impact of CVE-2011-4086 includes potential data corruption in specific scenarios related to buffer management.

5

When was CVE-2011-4086 disclosed?

CVE-2011-4086 was disclosed in 2011 as part of a batch of vulnerabilities affecting the Linux kernel.

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