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>] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 23 Dec 2017 12:50:01 -0800
From:   syzbot 
        <bot+9f03168400f56df89dbc6f1751f4458fe739ff29@...kaller.appspotmail.com>
To:     dvyukov@...gle.com, gregkh@...uxfoundation.org,
        linux-kernel@...r.kernel.org, syzkaller-bugs@...glegroups.com
Subject: WARNING in sysfs_remove_group

syzkaller has found reproducer for the following crash on  
9c294ec08408ed90c0f2d994a7979366675e3734
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master
compiler: gcc (GCC) 7.1.1 20170620
.config is attached
Raw console output is attached.
C reproducer is attached
syzkaller reproducer is attached. See https://goo.gl/kgGztJ
for information about syzkaller reproducers


[ 3150]     0  3150     4336        1    28672        0             0  
syzkaller993051
Out of memory: Kill process 3148 (sshd) score 0 or sacrifice child
Killed process 3150 (syzkaller993051) total-vm:17344kB, anon-rss:4kB,  
file-rss:0kB, shmem-rss:0kB
------------[ cut here ]------------
sysfs group 'loop' not found for kobject 'loop0'
WARNING: CPU: 0 PID: 3150 at fs/sysfs/group.c:237  
sysfs_remove_group+0x15b/0x1b0 fs/sysfs/group.c:235
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 3150 Comm: syzkaller993051 Not tainted 4.15.0-rc4+ #145
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS  
Google 01/01/2011
Call Trace:
  __dump_stack lib/dump_stack.c:17 [inline]
  dump_stack+0x194/0x257 lib/dump_stack.c:53
  panic+0x1e4/0x41c kernel/panic.c:183
  __warn+0x1dc/0x200 kernel/panic.c:547
  report_bug+0x211/0x2d0 lib/bug.c:184
  fixup_bug.part.11+0x37/0x80 arch/x86/kernel/traps.c:177
  fixup_bug arch/x86/kernel/traps.c:246 [inline]
  do_error_trap+0x2d7/0x3e0 arch/x86/kernel/traps.c:295
  do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314
  invalid_op+0x22/0x40 arch/x86/entry/entry_64.S:1061
RIP: 0010:sysfs_remove_group+0x15b/0x1b0 fs/sysfs/group.c:235
RSP: 0018:ffff8801c8b37140 EFLAGS: 00010282
RAX: dffffc0000000008 RBX: ffffffff862ef6a0 RCX: ffffffff8159b35e
RDX: 0000000000000000 RSI: 1ffff100394e0d18 RDI: 0000000000000293
RBP: ffff8801c8b37168 R08: 1ffff10039166dbb R09: 0000000000000000
R10: ffffffff874c80c0 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8801d61115a0 R14: ffffffff856824e0 R15: ffff8801d6009528
  loop_sysfs_exit drivers/block/loop.c:798 [inline]
  loop_clr_fd+0x4f2/0xb50 drivers/block/loop.c:1051
  lo_release+0xee/0x180 drivers/block/loop.c:1598
  __blkdev_put+0x62d/0x7f0 fs/block_dev.c:1770
  blkdev_put+0x85/0x4f0 fs/block_dev.c:1835
  blkdev_close+0x8b/0xb0 fs/block_dev.c:1842
  __fput+0x327/0x7e0 fs/file_table.c:210
  ____fput+0x15/0x20 fs/file_table.c:244
  task_work_run+0x199/0x270 kernel/task_work.c:113
  exit_task_work include/linux/task_work.h:22 [inline]
  do_exit+0x9bb/0x1ad0 kernel/exit.c:865
  do_group_exit+0x149/0x400 kernel/exit.c:968
  get_signal+0x73f/0x16c0 kernel/signal.c:2335
  do_signal+0x94/0x1ee0 arch/x86/kernel/signal.c:809
  exit_to_usermode_loop+0x214/0x310 arch/x86/entry/common.c:158
  prepare_exit_to_usermode+0x2e1/0x340 arch/x86/entry/common.c:195
  retint_user+0x8/0x18
RIP: 0023:0x8048b14
RSP: 002b:00000000ff8cb430 EFLAGS: 00010217
RAX: 0000000020000000 RBX: 0000000000000000 RCX: 0000000000fff000
RDX: 0000000000000003 RSI: 00000000ff8cb45c RDI: 00000000ff8cb45e
RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Dumping ftrace buffer:
    (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..


View attachment "config.txt" of type "text/plain" (126387 bytes)

Download attachment "raw.log" of type "application/octet-stream" (30254 bytes)

View attachment "repro.txt" of type "text/plain" (569 bytes)

Download attachment "repro.c" of type "application/octet-stream" (3228 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ