Bug 1525222 (CVE-2017-15128) - CVE-2017-15128 kernel: Out of bound access in hugetlb_mcopy_atomic_pte function in mm/hugetlb.c
Summary: CVE-2017-15128 kernel: Out of bound access in hugetlb_mcopy_atomic_pte functi...
Status: NEW
Alias: CVE-2017-15128
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: impact=moderate,public=20171208,repor...
Keywords: Security
Depends On: 1545043 1545044
Blocks: 1518303
TreeView+ depends on / blocked
 
Reported: 2017-12-12 20:06 UTC by Pedro Sampaio
Modified: 2019-06-08 22:33 UTC (History)
45 users (show)

(edit)
A flaw was found in the Linux kernel where a local user with a shell account can abuse the userfaultfd syscall when using hugetlbfs. A missing size check in hugetlb_mcopy_atomic_pte could create an invalid inode variable, leading to a kernel panic.
Clone Of:
(edit)
Last Closed:


Attachments (Terms of Use)

Description Pedro Sampaio 2017-12-12 20:06:23 UTC
A flaw was found in Linux kernel. A lack of size check in hugetlb_mcopy_atomic_pte could cause denial of service.

Upstream patch:

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

References:

https://marc.info/?l=linux-mm&m=150819356125109

Comment 1 Salvatore Bonaccorso 2018-01-08 19:47:50 UTC
Hi Pedro,

The link referenced is not accessible, is this issue https://marc.info/?l=linux-mm&m=150819356125109 and fixed with upstream 1e3921471354244f70fe268586ff94a97a6dd4df ?

Regards,
Salvatore

Comment 2 Pedro Sampaio 2018-01-08 20:12:52 UTC
Hi Salvatore,

Yes, I believe so. I didn't realize the link wasn't public.

Thanks.

Comment 3 Salvatore Bonaccorso 2018-01-10 19:47:01 UTC
Hi Pedro,

Many thanks for confirming!

Regards,
Salvatore

Comment 8 Eric Christensen 2018-01-23 15:32:04 UTC
Statement:

This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5 and 6 and kernel-alt.

This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 7, realtime and MRG-2. Future Linux kernel updates for the respective releases may address this issue.

Comment 11 Wade Mealing 2018-02-14 06:45:09 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1545043]

Comment 12 Wade Mealing 2018-02-14 06:45:16 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1545044]

Comment 13 Justin M. Forbes 2018-02-14 14:42:14 UTC
This was fixed for Fedora with the 4.13.12 stable updates.


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