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] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 1 Aug 2017 05:20:06 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Shaohua Li <shli@...nel.org>
Cc:     netdev@...r.kernel.org, davem@...emloft.net, Kernel-team@...com,
        Shaohua Li <shli@...com>, Wei Wang <weiwan@...gle.com>,
        lkp@...org
Subject: [net ipv6]  ee57005022:
 WARNING:at_kernel/softirq.c:#__local_bh_enable_ip

FYI, we noticed the following commit:

commit: ee57005022f52f0c3788ec69196deaecd0ebf9e5 ("net ipv6: convert fib6_table rwlock to a percpu lock")
url: https://github.com/0day-ci/linux/commits/Shaohua-Li/net-ipv6-convert-fib6_table-rwlock-to-a-percpu-lock/20170801-031618


in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -m 420M

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


+----------------------------------------------------------------+------------+------------+
|                                                                | fb5e7606b1 | ee57005022 |
+----------------------------------------------------------------+------------+------------+
| boot_successes                                                 | 12         | 6          |
| boot_failures                                                  | 0          | 32         |
| WARNING:at_kernel/softirq.c:#__local_bh_enable_ip              | 0          | 32         |
| BUG:sleeping_function_called_from_invalid_context_at_mm/slab.h | 0          | 10         |
| WARNING:at_fs/read_write.c:#vfs_read                           | 0          | 10         |
| BUG:scheduling_while_atomic                                    | 0          | 23         |
| Kernel_panic-not_syncing:Aiee,killing_interrupt_handler        | 0          | 9          |
+----------------------------------------------------------------+------------+------------+



[    7.312970] WARNING: CPU: 0 PID: 374 at kernel/softirq.c:161 __local_bh_enable_ip+0x46/0x60
[    7.315122] Modules linked in:
[    7.316021] CPU: 0 PID: 374 Comm: sysctl Not tainted 4.13.0-rc1-00472-gee570050 #19
[    7.317879] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    7.320049] task: ffff880002768000 task.stack: ffffc90000330000
[    7.321309] RIP: 0010:__local_bh_enable_ip+0x46/0x60
[    7.322431] RSP: 0000:ffffc90000333d00 EFLAGS: 00010206
[    7.323611] RAX: 000000007ffffdff RBX: ffff880019d7b600 RCX: ffff880019d7b680
[    7.324978] RDX: 0000000000000002 RSI: 0000000000000201 RDI: ffffffff819413d2
[    7.326383] RBP: ffffc90000333d00 R08: 0000000000000000 R09: ffffffff81858eb9
[    7.327813] R10: ffffea0000676e00 R11: 0000000000000000 R12: ffff880019c5e500
[    7.329234] R13: 00000000000007f0 R14: ffffffff82009600 R15: ffff88000ab37d00
[    7.330643] FS:  0000000000000000(0000) GS:ffff88000be00000(0063) knlGS:00000000f7f95690
[    7.332571] CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
[    7.333835] CR2: 00000000f7f63474 CR3: 0000000019e07000 CR4: 00000000000006f0
[    7.335229] Call Trace:
[    7.336056]  _raw_spin_unlock_bh+0x1e/0x20
[    7.337073]  rt6_purge_dflt_routers+0x112/0x140
[    7.338157]  addrconf_sysctl_forward+0xfe/0x230
[    7.339222]  ? dev_forward_change+0x140/0x140
[    7.340256]  proc_sys_call_handler+0xcc/0xe0
[    7.341291]  proc_sys_write+0x14/0x20
[    7.342271]  __vfs_write+0x28/0x150
[    7.343229]  ? __might_sleep+0x4a/0x80
[    7.344188]  vfs_write+0xc7/0x1b0
[    7.345118]  SyS_write+0x46/0xa0
[    7.346063]  do_int80_syscall_32+0x65/0x140
[    7.347127]  entry_INT80_compat+0x33/0x40
[    7.348121] RIP: 0023:0xf7f10e1e
[    7.349056] RSP: 002b:00000000ffbf66dc EFLAGS: 00000246 ORIG_RAX: 0000000000000004
[    7.350969] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000009fd20f5
[    7.352345] RDX: 0000000000000001 RSI: 0000000009fd20f5 RDI: 0000000000000001
[    7.353739] RBP: 00000000ffbf66fc R08: 0000000000000000 R09: 0000000000000000
[    7.355112] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[    7.356488] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[    7.357906] Code: 44 00 00 f6 c4 02 74 23 83 ee 01 f7 de 65 01 35 01 7d f8 7e 65 8b 05 fa 7c f8 7e a9 00 ff 1f 00 74 0d 65 ff 0d ec 7c f8 7e 5d c3 <0f> ff eb d9 65 8b 05 4f 42 f9 7e 85 c0 74 e8 e8 56 ff ff ff eb 
[    7.361624] ---[ end trace 277724d96c352564 ]---


To reproduce:

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



Thanks,
Kernel Test Robot

View attachment "config-4.13.0-rc1-00472-gee570050" of type "text/plain" (160959 bytes)

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

Download attachment "dmesg.xz" of type "application/octet-stream" (11416 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ