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-prev] [day] [month] [year] [list]
Message-ID: <20191014015141.GP9415@shao2-debian>
Date:   Mon, 14 Oct 2019 09:51:41 +0800
From:   kernel test robot <lkp@...el.com>
To:     Mahesh Bandewar <maheshb@...gle.com>
Cc:     Netdev <netdev@...r.kernel.org>,
        Eric Dumazet <edumazet@...gle.com>,
        Wei Wang <weiwan@...gle.com>,
        David Miller <davem@...emloft.net>,
        Mahesh Bandewar <mahesh@...dewar.net>,
        Mahesh Bandewar <maheshb@...gle.com>, lkp@...ts.01.org
Subject: [blackhole_netdev] e2f4187428:
 WARNING:at_fs/proc/generic.c:#remove_proc_entry

FYI, we noticed the following commit (built with gcc-7):

commit: e2f4187428e696c19c186004e5a00acd4076e88d ("[PATCHv2 next] blackhole_netdev: fix syzkaller reported issue")
url: https://github.com/0day-ci/linux/commits/Mahesh-Bandewar/blackhole_netdev-fix-syzkaller-reported-issue/20191013-021135


in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 8G

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


+-------------------------------------------------------+---------------+------------+
|                                                       | next-20191011 | e2f4187428 |
+-------------------------------------------------------+---------------+------------+
| boot_successes                                        | 50            | 0          |
| boot_failures                                         | 0             | 116        |
| WARNING:at_fs/proc/generic.c:#remove_proc_entry       | 0             | 116        |
| RIP:remove_proc_entry                                 | 0             | 116        |
| RIP:native_queued_spin_lock_slowpath                  | 0             | 57         |
| Kernel_panic-not_syncing:softlockup:hung_tasks        | 0             | 57         |
| BUG:kernel_NULL_pointer_dereference,address           | 0             | 7          |
| Oops:#[##]                                            | 0             | 50         |
| RIP:neigh_flush_dev                                   | 0             | 7          |
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt | 0             | 59         |
| RIP:_raw_spin_lock_bh                                 | 0             | 35         |
| BUG:unable_to_handle_page_fault_for_address           | 0             | 28         |
| RIP:fib6_walk_continue                                | 0             | 17         |
| general_protection_fault:#[##]                        | 0             | 7          |
| WARNING:at_net/ipv6/ip6_fib.c:#fib6_walk_continue     | 0             | 10         |
| RIP:fib6_ifdown                                       | 0             | 1          |
+-------------------------------------------------------+---------------+------------+


If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp@...el.com>


[   12.719638] WARNING: CPU: 0 PID: 1 at fs/proc/generic.c:682 remove_proc_entry+0x168/0x180
[   12.720609] Modules linked in:
[   12.720609] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.0-rc2-next-20191011-00001-ge2f4187428e69 #1
[   12.720609] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[   12.720609] RIP: 0010:remove_proc_entry+0x168/0x180
[   12.720609] Code: 00 48 c7 c6 00 52 04 82 48 c7 c7 08 5f 31 82 48 0f 45 c2 48 8b 55 78 4c 8b 80 a0 00 00 00 48 8b 92 a0 00 00 00 e8 48 d0 d4 ff <0f> 0b eb 92 e8 2f d3 d4 ff 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f
[   12.720609] RSP: 0018:ffffc90000013d50 EFLAGS: 00010286
[   12.720609] RAX: 0000000000000000 RBX: ffff8881b53d5440 RCX: ffffffff826656a8
[   12.720609] RDX: 0000000000000001 RSI: 0000000000000082 RDI: 0000000000000246
[   12.720609] RBP: ffff8881b53d53c0 R08: 00000000000001e0 R09: 0000000000000065
[   12.720609] R10: ffffc9000006bda8 R11: ffffc90000013bf0 R12: ffff88822a711000
[   12.720609] R13: ffffffff827f5488 R14: ffffffff827f5460 R15: 0000000000000000
[   12.720609] FS:  0000000000000000(0000) GS:ffff88823fc00000(0000) knlGS:0000000000000000
[   12.720609] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   12.720609] CR2: 00007f1eacc05840 CR3: 000000000260a000 CR4: 00000000000406f0
[   12.720609] Call Trace:
[   12.720609]  ipv6_proc_exit_net+0x2f/0x50
[   12.720609]  ops_exit_list+0x36/0x70
[   12.720609]  unregister_pernet_operations+0xf1/0x150
[   12.720609]  ? af_unix_init+0x4e/0x4e
[   12.720609]  ? set_debug_rodata+0x11/0x11
[   12.720609]  unregister_pernet_subsys+0x1d/0x30
[   12.720609]  inet6_init+0x2eb/0x388
[   12.720609]  do_one_initcall+0x46/0x214
[   12.720609]  kernel_init_freeable+0x1c2/0x26d
[   12.720609]  ? rest_init+0xd0/0xd0
[   12.720609]  kernel_init+0xa/0x110
[   12.720609]  ret_from_fork+0x35/0x40
[   12.720609] ---[ end trace 4b2d12628b94d1b5 ]---


To reproduce:

        # build kernel
	cd linux
	cp config-5.4.0-rc2-next-20191011-00001-ge2f4187428e69 .config
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email



Thanks,
lkp


View attachment "config-5.4.0-rc2-next-20191011-00001-ge2f4187428e69" of type "text/plain" (180243 bytes)

View attachment "job-script" of type "text/plain" (4692 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (13380 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ