Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 467208 Details for
Bug 612804
app-emulation/vmware-workstation: out-of-bounds memory access (VMSA-2017-0005)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
308-4.09-00-user-pages.patch__OBSOLETE
308-4.09-00-user-pages.patch__OBSOLETE (text/plain), 1.13 KB, created by
Manfred Knick
on 2017-03-16 15:19:14 UTC
(
hide
)
Description:
308-4.09-00-user-pages.patch__OBSOLETE
Filename:
MIME Type:
Creator:
Manfred Knick
Created:
2017-03-16 15:19:14 UTC
Size:
1.13 KB
patch
obsolete
>--- ./vmnet-only/userif.c 2017-02-23 12:29:00.909852764 +0100 >+++ ./vmnet-only/userif.c.new 2017-02-23 12:28:51.309852227 +0100 >@@ -113,7 +113,9 @@ > int retval; > > down_read(¤t->mm->mmap_sem); >-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0) >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0) >+ retval = get_user_pages(addr, 1, FOLL_WRITE, &page, NULL); >+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0) > retval = get_user_pages(addr, 1, 1, 0, &page, NULL); > #else > retval = get_user_pages(current, current->mm, addr, >--- ./vmmon-only/linux/hostif.c 2017-02-23 12:19:59.772822506 +0100 >+++ ./vmmon-only/linux/hostif.c.new 2017-02-23 12:26:42.661845034 +0100 >@@ -1167,7 +1167,9 @@ > int retval; > > down_read(¤t->mm->mmap_sem); >-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0) >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0) >+ retval = get_user_pages((unsigned long)uvAddr, numPages, 0, ppages, NULL); >+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0) > retval = get_user_pages((unsigned long)uvAddr, numPages, 0, 0, ppages, NULL); > #else > retval = get_user_pages(current, current->mm, (unsigned long)uvAddr,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 612804
:
467200
|
467206
| 467208