Bug 199851

Summary: KASAN: slab-out-of-bounds in get_block_address.isra
Product: Memory Management Reporter: higuita (higuita)
Component: Slab AllocatorAssignee: Andrew Morton (akpm)
Status: CLOSED CODE_FIX    
Severity: normal CC: bp
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.16.12 Subsystem:
Regression: No Bisected commit-id:
Attachments: full dmesg with kasan oops
My kernel .config

Description higuita 2018-05-27 00:44:45 UTC
Created attachment 276219 [details]
full dmesg with kasan oops

Building 4.16.12 with kasan, i get this every time during boot:

 BUG: KASAN: slab-out-of-bounds in get_block_address.isra.3+0x1c3/0x2f0
 Read of size 4 at addr ffff88053e3abd34 by task swapper/0/1
Comment 1 higuita 2018-05-27 00:45:26 UTC
Created attachment 276221 [details]
My kernel .config
Comment 2 Borislav Petkov 2018-05-30 07:37:56 UTC
Already fixed:

78ce241099bb ("x86/MCE/AMD: Cache SMCA MISC block addresses")

Lemme ping Greg to take it into 4.16-stable.

Thx.
Comment 3 Borislav Petkov 2018-06-04 13:00:34 UTC
Pls try 4.16.14-rc1 from here:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/

It should fix your issue.

Thx.
Comment 4 Borislav Petkov 2018-09-12 15:55:24 UTC
Looks forgotten and should be already fixed. Reopen if more needs to be done.