On Thu, May 18, 2017 at 8:16 PM, Michael Ellerman wrote:
> Kees Cook writes:
>> On Tue, May 16, 2017 at 4:09 AM, Michael Ellerman
>> wrote:
>>> Yeah it looks like powerpc also suffers from the same bug that arm64
>>> used to, ie.
Breno Leitao writes:
> Hello,
>
> Kernel 4.12-rc1 is showing a bug when I try it on a POWER8 virtual
> machine. Justing SSHing into the machine causes this issue.
Can you try this?
cheers
diff --git a/arch/powerpc/include/asm/page.h b/arch/powerpc/include/asm/page.h
index
Kees Cook writes:
> On Tue, May 16, 2017 at 4:09 AM, Michael Ellerman wrote:
>> Yeah it looks like powerpc also suffers from the same bug that arm64
>> used to, ie. virt_addr_valid() will return true for some vmalloc
>> addresses.
>>
>>
el memory overwrite attempt detected to
>>>> d00003d80030 (mm_struct) (560 bytes)
>>>> [23.138195] [ cut here ]
>>>> [23.138229] kernel BUG at mm/usercopy.c:72!
>>>> [23.138252] Oops: Exception in kernel mode, sig: 5 [#3]
> > Kees, depending on how that turns out we may ask you to revert
> > 517e1fbeb65f ("mm/usercopy: Drop extra is_vmalloc_or_module() check").
>
> That's fine by me. Let me know what you think would be best.
>
> Laura, I don't see much harm in putting this back in place. It seems
> like it's just
ue.
> >
> > [23.138124] usercopy: kernel memory overwrite attempt detected to
> > d3d80030 (mm_struct) (560 bytes)
> > [23.138195] --------[ cut here ]----
> > [23.138229] kernel BUG at mm/usercopy.c:72!
> > [23.138252] Oops: Ex
showing a bug when I try it on a POWER8 virtual
>>> machine. Justing SSHing into the machine causes this issue.
>>>
>>> [23.138124] usercopy: kernel memory overwrite attempt detected to
>>> d3d80030 (mm_struct) (560 bytes)
>>>
ing SSHing into the machine causes this issue.
>>
>> [23.138124] usercopy: kernel memory overwrite attempt detected to
>> d3d80030 (mm_struct) (560 bytes)
>> [23.138195] --------[ cut here ]
>> [23.138229] kernel BUG at mm/use
erwrite attempt detected to
> d3d80030 (mm_struct) (560 bytes)
> [23.138195] [ cut here ]--------
> [23.138229] kernel BUG at mm/usercopy.c:72!
> [23.138252] Oops: Exception in kernel mode, sig: 5 [#3]
> [23.138280] SMP NR_CPUS=2048
> [23
0003d80030 (mm_struct) (560 bytes)
> [23.138195] [ cut here ]--------
> [23.138229] kernel BUG at mm/usercopy.c:72!
> [23.138252] Oops: Exception in kernel mode, sig: 5 [#3]
> [23.138280] SMP NR_CPUS=2048
> [23.138280] NUMA
> [2
chine. Justing SSHing into the machine causes this issue.
>>>
>>> [23.138124] usercopy: kernel memory overwrite attempt detected to
>>> d3d80030 (mm_struct) (560 bytes)
>>> [23.138195] --------[ cut here ]
>>> [23.138229] kern
; > [23.138124] usercopy: kernel memory overwrite attempt detected to
> > d3d80030 (mm_struct) (560 bytes)
> > [23.138195] ----[ cut here ]----
> > [23.138229] kernel BUG at mm/usercopy.c:72!
> > [23.138252] Oops: Exception i
0003d80030 (mm_struct) (560 bytes)
> [23.138195] [ cut here ]----
> [23.138229] kernel BUG at mm/usercopy.c:72!
> [23.138252] Oops: Exception in kernel mode, sig: 5 [#3]
> [23.138280] SMP NR_CPUS=2048
> [23.138280] NUMA
>
]
[23.138229] kernel BUG at mm/usercopy.c:72!
[23.138252] Oops: Exception in kernel mode, sig: 5 [#3]
[23.138280] SMP NR_CPUS=2048
[23.138280] NUMA
[23.138302] pSeries
[23.138330] Modules linked in:
[23.138354] CPU: 4 PID: 2215 Comm
14 matches
Mail list logo