Bug 1582358 (CVE-2018-11412) - CVE-2018-11412 kernel: out-of-bounds memcpy in fs/ext4/inline.c:ext4_read_inline_data() with crafted ext4 image
Summary: CVE-2018-11412 kernel: out-of-bounds memcpy in fs/ext4/inline.c:ext4_read_inl...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-11412
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1582359 1582360 1583452
Blocks: 1582361
TreeView+ depends on / blocked
 
Reported: 2018-05-25 01:14 UTC by Sam Fowler
Modified: 2021-09-09 14:14 UTC (History)
45 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
The fs/ext4/inline.c:ext4_read_inline_data() 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.
Clone Of:
Environment:
Last Closed: 2019-06-10 10:26:34 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:0525 0 None None None 2019-03-13 02:09:01 UTC

Description Sam Fowler 2018-05-25 01:14:07 UTC
The fs/ext4/inline.c:ext4_read_inline_data() 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/show_bug.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

Comment 1 Sam Fowler 2018-05-25 01:14:36 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1582360]

Comment 12 errata-xmlrpc 2019-03-13 02:08:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2019:0525 https://access.redhat.com/errata/RHSA-2019:0525


Note You need to log in before you can comment on or make changes to this bug.