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]
Date:   Thu, 26 Oct 2017 00:20:41 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Tim Hansen <devtimhansen@...il.com>
Cc:     davem@...emloft.net, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org, alexander.levin@....verizon.com,
        devtimhansen@...il.com, lkp@...org
Subject: [lkp-robot] [net/sock]  e7396cb0c7: BUG:unable_to_handle_kernel


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

commit: e7396cb0c70c677f0ba6ec185268ab37dfd70e8b ("net/sock: Update sk rcu iterator macro.")
url: https://github.com/0day-ci/linux/commits/Tim-Hansen/net-sock-Update-sk-rcu-iterator-macro/20171024-011056


in testcase: boot

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

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


+-------------------------------------------------------+------------+------------+
|                                                       | 058c8d5912 | e7396cb0c7 |
+-------------------------------------------------------+------------+------------+
| boot_successes                                        | 6          | 2          |
| boot_failures                                         | 4          | 8          |
| BUG:kernel_hang_in_test_stage                         | 4          |            |
| BUG:unable_to_handle_kernel                           | 0          | 8          |
| Oops:#[##]                                            | 0          | 8          |
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt | 0          | 8          |
+-------------------------------------------------------+------------+------------+



[    6.460307] BUG: unable to handle kernel NULL pointer dereference at           (null)
[    6.462280] IP: __udp4_lib_rcv+0x4a4/0x7b9
[    6.463023] PGD 0 P4D 0 
[    6.463518] Oops: 0000 [#1] PREEMPT SMP
[    6.464240] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.0-rc5-01670-ge7396cb #21
[    6.465614] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    6.467136] task: ffff9ddbc0050000 task.stack: ffffb8d300008000
[    6.468208] RIP: 0010:__udp4_lib_rcv+0x4a4/0x7b9
[    6.469050] RSP: 0000:ffff9ddbd9e03b98 EFLAGS: 00010297
[    6.469692] RAX: 0000000000000000 RBX: ffff9ddbd4fb78e2 RCX: ffff9ddbd7a5a000
[    6.470432] RDX: 0000000000000040 RSI: 0000000000000044 RDI: 0000000000000005
[    6.471164] RBP: ffff9ddbd9e03bf0 R08: ffff9ddbc0050808 R09: 0000000041aaf7e1
[    6.472046] R10: 000000000202000a R11: ffffffffb434ecea R12: 0000000000000000
[    6.473262] R13: ffff9ddbd769a600 R14: 00000000000000ff R15: ffffffffb456d6b0
[    6.474089] FS:  0000000000000000(0000) GS:ffff9ddbd9e00000(0000) knlGS:0000000000000000
[    6.474917] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    6.475507] CR2: 0000000000000000 CR3: 000000000d416000 CR4: 00000000001406f0
[    6.476518] Call Trace:
[    6.476777]  <IRQ>
[    6.477004]  udp_rcv+0x15/0x17
[    6.477327]  ip_local_deliver_finish+0x97/0x1bf
[    6.477824]  ip_local_deliver+0xf7/0x100
[    6.478320]  ? inet_del_offload+0x40/0x40
[    6.478739]  ip_rcv_finish+0x31b/0x395
[    6.479139]  ip_rcv+0x31e/0x353
[    6.479473]  ? ic_bootp_recv+0x223/0x54e
[    6.479892]  __netif_receive_skb_core+0x5a6/0x714
[    6.480383]  __netif_receive_skb+0x18/0x59
[    6.480809]  netif_receive_skb_internal+0x79/0x16e
[    6.481311]  napi_gro_receive+0x48/0x80
[    6.481713]  e1000_clean_rx_irq+0x371/0x3ef
[    6.482156]  e1000_clean+0x523/0x6a6
[    6.482532]  net_rx_action+0xf0/0x237
[    6.482920]  __do_softirq+0xc9/0x1c7
[    6.483295]  do_softirq_own_stack+0x2a/0x40
[    6.483928]  </IRQ>
[    6.484267]  do_softirq+0x58/0x5b
[    6.484821]  __local_bh_enable_ip+0x4c/0x65
[    6.485283]  __dev_queue_xmit+0x518/0x52a
[    6.485702]  dev_queue_xmit+0xb/0xd
[    6.486079]  ip_auto_config+0x8a0/0xdda
[    6.486543]  ? _raw_write_unlock+0x22/0x33
[    6.486976]  ? set_debug_rodata+0x12/0x12
[    6.487396]  ? ip_auto_config+0xdda/0xdda
[    6.487971]  ? set_debug_rodata+0x12/0x12
[    6.488401]  ip_auto_config+0x32/0x34
[    6.488996]  ? ip_auto_config+0x32/0x34
[    6.489398]  do_one_initcall+0x8b/0x132
[    6.489797]  ? set_debug_rodata+0x12/0x12
[    6.490222]  kernel_init_freeable+0x19f/0x224
[    6.490672]  ? rest_init+0x135/0x135
[    6.491054]  kernel_init+0x9/0xe6
[    6.491403]  ret_from_fork+0x25/0x30
[    6.491779] Code: 89 45 d0 8b 45 d0 ba 18 00 00 00 48 6b c0 60 49 03 47 08 eb 13 ba 40 00 00 00 c7 45 c8 00 00 00 00 c7 45 d0 00 00 00 00 48 8b 00 <4c> 8b 30 89 d0 48 89 45 b0 4d 85 f6 74 6d 4d 89 f1 4c 2b 4d b0 
[    6.493821] RIP: __udp4_lib_rcv+0x4a4/0x7b9 RSP: ffff9ddbd9e03b98
[    6.494450] CR2: 0000000000000000
[    6.494797] ---[ end trace 391afe16dee9f455 ]---


To reproduce:

        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,
Xiaolong

View attachment "config-4.14.0-rc5-01670-ge7396cb" of type "text/plain" (126364 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ