lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Tue, 07 May 2019 02:33:05 -0700
From:   syzbot <syzbot+a65e6ce239e4afe6c5e7@...kaller.appspotmail.com>
To:     ard.biesheuvel@...aro.org, bp@...e.de,
        linux-kernel@...r.kernel.org, mingo@...nel.org,
        netdev@...r.kernel.org, peterz@...radead.org,
        syzkaller-bugs@...glegroups.com, tglx@...utronix.de,
        yamada.masahiro@...ionext.com
Subject: WARNING in __static_key_slow_dec_cpuslocked

Hello,

syzbot found the following crash on:

HEAD commit:    a734d1f4 net: openvswitch: return an error instead of doin..
git tree:       net-next
console output: https://syzkaller.appspot.com/x/log.txt?x=11467d84a00000
kernel config:  https://syzkaller.appspot.com/x/.config?x=bcf30bdc781fc378
dashboard link: https://syzkaller.appspot.com/bug?extid=a65e6ce239e4afe6c5e7
compiler:       gcc (GCC) 9.0.0 20181231 (experimental)

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+a65e6ce239e4afe6c5e7@...kaller.appspotmail.com

------------[ cut here ]------------
jump label: negative count!
WARNING: CPU: 0 PID: 16038 at kernel/jump_label.c:219  
__static_key_slow_dec_cpuslocked+0x12d/0x150 kernel/jump_label.c:219
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 16038 Comm: syz-executor.1 Not tainted 5.1.0-rc7+ #167
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS  
Google 01/01/2011
Call Trace:
  __dump_stack lib/dump_stack.c:77 [inline]
  dump_stack+0x172/0x1f0 lib/dump_stack.c:113
  panic+0x2cb/0x65c kernel/panic.c:214
  __warn.cold+0x20/0x45 kernel/panic.c:571
  report_bug+0x263/0x2b0 lib/bug.c:186
  fixup_bug arch/x86/kernel/traps.c:179 [inline]
  fixup_bug arch/x86/kernel/traps.c:174 [inline]
  do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:272
  do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:291
  invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:973
RIP: 0010:__static_key_slow_dec_cpuslocked+0x12d/0x150  
kernel/jump_label.c:219
Code: 84 d2 75 2d 41 8b 1c 24 31 ff 89 de e8 bc 18 e6 ff 85 db 0f 89 56 ff  
ff ff e8 2f 17 e6 ff 48 c7 c7 00 aa 71 87 e8 01 c5 b8 ff <0f> 0b e9 3e ff  
ff ff 4c 89 e7 e8 a4 a5 1e 00 eb c9 48 c7 c7 78 d6
RSP: 0018:ffff88808ed07910 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 00000000ffffffff RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff815afcc6 RDI: ffffed1011da0f14
RBP: ffff88808ed07930 R08: ffff8880964bc080 R09: ffffed1015d05011
R10: ffffed1015d05010 R11: ffff8880ae828087 R12: ffffffff8b14f560
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
  __static_key_slow_dec kernel/jump_label.c:238 [inline]
  static_key_slow_dec+0x60/0xa0 kernel/jump_label.c:252
  udp_destroy_sock net/ipv4/udp.c:2494 [inline]
  udp_destroy_sock+0x152/0x220 net/ipv4/udp.c:2480
  sk_common_release+0x6d/0x330 net/core/sock.c:3151
  udp_lib_close+0x16/0x20 include/net/udp.h:206
  inet_release+0x105/0x1f0 net/ipv4/af_inet.c:432
  __sock_release+0xd3/0x2b0 net/socket.c:599
  sock_close+0x1b/0x30 net/socket.c:1267
  __fput+0x2e5/0x8d0 fs/file_table.c:278
  ____fput+0x16/0x20 fs/file_table.c:309
  task_work_run+0x14a/0x1c0 kernel/task_work.c:113
  exit_task_work include/linux/task_work.h:22 [inline]
  do_exit+0x90a/0x2fa0 kernel/exit.c:876
  do_group_exit+0x135/0x370 kernel/exit.c:980
  get_signal+0x399/0x1d50 kernel/signal.c:2577
  do_signal+0x87/0x1940 arch/x86/kernel/signal.c:816
  exit_to_usermode_loop+0x244/0x2c0 arch/x86/entry/common.c:162
  prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline]
  syscall_return_slowpath arch/x86/entry/common.c:268 [inline]
  do_syscall_64+0x52d/0x610 arch/x86/entry/common.c:293
  entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x458da9
Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7  
48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff  
ff 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f05c42b4c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000458da9
RDX: 0000000020000040 RSI: 0000000000008914 RDI: 0000000000000006
RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f05c42b56d4
R13: 00000000004c4635 R14: 00000000004d7ec8 R15: 00000000ffffffff
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 syzkaller@...glegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ