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:   Thu, 17 Oct 2019 16:32:46 +0800
From:   kernel test robot <lkp@...el.com>
To:     Mahesh Bandewar <maheshb@...gle.com>
Cc:     "David S. Miller" <davem@...emloft.net>,
        LKML <linux-kernel@...r.kernel.org>,
        Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...ts.01.org
Subject: [blackhole_netdev]  [confidence: ] b0818f80c8:
 WARNING:at_fs/proc/generic.c:#remove_proc_entry

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

commit: b0818f80c8c1bc215bba276bd61c216014fab23b ("blackhole_netdev: fix syzkaller reported issue")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

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):


+-------------------------------------------------------+------------+------------+
|                                                       | 9cb0aec9ad | b0818f80c8 |
+-------------------------------------------------------+------------+------------+
| boot_successes                                        | 28         | 0          |
| boot_failures                                         | 0          | 36         |
| WARNING:at_fs/proc/generic.c:#remove_proc_entry       | 0          | 36         |
| RIP:remove_proc_entry                                 | 0          | 36         |
| RIP:queued_spin_lock_slowpath                         | 0          | 21         |
| Kernel_panic-not_syncing:softlockup:hung_tasks        | 0          | 21         |
| BUG:kernel_NULL_pointer_dereference,address           | 0          | 9          |
| Oops:#[##]                                            | 0          | 11         |
| RIP:fib6_walk_continue                                | 0          | 6          |
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt | 0          | 11         |
| WARNING:at_net/ipv6/ip6_fib.c:#fib6_walk_continue     | 0          | 4          |
| RIP:neigh_flush_dev                                   | 0          | 5          |
| BUG:unable_to_handle_page_fault_for_address           | 0          | 1          |
| RIP:_raw_spin_lock_bh                                 | 0          | 1          |
+-------------------------------------------------------+------------+------------+


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


[    4.870076] WARNING: CPU: 0 PID: 1 at fs/proc/generic.c:684 remove_proc_entry+0x171/0x180
[    4.871043] Modules linked in:
[    4.871043] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.0-rc1-00362-gb0818f80c8c1b #1
[    4.871043] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    4.871043] RIP: 0010:remove_proc_entry+0x171/0x180
[    4.871043] Code: 00 48 c7 c6 c0 7a 05 ac 48 c7 c7 f8 84 33 ac 48 0f 45 c2 48 8b 55 78 4c 8b 80 a0 00 00 00 48 8b 92 a0 00 00 00 e8 af 3d d4 ff <0f> 0b eb 88 e8 86 40 d4 ff 66 0f 1f 44 00 00 66 66 66 66 90 41 57
[    4.871043] RSP: 0000:ffffb13780013d90 EFLAGS: 00010282
[    4.871043] RAX: 0000000000000000 RBX: ffff9c3131ce82c0 RCX: ffffffffac651f68
[    4.871043] RDX: 0000000000000001 RSI: 0000000000000086 RDI: 0000000000000246
[    4.871043] RBP: ffff9c3131ce8240 R08: 00000000000001f5 R09: 0000000000000065
[    4.871043] R10: ffffb1378006bd88 R11: ffffb13780013c30 R12: ffff9c316a705240
[    4.871043] R13: ffffffffac721908 R14: ffffffffac7218e0 R15: 0000000000000000
[    4.871043] FS:  0000000000000000(0000) GS:ffff9c317fc00000(0000) knlGS:0000000000000000
[    4.871043] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    4.871043] CR2: 0000000000000000 CR3: 00000000a260a000 CR4: 00000000000406f0
[    4.871043] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    4.871043] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[    4.871043] Call Trace:
[    4.871043]  ipv6_proc_exit_net+0x2f/0x50
[    4.871043]  ops_exit_list+0x36/0x70
[    4.871043]  unregister_pernet_operations+0xf1/0x150
[    4.871043]  ? af_unix_init+0x4e/0x4e
[    4.871043]  ? set_debug_rodata+0x11/0x11
[    4.871043]  unregister_pernet_subsys+0x1d/0x30
[    4.871043]  inet6_init+0x2eb/0x388
[    4.871043]  do_one_initcall+0x46/0x214
[    4.871043]  kernel_init_freeable+0x1b6/0x273
[    4.871043]  ? rest_init+0xd0/0xd0
[    4.871043]  kernel_init+0xa/0x110
[    4.871043]  ret_from_fork+0x35/0x40
[    4.871043] ---[ end trace 727e474a6092601b ]---


To reproduce:

        # build kernel
	cd linux
	cp config-5.4.0-rc1-00362-gb0818f80c8c1b .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-rc1-00362-gb0818f80c8c1b" of type "text/plain" (211389 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ