Hello,
syzbot found the following crash on:
HEAD commit: a3eed83a1895 Merge branch 'qed-Add-support-for-phy-module-..
git tree: net-next
console output:
https://syzkaller.appspot.com/x/log.txt?x=17e714c8400000
kernel config:
https://syzkaller.appspot.com/x/.config?x=58f6185fa346f192
dashboard link:
https://syzkaller.appspot.com/bug?extid=4c05c845b57d7db28095
compiler: gcc (GCC) 8.0.1 20180413 (experimental)
CC: [
da...@davemloft.net linux-...@vger.kernel.org
net...@vger.kernel.org]
Unfortunately, I don't have any reproducer for this crash yet.
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by:
syzbot+4c05c8...@syzkaller.appspotmail.com
netlink: 8 bytes leftover after parsing attributes in process
`syz-executor6'.
RIP: 0010:__lock_acquire+0x2e/0x5020 kernel/locking/lockdep.c:3294
Code:
cache_from_obj: Wrong slab cache. sock_inode_cache but object is
from �C�� ����萁����
41 57 41 89 cf 41 56 41 55 49 89 fd 41 54 45 89 cc 53 65 4c 8b 34 25 40 ee
01 00 48 83 e4 f0 48
WARNING: CPU: 0 PID: 10959 at mm/slab.h:379 cache_from_obj mm/slab.h:377
[inline]
WARNING: CPU: 0 PID: 10959 at mm/slab.h:379 kmem_cache_free+0x156/0x2d0
mm/slab.c:3748
81 ec
Kernel panic - not syncing: panic_on_warn set ...
60 03
CPU: 0 PID: 10959 Comm: syz-executor3 Not tainted 4.18.0-rc3+ #130
00 00
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
48 8b
Call Trace:
45 10
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113
<89>
94 24
panic+0x238/0x4e7 kernel/panic.c:184
80 00
00 00
48 ba
00
00 00
__warn.cold.8+0x163/0x1ba kernel/panic.c:536
00 00
fc ff
report_bug+0x252/0x2d0 lib/bug.c:186
df 48
fixup_bug arch/x86/kernel/traps.c:178 [inline]
do_error_trap+0x1fc/0x4d0 arch/x86/kernel/traps.c:296
89 84
24 98
RSP: 0018:ffff8801c7a4ef00 EFLAGS: 00010086
RAX: 0000000000000000 RBX: 1ffff10038f49e5c RCX: 0000000000000002
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff88f92620
RBP: ffff8801c7a4f288 R08: 0000000000000000 R09: 0000000000000000
R10: ffff8801c7bcfbe0 R11: ffff8801d7ca8d7b R12: 0000000000000000
R13: ffffffff88f92620 R14: ffff8801d7ca8600 R15: 0000000000000002
do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316
FS: 0000000000e56940(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:992
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff8801c7a4eef8 CR3: 00000001ca2f6000 CR4: 00000000001406e0
RIP: 0010:cache_from_obj mm/slab.h:377 [inline]
RIP: 0010:kmem_cache_free+0x156/0x2d0 mm/slab.c:3748
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Code:
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ff 4c 3b a0 80 00 00 00 0f 84 11 01 00 00 48 8b 48 58 49 8b 54 24 58 48 c7
c6 20 9f f2 87 48 c7 c7 b8 88 c0 88 e8 1e 56 a9 ff <0f> 0b e9 c3 fe ff ff
48 83 3d 23 03 38 07 00 0f 84 49 01 00 00 4c
RSP: 0018:ffff8801b675f498 EFLAGS: 00010286
RAX: 0000000000000057 RBX: ffff880190476200 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff81631851 RDI: ffff8801b675f190
RBP: ffff8801b675f4b8 R08: ffff8801a8f0e280 R09: fffffbfff11f11e4
R10: fffffbfff11f11e4 R11: ffffffff88f88f23 R12: ffff8801d9be93c0
R13: 1ffff10036cebe9d R14: ffff8801904763d0 R15: ffff8801904763d0
sock_destroy_inode+0x56/0x70 net/socket.c:273
destroy_inode+0x159/0x200 fs/inode.c:267
evict+0x5d5/0x990 fs/inode.c:575
iput_final fs/inode.c:1506 [inline]
iput+0x635/0xaa0 fs/inode.c:1532
dentry_unlink_inode+0x4ae/0x640 fs/dcache.c:376
__dentry_kill+0x44c/0x7a0 fs/dcache.c:568
dentry_kill+0xc9/0x5a0 fs/dcache.c:687
dput.part.26+0x66b/0x7a0 fs/dcache.c:848
dput+0x15/0x20 fs/dcache.c:830
__fput+0x55a/0x8b0 fs/file_table.c:227
____fput+0x15/0x20 fs/file_table.c:243
task_work_run+0x1ec/0x2a0 kernel/task_work.c:113
tracehook_notify_resume include/linux/tracehook.h:192 [inline]
exit_to_usermode_loop+0x313/0x370 arch/x86/entry/common.c:166
prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline]
syscall_return_slowpath arch/x86/entry/common.c:268 [inline]
do_syscall_64+0x6be/0x820 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x40fb91
Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 34 19 00 00 c3 48
83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48
89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01
RSP: 002b:00007ffd96cec720 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000014 RCX: 000000000040fb91
RDX: 0000000000000000 RSI: 00000000007312b8 RDI: 0000000000000013
RBP: 0000000000000013 R08: 0000000000000000 R09: 0000000000000000
R10: 00007ffd96cec5a0 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffd96cecdd0 R15: 00000000007034c0
Shutting down cpus with NMI
Dumping ftrace buffer:
(ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..
---
This bug is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with
syzbot.