CVE-2018-12233: Buffer Overflow

Published Jun 12, 2018
·
Updated

In the eaget function in fs/jfs/xattr.c in the Linux kernel through 4.17.1, a memory corruption bug in JFS can be triggered by calling setxattr twice with two different extended attribute names on the same file. This vulnerability can be triggered by an unprivileged user with the ability to create files and execute programs. A kmalloc call is incorrect, leading to slab-out-of-bounds in jfsxattr.

Affected Software

11 affected componentsFixes available
Linux Linux kernel>=2.6.12<3.16.58
Linux Linux kernel>=3.17<3.18.118
Linux Linux kernel>=3.19<4.4.147
Linux Linux kernel>=4.5<4.9.119
Linux Linux kernel>=4.10<4.14.62
Linux Linux kernel>=4.15<4.17.14
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Linux Linux kernel<=4.17.1
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

Jun 12, 2018
CVE Published
via MITRE·12:00 PM
Data Sourced
via MITRE·12:00 PM
Description
Data Sourced
via NVD·12:29 PM
DescriptionSeverityWeaknessAffected Software
Jun 25, 2026
Data Sourced
via Launchpad·11:12 AM
Description
Jul 4, 2026
Data Sourced
via Ubuntu·11:29 AM
RemedyDescriptionSeverityAffected Software
Oct 13, 2026
Data Sourced
via Debian·01:08 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the vulnerability ID for this vulnerability?

The vulnerability ID is CVE-2018-12233.

2

What is the title of this vulnerability?

The title of this vulnerability is 'In the ea_get function in fs/jfs/xattr.c in the Linux kernel through 4.17.1 a memory corruption bug.'

3

How can this vulnerability be triggered?

This vulnerability can be triggered by calling setxattr twice with two different extended attribute names on the same file.

4

Who can trigger this vulnerability?

This vulnerability can be triggered by an unprivileged user with the ability to create files and set extended attributes.

5

What is the severity level of this vulnerability?

The severity level of this vulnerability is not specified.

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