CVE-2018-11412: Use After Free

Published May 24, 2018
·
Updated

In the Linux kernel 4.13 through 4.16.11, ext4readinlinedata() in fs/ext4/inline.c performs a memcpy with an untrusted length value in certain circumstances involving a crafted filesystem that stores the system.data extended attribute value in a dedicated inode.

Other sources

The fs/ext4/inline.c:ext4readinlinedata() function in the Linux kernel performs a memcpy with an untrusted length value in certain circumstances involving a crafted filesystem that stores the system.data extended attribute value in a dedicated inode. The unbound copy can cause memory corruption or possible privilege escalation.

An upstream bug:

https://bugzilla.kernel.org/showbug.cgi?id=199803

Upstream patches:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=117166efb1ee8f13c38f9e96b258f16d4923f888

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=eb9b5f01c33adebc31cbc236c02695f605b0e417

— Red Hat

Affected Software

4 affected componentsFixes available
Linux Linux kernel>=4.13<=4.16.11
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
debian/linux
6.1.176-16.1.187-16.12.107-16.12.111-17.2.9-17.2.10-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.187-1Fixed in 6.12.107-1Fixed in 6.12.111-1Fixed in 7.2.9-1Fixed in 7.2.10-1

Event History

May 24, 2018
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Data Sourced
via NVD·06:29 PM
DescriptionSeverityWeaknessAffected Software
May 25, 2018
Data Sourced
via Red Hat·01:14 AM
DescriptionSeverityAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:47 PM
Description
Jul 4, 2026
Data Sourced
via Ubuntu·11:29 AM
RemedyDescriptionSeverityAffected Software
Oct 13, 2026
Data Sourced
via Debian·01:11 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the vulnerability ID for this vulnerability?

The vulnerability ID for this vulnerability is CVE-2018-11412.

2

What is the title of this vulnerability?

The title of this vulnerability is 'In the Linux kernel 4.13 through 4.16.11 ext4_read_inline_data() in fs/ext4/inline.c performs a memcpy with an untrusted length value in certain circumstances involving a crafted filesystem that stores the system.data extended attribute value in a dedicated inode.'

3

What is the severity level of CVE-2018-11412?

The severity level of CVE-2018-11412 is medium.

4

What software is affected by this vulnerability?

The Linux kernel versions 4.13 through 4.16.11 are affected by this vulnerability.

5

Are there any references to more information about CVE-2018-11412?

Yes, you can find more information about CVE-2018-11412 at the following references: [1](https://bugs.chromium.org/p/project-zero/issues/detail?id=1580), [2](https://bugzilla.kernel.org/show_bug.cgi?id=199803), [3](http://www.securityfocus.com/bid/104291).

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