================================================================== BUG: KASAN: slab-out-of-bounds in check_prev_add kernel/locking/lockdep.c:2298 [inline] BUG: KASAN: slab-out-of-bounds in check_prevs_add kernel/locking/lockdep.c:2418 [inline] BUG: KASAN: slab-out-of-bounds in validate_chain+0x1a35/0x84f0 kernel/locking/lockdep.c:2800 Write of size 8 at addr ffff888079909ff0 by task syz-executor.3/8856 CPU: 1 PID: 8856 Comm: syz-executor.3 Not tainted 5.2.0-rc6+ #7 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: Allocated by task 2039518064: usercopy: Kernel memory overwrite attempt detected to SLAB object 'kmalloc-4k' (offset 4160, size 2)! ------------[ cut here ]------------ kernel BUG at mm/usercopy.c:98! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 8856 Comm: syz-executor.3 Not tainted 5.2.0-rc6+ #7 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:usercopy_abort+0x8d/0x90 mm/usercopy.c:86 Code: 84 5e 88 48 0f 44 de 48 c7 c7 7e a3 5d 88 4c 89 ce 4c 89 d1 4d 89 d8 49 89 c1 31 c0 41 57 41 56 53 e8 3a 92 a8 ff 48 83 c4 18 <0f> 0b 90 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 30 41 89 RSP: 0018:ffff888079909248 EFLAGS: 00010086 RAX: 0000000000000068 RBX: ffffffff885e842b RCX: 6b8211ab08e21f00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff888079909260 R08: ffffffff817fec49 R09: ffffed1015d644c6 R10: ffffed1015d644c6 R11: 1ffff11015d644c5 R12: ffff888079909382 R13: 0000000000000200 R14: 0000000000001040 R15: 0000000000000002 FS: 0000555556c3a940(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffff8adaea30 CR3: 000000008cd49000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: Modules linked in: ---[ end trace 06210b9b36d3fbcd ]--- RIP: 0010:usercopy_abort+0x8d/0x90 mm/usercopy.c:86 Code: 84 5e 88 48 0f 44 de 48 c7 c7 7e a3 5d 88 4c 89 ce 4c 89 d1 4d 89 d8 49 89 c1 31 c0 41 57 41 56 53 e8 3a 92 a8 ff 48 83 c4 18 <0f> 0b 90 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 30 41 89 RSP: 0018:ffff888079909248 EFLAGS: 00010086 RAX: 0000000000000068 RBX: ffffffff885e842b RCX: 6b8211ab08e21f00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff888079909260 R08: ffffffff817fec49 R09: ffffed1015d644c6 R10: ffffed1015d644c6 R11: 1ffff11015d644c5 R12: ffff888079909382 R13: 0000000000000200 R14: 0000000000001040 R15: 0000000000000002 FS: 0000555556c3a940(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffff8adaea30 CR3: 000000008cd49000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400