<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/android, branch v4.8.11</title>
<subtitle>Clone of https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/'/>
<entry>
<title>ANDROID: binder: Clear binder and cookie when setting handle in flat binder struct</title>
<updated>2016-11-10T15:38:47+00:00</updated>
<author>
<name>Arve Hjønnevåg</name>
<email>arve@android.com</email>
</author>
<published>2016-10-24T13:20:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=2a997e83960b67ff542f572591c7664847e38fce'/>
<id>2a997e83960b67ff542f572591c7664847e38fce</id>
<content type='text'>
commit 4afb604e2d14d429ac9e1fd84b952602853b2df5 upstream.

Prevents leaking pointers between processes

Signed-off-by: Arve Hjønnevåg &lt;arve@android.com&gt;
Signed-off-by: Martijn Coenen &lt;maco@android.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 4afb604e2d14d429ac9e1fd84b952602853b2df5 upstream.

Prevents leaking pointers between processes

Signed-off-by: Arve Hjønnevåg &lt;arve@android.com&gt;
Signed-off-by: Martijn Coenen &lt;maco@android.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>ANDROID: binder: Add strong ref checks</title>
<updated>2016-11-10T15:38:47+00:00</updated>
<author>
<name>Arve Hjønnevåg</name>
<email>arve@android.com</email>
</author>
<published>2016-10-24T13:20:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=599cfd58ffde37a044db09deeb371a4863333dc7'/>
<id>599cfd58ffde37a044db09deeb371a4863333dc7</id>
<content type='text'>
commit 0a3ffab93fe52530602fe47cd74802cffdb19c05 upstream.

Prevent using a binder_ref with only weak references where a strong
reference is required.

Signed-off-by: Arve Hjønnevåg &lt;arve@android.com&gt;
Signed-off-by: Martijn Coenen &lt;maco@android.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 0a3ffab93fe52530602fe47cd74802cffdb19c05 upstream.

Prevent using a binder_ref with only weak references where a strong
reference is required.

Signed-off-by: Arve Hjønnevåg &lt;arve@android.com&gt;
Signed-off-by: Martijn Coenen &lt;maco@android.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>Merge 4.5-rc6 into staging-next</title>
<updated>2016-03-02T00:10:45+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2016-03-02T00:10:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=3e66848a3249105fe4973b0550b5b6cd42240168'/>
<id>3e66848a3249105fe4973b0550b5b6cd42240168</id>
<content type='text'>
We want the staging fixes in here as well.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We want the staging fixes in here as well.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge char-misc-next into staging-next</title>
<updated>2016-02-22T22:46:24+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2016-02-22T22:46:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=bb27d4998a9e8767674e8eda225c82cc149e5bc8'/>
<id>bb27d4998a9e8767674e8eda225c82cc149e5bc8</id>
<content type='text'>
This resolves the merge issues and confusions people were having with
the goldfish drivers due to changes for them showing up in two different
trees.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This resolves the merge issues and confusions people were having with
the goldfish drivers due to changes for them showing up in two different
trees.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers: android: correct the size of struct binder_uintptr_t for BC_DEAD_BINDER_DONE</title>
<updated>2016-02-20T23:43:56+00:00</updated>
<author>
<name>Lisa Du</name>
<email>cldu@marvell.com</email>
</author>
<published>2016-02-17T01:32:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=7a64cd887fdb97f074c3fda03bee0bfb9faceac3'/>
<id>7a64cd887fdb97f074c3fda03bee0bfb9faceac3</id>
<content type='text'>
There's one point was missed in the patch commit da49889deb34 ("staging:
binder: Support concurrent 32 bit and 64 bit processes."). When configure
BINDER_IPC_32BIT, the size of binder_uintptr_t was 32bits, but size of
void * is 64bit on 64bit system. Correct it here.

Signed-off-by: Lisa Du &lt;cldu@marvell.com&gt;
Signed-off-by: Nicolas Boichat &lt;drinkcat@chromium.org&gt;
Fixes: da49889deb34 ("staging: binder: Support concurrent 32 bit and 64 bit processes.")
Cc: &lt;stable@vger.kernel.org&gt;
Acked-by: Olof Johansson &lt;olof@lixom.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There's one point was missed in the patch commit da49889deb34 ("staging:
binder: Support concurrent 32 bit and 64 bit processes."). When configure
BINDER_IPC_32BIT, the size of binder_uintptr_t was 32bits, but size of
void * is 64bit on 64bit system. Correct it here.

Signed-off-by: Lisa Du &lt;cldu@marvell.com&gt;
Signed-off-by: Nicolas Boichat &lt;drinkcat@chromium.org&gt;
Fixes: da49889deb34 ("staging: binder: Support concurrent 32 bit and 64 bit processes.")
Cc: &lt;stable@vger.kernel.org&gt;
Acked-by: Olof Johansson &lt;olof@lixom.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>android: drivers: Avoid debugfs race in binder</title>
<updated>2016-02-12T04:06:46+00:00</updated>
<author>
<name>Riley Andrews</name>
<email>riandrews@android.com</email>
</author>
<published>2016-02-10T05:05:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=83050a4e21979fe1821916fce2fca36255569ed3'/>
<id>83050a4e21979fe1821916fce2fca36255569ed3</id>
<content type='text'>
If a /d/binder/proc/[pid] entry is kept open after linux has
torn down the associated process, binder_proc_show can deference
an invalid binder_proc that has been stashed in the debugfs
inode.  Validate that the binder_proc ptr passed into binder_proc_show
has not been freed by looking for it within the global process list
whilst the global lock is held. If the ptr is not valid, print nothing.

Cc: Colin Cross &lt;ccross@android.com&gt;
Cc: Arve Hjønnevåg &lt;arve@android.com&gt;
Cc: Dmitry Shmidt &lt;dimitrysh@google.com&gt;
Cc: Rom Lemarchand &lt;romlem@google.com&gt;
Cc: Serban Constantinescu &lt;serban.constantinescu@arm.com&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Cc: Android Kernel Team &lt;kernel-team@android.com&gt;
Signed-off-by: Dmitry Shmidt &lt;dimitrysh@google.com&gt;
[jstultz: Minor commit message tweaks]
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a /d/binder/proc/[pid] entry is kept open after linux has
torn down the associated process, binder_proc_show can deference
an invalid binder_proc that has been stashed in the debugfs
inode.  Validate that the binder_proc ptr passed into binder_proc_show
has not been freed by looking for it within the global process list
whilst the global lock is held. If the ptr is not valid, print nothing.

Cc: Colin Cross &lt;ccross@android.com&gt;
Cc: Arve Hjønnevåg &lt;arve@android.com&gt;
Cc: Dmitry Shmidt &lt;dimitrysh@google.com&gt;
Cc: Rom Lemarchand &lt;romlem@google.com&gt;
Cc: Serban Constantinescu &lt;serban.constantinescu@arm.com&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Cc: Android Kernel Team &lt;kernel-team@android.com&gt;
Signed-off-by: Dmitry Shmidt &lt;dimitrysh@google.com&gt;
[jstultz: Minor commit message tweaks]
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>android: binder: More offset validation</title>
<updated>2016-02-12T04:06:46+00:00</updated>
<author>
<name>Arve Hjønnevåg</name>
<email>arve@android.com</email>
</author>
<published>2016-02-10T05:05:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=212265e5ad726ed7fd2ec7d61d36d9e0b0d3e655'/>
<id>212265e5ad726ed7fd2ec7d61d36d9e0b0d3e655</id>
<content type='text'>
Make sure offsets don't point to overlapping flat_binder_object
structs.

Cc: Colin Cross &lt;ccross@android.com&gt;
Cc: Arve Hjønnevåg &lt;arve@android.com&gt;
Cc: Dmitry Shmidt &lt;dimitrysh@google.com&gt;
Cc: Rom Lemarchand &lt;romlem@google.com&gt;
Cc: Serban Constantinescu &lt;serban.constantinescu@arm.com&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Cc: Android Kernel Team &lt;kernel-team@android.com&gt;
Signed-off-by: Dmitry Shmidt &lt;dimitrysh@google.com&gt;
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make sure offsets don't point to overlapping flat_binder_object
structs.

Cc: Colin Cross &lt;ccross@android.com&gt;
Cc: Arve Hjønnevåg &lt;arve@android.com&gt;
Cc: Dmitry Shmidt &lt;dimitrysh@google.com&gt;
Cc: Rom Lemarchand &lt;romlem@google.com&gt;
Cc: Serban Constantinescu &lt;serban.constantinescu@arm.com&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Cc: Android Kernel Team &lt;kernel-team@android.com&gt;
Signed-off-by: Dmitry Shmidt &lt;dimitrysh@google.com&gt;
Signed-off-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>android: binder: Sanity check at binder ioctl</title>
<updated>2016-02-08T01:34:58+00:00</updated>
<author>
<name>Chen Feng</name>
<email>puck.chen@hisilicon.com</email>
</author>
<published>2016-02-01T06:04:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=a906d6931f3ccaf7de805643190765ddd7378e27'/>
<id>a906d6931f3ccaf7de805643190765ddd7378e27</id>
<content type='text'>
Sanity check at binder ioctl function,
Only allow the shared mm_struct to use the same binder-object
to do binder operate.

And add proc-&gt;vma_vm_mm = current-&gt;mm at the open function.
The libbinder do ioctl before mmap called.

V2: Fix compile error for error commit
V3: Change the condition to proc-&gt;vma_vm_mm

Signed-off-by: Chen Feng &lt;puck.chen@hisilicon.com&gt;
Signed-off-by: Wei  Dong &lt;weidong2@hisilicon.com&gt;
Signed-off-by: Junmin Zhao &lt;zhaojunmin@huawei.com&gt;
Reviewed-by: Zhuangluan Su &lt;suzhuangluan@hisilicon.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sanity check at binder ioctl function,
Only allow the shared mm_struct to use the same binder-object
to do binder operate.

And add proc-&gt;vma_vm_mm = current-&gt;mm at the open function.
The libbinder do ioctl before mmap called.

V2: Fix compile error for error commit
V3: Change the condition to proc-&gt;vma_vm_mm

Signed-off-by: Chen Feng &lt;puck.chen@hisilicon.com&gt;
Signed-off-by: Wei  Dong &lt;weidong2@hisilicon.com&gt;
Signed-off-by: Junmin Zhao &lt;zhaojunmin@huawei.com&gt;
Reviewed-by: Zhuangluan Su &lt;suzhuangluan@hisilicon.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mm: mark most vm_operations_struct const</title>
<updated>2015-09-10T20:29:01+00:00</updated>
<author>
<name>Kirill A. Shutemov</name>
<email>kirill.shutemov@linux.intel.com</email>
</author>
<published>2015-09-09T22:39:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=7cbea8dc0127a95226c7722a738ac6534950ef67'/>
<id>7cbea8dc0127a95226c7722a738ac6534950ef67</id>
<content type='text'>
With two exceptions (drm/qxl and drm/radeon) all vm_operations_struct
structs should be constant.

Signed-off-by: Kirill A. Shutemov &lt;kirill.shutemov@linux.intel.com&gt;
Reviewed-by: Oleg Nesterov &lt;oleg@redhat.com&gt;
Cc: "H. Peter Anvin" &lt;hpa@zytor.com&gt;
Cc: Andy Lutomirski &lt;luto@amacapital.net&gt;
Cc: Dave Hansen &lt;dave.hansen@linux.intel.com&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: Minchan Kim &lt;minchan@kernel.org&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With two exceptions (drm/qxl and drm/radeon) all vm_operations_struct
structs should be constant.

Signed-off-by: Kirill A. Shutemov &lt;kirill.shutemov@linux.intel.com&gt;
Reviewed-by: Oleg Nesterov &lt;oleg@redhat.com&gt;
Cc: "H. Peter Anvin" &lt;hpa@zytor.com&gt;
Cc: Andy Lutomirski &lt;luto@amacapital.net&gt;
Cc: Dave Hansen &lt;dave.hansen@linux.intel.com&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: Minchan Kim &lt;minchan@kernel.org&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>android: binder: fix binder mmap failures</title>
<updated>2015-03-02T02:43:51+00:00</updated>
<author>
<name>Andrey Ryabinin</name>
<email>a.ryabinin@samsung.com</email>
</author>
<published>2015-02-27T17:44:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/linux.git/commit/?id=f4c72c70308897bd26f2918979d06b429916fd0e'/>
<id>f4c72c70308897bd26f2918979d06b429916fd0e</id>
<content type='text'>
binder_update_page_range() initializes only addr and size
fields in 'struct vm_struct tmp_area;' and passes it to
map_vm_area().

Before 71394fe50146 ("mm: vmalloc: add flag preventing guard hole allocation")
this was because map_vm_area() didn't use any other fields
in vm_struct except addr and size.

Now get_vm_area_size() (used in map_vm_area()) reads vm_struct's
flags to determine whether vm area has guard hole or not.

binder_update_page_range() don't initialize flags field, so
this causes following binder mmap failures:
-----------[ cut here ]------------
WARNING: CPU: 0 PID: 1971 at mm/vmalloc.c:130
vmap_page_range_noflush+0x119/0x144()
CPU: 0 PID: 1971 Comm: healthd Not tainted 4.0.0-rc1-00399-g7da3fdc-dirty #157
Hardware name: ARM-Versatile Express
[&lt;c001246d&gt;] (unwind_backtrace) from [&lt;c000f7f9&gt;] (show_stack+0x11/0x14)
[&lt;c000f7f9&gt;] (show_stack) from [&lt;c049a221&gt;] (dump_stack+0x59/0x7c)
[&lt;c049a221&gt;] (dump_stack) from [&lt;c001cf21&gt;] (warn_slowpath_common+0x55/0x84)
[&lt;c001cf21&gt;] (warn_slowpath_common) from [&lt;c001cfe3&gt;]
(warn_slowpath_null+0x17/0x1c)
[&lt;c001cfe3&gt;] (warn_slowpath_null) from [&lt;c00c66c5&gt;]
(vmap_page_range_noflush+0x119/0x144)
[&lt;c00c66c5&gt;] (vmap_page_range_noflush) from [&lt;c00c716b&gt;] (map_vm_area+0x27/0x48)
[&lt;c00c716b&gt;] (map_vm_area) from [&lt;c038ddaf&gt;]
(binder_update_page_range+0x12f/0x27c)
[&lt;c038ddaf&gt;] (binder_update_page_range) from [&lt;c038e857&gt;]
(binder_mmap+0xbf/0x1ac)
[&lt;c038e857&gt;] (binder_mmap) from [&lt;c00c2dc7&gt;] (mmap_region+0x2eb/0x4d4)
[&lt;c00c2dc7&gt;] (mmap_region) from [&lt;c00c3197&gt;] (do_mmap_pgoff+0x1e7/0x250)
[&lt;c00c3197&gt;] (do_mmap_pgoff) from [&lt;c00b35b5&gt;] (vm_mmap_pgoff+0x45/0x60)
[&lt;c00b35b5&gt;] (vm_mmap_pgoff) from [&lt;c00c1f39&gt;] (SyS_mmap_pgoff+0x5d/0x80)
[&lt;c00c1f39&gt;] (SyS_mmap_pgoff) from [&lt;c000ce81&gt;] (ret_fast_syscall+0x1/0x5c)
---[ end trace 48c2c4b9a1349e54 ]---
binder: 1982: binder_alloc_buf failed to map page at f0e00000 in kernel
binder: binder_mmap: 1982 b6bde000-b6cdc000 alloc small buf failed -12

Use map_kernel_range_noflush() instead of map_vm_area() as this is better
API for binder's purposes and it allows to get rid of 'vm_struct tmp_area' at all.

Fixes: 71394fe50146 ("mm: vmalloc: add flag preventing guard hole allocation")
Signed-off-by: Andrey Ryabinin &lt;a.ryabinin@samsung.com&gt;
Reported-by: Amit Pundir &lt;amit.pundir@linaro.org&gt;
Tested-by: Amit Pundir &lt;amit.pundir@linaro.org&gt;
Acked-by: David Rientjes &lt;rientjes@google.com&gt;
Tested-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
binder_update_page_range() initializes only addr and size
fields in 'struct vm_struct tmp_area;' and passes it to
map_vm_area().

Before 71394fe50146 ("mm: vmalloc: add flag preventing guard hole allocation")
this was because map_vm_area() didn't use any other fields
in vm_struct except addr and size.

Now get_vm_area_size() (used in map_vm_area()) reads vm_struct's
flags to determine whether vm area has guard hole or not.

binder_update_page_range() don't initialize flags field, so
this causes following binder mmap failures:
-----------[ cut here ]------------
WARNING: CPU: 0 PID: 1971 at mm/vmalloc.c:130
vmap_page_range_noflush+0x119/0x144()
CPU: 0 PID: 1971 Comm: healthd Not tainted 4.0.0-rc1-00399-g7da3fdc-dirty #157
Hardware name: ARM-Versatile Express
[&lt;c001246d&gt;] (unwind_backtrace) from [&lt;c000f7f9&gt;] (show_stack+0x11/0x14)
[&lt;c000f7f9&gt;] (show_stack) from [&lt;c049a221&gt;] (dump_stack+0x59/0x7c)
[&lt;c049a221&gt;] (dump_stack) from [&lt;c001cf21&gt;] (warn_slowpath_common+0x55/0x84)
[&lt;c001cf21&gt;] (warn_slowpath_common) from [&lt;c001cfe3&gt;]
(warn_slowpath_null+0x17/0x1c)
[&lt;c001cfe3&gt;] (warn_slowpath_null) from [&lt;c00c66c5&gt;]
(vmap_page_range_noflush+0x119/0x144)
[&lt;c00c66c5&gt;] (vmap_page_range_noflush) from [&lt;c00c716b&gt;] (map_vm_area+0x27/0x48)
[&lt;c00c716b&gt;] (map_vm_area) from [&lt;c038ddaf&gt;]
(binder_update_page_range+0x12f/0x27c)
[&lt;c038ddaf&gt;] (binder_update_page_range) from [&lt;c038e857&gt;]
(binder_mmap+0xbf/0x1ac)
[&lt;c038e857&gt;] (binder_mmap) from [&lt;c00c2dc7&gt;] (mmap_region+0x2eb/0x4d4)
[&lt;c00c2dc7&gt;] (mmap_region) from [&lt;c00c3197&gt;] (do_mmap_pgoff+0x1e7/0x250)
[&lt;c00c3197&gt;] (do_mmap_pgoff) from [&lt;c00b35b5&gt;] (vm_mmap_pgoff+0x45/0x60)
[&lt;c00b35b5&gt;] (vm_mmap_pgoff) from [&lt;c00c1f39&gt;] (SyS_mmap_pgoff+0x5d/0x80)
[&lt;c00c1f39&gt;] (SyS_mmap_pgoff) from [&lt;c000ce81&gt;] (ret_fast_syscall+0x1/0x5c)
---[ end trace 48c2c4b9a1349e54 ]---
binder: 1982: binder_alloc_buf failed to map page at f0e00000 in kernel
binder: binder_mmap: 1982 b6bde000-b6cdc000 alloc small buf failed -12

Use map_kernel_range_noflush() instead of map_vm_area() as this is better
API for binder's purposes and it allows to get rid of 'vm_struct tmp_area' at all.

Fixes: 71394fe50146 ("mm: vmalloc: add flag preventing guard hole allocation")
Signed-off-by: Andrey Ryabinin &lt;a.ryabinin@samsung.com&gt;
Reported-by: Amit Pundir &lt;amit.pundir@linaro.org&gt;
Tested-by: Amit Pundir &lt;amit.pundir@linaro.org&gt;
Acked-by: David Rientjes &lt;rientjes@google.com&gt;
Tested-by: John Stultz &lt;john.stultz@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
