CVE-2018-10840: Buffer Overflow

Published May 25, 2018
·
Updated

Last updated 24 July 2024

Other sources

Linux kernel is vulnerable to a heap-based buffer overflow in the fs/ext4/xattr.c:ext4xattrsetentry() function. An attacker could exploit this by operating on a mounted crafted ext4 image.

Launchpad

Affected Software

6 affected componentsFixes available
Linux Linux kernel
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=18.04
redhat Enterprise Linux=7.0
Google Android
debian/linux
5.10.223-15.10.234-16.1.129-16.1.133-16.12.21-16.12.22-1

Event History

May 25, 2018
Data Sourced
via Red Hat·12:40 AM
DescriptionSeverityAffected Software
Jul 16, 2018
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
DescriptionSeverityWeakness
Jan 11, 2024
Data Sourced
via Launchpad·10:46 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:54 AM
RemedyDescriptionSeverityAffected Software
Mar 27, 2025
Data Sourced
via Debian·03:52 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is CVE-2018-10840?

CVE-2018-10840 is a vulnerability in the Linux kernel that allows for a heap-based buffer overflow in the ext4 file system.

2

How severe is CVE-2018-10840?

CVE-2018-10840 has a severity rating of high.

3

Which software versions are affected by CVE-2018-10840?

Ubuntu Linux versions 4.18~ and 4.15.0-33.36, as well as other Ubuntu packages, are affected by CVE-2018-10840.

4

How can I fix CVE-2018-10840?

To fix CVE-2018-10840, update your Linux kernel to version 4.18~ or 4.15.0-33.36, depending on your Ubuntu distribution.

5

Where can I find more information about CVE-2018-10840?

You can find more information about CVE-2018-10840 at the following references: [SecurityFocus](http://www.securityfocus.com/bid/104858), [Red Hat Security Advisory](https://access.redhat.com/errata/RHSA-2019:0162), [Ubuntu Security Notice](https://usn.ubuntu.com/3752-1/).

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