Bug 199851 - KASAN: slab-out-of-bounds in get_block_address.isra
Summary: KASAN: slab-out-of-bounds in get_block_address.isra
Status: CLOSED CODE_FIX
Alias: None
Product: Memory Management
Classification: Unclassified
Component: Slab Allocator (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Andrew Morton
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-27 00:44 UTC by higuita
Modified: 2018-09-12 15:55 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.16.12
Subsystem:
Regression: No
Bisected commit-id:


Attachments
full dmesg with kasan oops (73.71 KB, text/plain)
2018-05-27 00:44 UTC, higuita
Details
My kernel .config (179.89 KB, text/plain)
2018-05-27 00:45 UTC, higuita
Details

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.

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