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:   Wed, 29 Mar 2017 12:29:37 +0800
From:   Fengguang Wu <fengguang.wu@...el.com>
To:     Chris Wilson <chris@...is-wilson.co.uk>
Cc:     Daniel Vetter <daniel.vetter@...ll.ch>,
        Joonas Lahtinen <joonas.lahtinen@...ux.intel.com>,
        Alex Deucher <alexander.deucher@....com>,
        Sinclair Yeh <syeh@...are.com>, #vmwgfx@...-t540p.sh.intel.com,
        Lucas Stach <l.stach@...gutronix.de>,
        #etnaviv@...-t540p.sh.intel.com, dri-devel@...ts.freedesktop.org,
        linux-kernel@...r.kernel.org, LKP <lkp@...org>
Subject: [drm] 4e64e5539d [ 1138.272031] NMI watchdog: BUG: soft lockup -
 CPU#0 stuck for 23s! [swapper:1]

Hi Chris,

>+------------------------------------------+------------+------------+-----------+---------------+
>|                                          | 17aad8a340 | 4e64e5539d | v4.11-rc3 | next-20170320 |
>+------------------------------------------+------------+------------+-----------+---------------+
>| boot_successes                           | 0          | 0          | 0         | 0             |
>| boot_failures                            | 1220       | 312        | 324       | 63            |
>| BUG:unable_to_handle_kernel              | 1220       | 312        | 324       | 63            |
>| Oops:#[##]                               | 1220       | 312        | 324       | 63            |
>| Kernel_panic-not_syncing:Fatal_exception | 1220       | 312        | 324       | 63            |
>+------------------------------------------+------------+------------+-----------+---------------+
>
>[  195.344608] [TTM] Zone  kernel: Available graphics memory: 200980 kiB
>[  195.345639] [TTM] Initializing pool allocator
>[  195.346363] [TTM] Initializing DMA pool allocator
>[  195.347754] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on minor 0
>[  195.349292] irq event stamp: 5513
>[  195.349293] BUG: unable to handle kernel NULL pointer dereference at 0000000000000620
>[  195.349309] IP: __lock_acquire+0xc8/0xfe6


Sorry that looks like an old bug. While the below soft lockup
call trace looks more related to the code change.

17aad8a340  Merge remote-tracking branch 'airlied/drm-next' into drm-misc-next
4e64e5539d  drm: Improve drm_mm search (and fix topdown allocation) with rbtrees
ad0376eb14  Merge tag 'edac_for_4.11_2' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp
576190b30a  Add linux-next specific files for 20170328
+--------------------------------------------------------------------+------------+------------+------------+---------------+
|                                                                    | 17aad8a340 | 4e64e5539d | ad0376eb14 | next-20170328 |
+--------------------------------------------------------------------+------------+------------+------------+---------------+
| boot_successes                                                     | 0          | 0          | 5          | 0             |
| boot_failures                                                      | 186        | 50         | 16         | 2             |
| BUG:KASAN:global-out-of-bounds_in__of_match_node_at_addr           | 186        | 7          |            |               |
| BUG:KASAN:global-out-of-bounds_in__of_device_is_compatible_at_addr | 186        | 7          |            |               |
| BUG:KASAN:global-out-of-bounds_in__of                              | 1          |            |            |               |
| BUG:KASAN:global-out-of-bounds_in__of_match_node                   | 1          |            |            |               |
| BUG:soft_lockup-CPU##stuck_for#s                                   | 0          | 43         | 14         | 2             |
| Kernel_panic-not_syncing:softlockup:hung_tasks                     | 0          | 43         | 14         | 2             |
| invoked_oom-killer:gfp_mask=0x                                     | 0          | 0          | 2          |               |
| Mem-Info                                                           | 0          | 0          | 2          |               |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes   | 0          | 0          | 2          |               |
+--------------------------------------------------------------------+------------+------------+------------+---------------+

[  773.573294] Writes:  Total: 2  Max/Min: 0/0   Fail: 0 
[  845.992015] Writes:  Total: 2  Max/Min: 0/0   Fail: 0 
[  919.226625] Writes:  Total: 2  Max/Min: 0/0   Fail: 0 
[  990.378836] Writes:  Total: 2  Max/Min: 0/0   Fail: 0 
[ 1055.385770] Writes:  Total: 2  Max/Min: 0/0   Fail: 0 
[ 1138.272031] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [swapper:1]
[ 1138.274858] CPU: 0 PID: 1 Comm: swapper Not tainted 4.10.0-rc5-01060-g4e64e55 #1
[ 1138.277813] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 1138.281136] task: ffff88000cdbcd80 task.stack: ffff88000cdc0000
[ 1138.283043] RIP: 0010:__asan_load8+0x55/0xd0
[ 1138.284564] RSP: 0018:ffff88000cdc7798 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff10
[ 1138.287359] RAX: ffffc90000293238 RBX: ffffc90000293230 RCX: ffffffff9e66e31d
[ 1138.289432] RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffc90000293238
[ 1138.291521] RBP: ffff88000cdc7798 R08: fffffbfff4aebbcc R09: fffffbfff4aebbcc
[ 1138.293593] R10: fffffbfff4aebbcb R11: ffffffffa575de5f R12: ffffc90000293240
[ 1138.295669] R13: ffffc90000293230 R14: ffffc90000293230 R15: ffffc90000293020
[ 1138.297754] FS:  0000000000000000(0000) GS:ffffffffa28f6000(0000) knlGS:0000000000000000
[ 1138.300618] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1138.302425] CR2: 00007f6ce610d8ec CR3: 0000000008600000 CR4: 00000000000006b0
[ 1138.304481] Call Trace:
[ 1138.305662]  rb_erase+0x35d/0x1230
[ 1138.307060]  rm_hole+0xb4/0xe0
[ 1138.308381]  drm_mm_remove_node+0xc3/0x1010
[ 1138.309905]  evict_nodes+0x3ab/0x510
[ 1138.311306]  evict_color+0x12f/0x690
[ 1138.312843]  ? evict_something+0x700/0x700
[ 1138.314695]  ? pvclock_clocksource_read+0x333/0x360
[ 1138.316381]  ? __asan_loadN+0x1f/0x30
[ 1138.317787]  ? prandom_u32_state+0x9b/0xd0
[ 1138.319303]  ? drm_random_reorder+0x2a/0xc0
[ 1138.320819]  igt_color_evict+0x666/0x8f0
[ 1138.322299]  ? igt_evict_range+0x7f0/0x7f0
[ 1138.323737]  ? igt_color+0xcf3/0xd40
[ 1138.325121]  ? igt_align32+0x30/0x30
[ 1138.343567]  ? drm_dp_aux_dev_exit+0x50/0x50
[ 1138.345091]  ? slow_is_prime_number+0xf0/0xf0
[ 1138.346673]  ? igt_insert_range+0x35d/0x370
[ 1138.348201]  test_drm_mm_init+0x18c/0x312
[ 1138.349651]  ? do_one_initcall+0xee/0x3fe
[ 1138.351138]  ? drm_kms_helper_init+0x54/0x54
[ 1138.352677]  do_one_initcall+0x1b3/0x3fe
[ 1138.354133]  ? start_kernel+0xa4a/0xa4a
[ 1138.355596]  ? parse_args+0xcc9/0xce0
[ 1138.356999]  kernel_init_freeable+0x290/0x45e
[ 1138.358545]  ? rest_init+0x150/0x150
[ 1138.359934]  kernel_init+0x19/0x330
[ 1138.361322]  ? rest_init+0x150/0x150
[ 1138.362717]  ret_from_fork+0x31/0x40
[ 1138.364077] Code: 47 72 09 01 e8 5d 06 00 00 48 83 05 6d 47 72 09 01 e9 8b 00 00 00 48 89 f8 48 ba 00 00 00 00 00 fc ff df 48 83 05 4b 47 72 09 01 <48> c1 e8 03 48 01 d0 66 83 38 00 74 69 48 8d 77 07 48 83 05 42 
[ 1138.370236] Kernel panic - not syncing: softlockup: hung tasks
[ 1138.372221] CPU: 0 PID: 1 Comm: swapper Tainted: G             L  4.10.0-rc5-01060-g4e64e55 #1
[ 1138.375328] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 1138.378596] Call Trace:
[ 1138.379779]  <IRQ>
[ 1138.380868]  dump_stack+0x2c/0x3f
[ 1138.382243]  panic+0x25a/0x655
[ 1138.383535]  ? dup_mmap+0xad9/0xad9
[ 1138.384909]  ? watchdog_timer_fn+0x4ce/0x5d0
[ 1138.386440]  watchdog_timer_fn+0x502/0x5d0
[ 1138.387889]  ? watchdog_disable_all_cpus+0x90/0x90
[ 1138.389528]  hrtimer_run_queues+0x585/0xbb0
[ 1138.391023]  ? hrtimer_cancel+0xa0/0xa0
[ 1138.393706]  ? account_system_time+0x27b/0x470
[ 1138.395274]  run_local_timers+0x16/0x80
[ 1138.396712]  update_process_times+0x37/0xd0
[ 1138.398223]  tick_periodic+0x191/0x1b0
[ 1138.399866]  ? tick_handle_periodic+0x31/0x160
[ 1138.401427]  tick_handle_periodic+0x31/0x160
[ 1138.402966]  ? tick_is_oneshot_available+0x150/0x150
[ 1138.404647]  local_apic_timer_interrupt+0x91/0xa0
[ 1138.406272]  smp_apic_timer_interrupt+0x63/0x90
[ 1138.407829]  apic_timer_interrupt+0x91/0xa0
[ 1138.409348] RIP: 0010:__asan_load8+0x55/0xd0
[ 1138.410857] RSP: 0018:ffff88000cdc7798 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff10
[ 1138.413675] RAX: ffffc90000293238 RBX: ffffc90000293230 RCX: ffffffff9e66e31d
[ 1138.415756] RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffc90000293238
[ 1138.417817] RBP: ffff88000cdc7798 R08: fffffbfff4aebbcc R09: fffffbfff4aebbcc
[ 1138.419883] R10: fffffbfff4aebbcb R11: ffffffffa575de5f R12: ffffc90000293240
[ 1138.421943] R13: ffffc90000293230 R14: ffffc90000293230 R15: ffffc90000293020
[ 1138.423989]  </IRQ>
[ 1138.425102]  ? rb_erase+0x35d/0x1230
[ 1138.426532]  ? __asan_loadN+0x1f/0x30
[ 1138.427977]  rb_erase+0x35d/0x1230
[ 1138.429357]  rm_hole+0xb4/0xe0
[ 1138.430641]  drm_mm_remove_node+0xc3/0x1010
[ 1138.432159]  evict_nodes+0x3ab/0x510
[ 1138.433519]  evict_color+0x12f/0x690
[ 1138.435050]  ? evict_something+0x700/0x700
[ 1138.436922]  ? pvclock_clocksource_read+0x333/0x360
[ 1138.438571]  ? __asan_loadN+0x1f/0x30
[ 1138.439986]  ? prandom_u32_state+0x9b/0xd0
[ 1138.441477]  ? drm_random_reorder+0x2a/0xc0
[ 1138.442984]  igt_color_evict+0x666/0x8f0
[ 1138.444446]  ? igt_evict_range+0x7f0/0x7f0
[ 1138.445931]  ? igt_color+0xcf3/0xd40
[ 1138.447343]  ? igt_align32+0x30/0x30
[ 1138.448755]  ? drm_dp_aux_dev_exit+0x50/0x50
[ 1138.450283]  ? slow_is_prime_number+0xf0/0xf0
[ 1138.451817]  ? igt_insert_range+0x35d/0x370
[ 1138.453343]  test_drm_mm_init+0x18c/0x312
[ 1138.454807]  ? do_one_initcall+0xee/0x3fe
[ 1138.456306]  ? drm_kms_helper_init+0x54/0x54
[ 1138.457841]  do_one_initcall+0x1b3/0x3fe
[ 1138.459317]  ? start_kernel+0xa4a/0xa4a
[ 1138.460713]  ? parse_args+0xcc9/0xce0
[ 1138.462137]  kernel_init_freeable+0x290/0x45e
[ 1138.463684]  ? rest_init+0x150/0x150
[ 1138.465071]  kernel_init+0x19/0x330
[ 1138.466462]  ? rest_init+0x150/0x150
[ 1138.467845]  ret_from_fork+0x31/0x40
[ 1138.469424] Kernel Offset: 0x1c000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)


                                                           # HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 97da3854c526d3a6ee05c849c96e48d21527606c v4.10 --
git bisect  bad e72e58faa709d554f95431dbafd3374db5ed3fbb  # 10:38  B      1     2    1   4  Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good e30aee9e10bb5168579e047f05c3d13d09e23356  # 11:10  G     23     0   23  23  Merge tag 'char-misc-4.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
git bisect good c61c15e08abb4365f100e411604b57a03ee5ae90  # 11:34  G     24     0   24  24  Merge tag 'armsoc-dt64' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
git bisect  bad 94eae8034002401d71ae950106659e16add36e77  # 12:18  B      1     1    1   1  Merge tag 'platform-drivers-x86-v4.11-1' of git://git.infradead.org/linux-platform-drivers-x86
git bisect  bad 9e314890292c0dd357eadef6a043704fa0b4c157  # 12:59  B      0     1   11   0  Merge tag 'openrisc-for-linus' of git://github.com/openrisc/linux
git bisect  bad f1ef09fde17f9b77ca1435a5b53a28b203afb81c  # 13:46  B      3     3    3   3  Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
git bisect good d5500a074741b78b7f778b4ab3415d5ecdcda0a7  # 14:15  G     23     0   23  23  Merge tag 'usercopy-v4.11-rc1.fix' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
git bisect  bad ef96152e6a36e0510387cb174178b7982c1ae879  # 15:03  B     10     4   10  10  Merge tag 'drm-for-v4.11-less-shouty' of git://people.freedesktop.org/~airlied/linux
git bisect good a7e2641aafe261bf70de01ff5fc68dea50468237  # 15:42  G     25     0   25  25  Merge tag 'drm-intel-next-2017-01-23' of git://anongit.freedesktop.org/git/drm-intel into drm-next
git bisect good 45d0ea86d235251305a0e2e63485b08b5caa79e7  # 16:15  G     25     0   25  27  drm/bridge/sii8620: enable interlace modes
git bisect  bad 1e2115d8c0c0da62405400316f5499d909e479bc  # 16:59  B     12     2   12  14  drm/nouveau/pmu: instanciate the falcon in PMU device
git bisect  bad f864b00e03a0308beae7c88e2e145a429d5872dd  # 17:47  B      4     5    4   6  Merge branch 'exynos-drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next
git bisect good dceac340155b66b6c97cb802b03d4778dd82e9be  # 18:57  G     42     0   42  44  drm/msm/dsi: Return more timings from PHY to host
git bisect  bad 538f1dcdc5e20adb2488fa0932d56906de166405  # 19:40  B      1     1    1   3  Merge branch 'drm-rockchip-next-2017-02-05' of https://github.com/markyzq/kernel-drm-rockchip into drm-next
git bisect good ef1844b7ed847430955a95d20242f0d1b9f5fa64  # 20:45  G     46     0   46  50  drm/rockchip: cdn-dp: don't configure hardware in mode_set
git bisect good 7e6328fd1f84f366b4cc17dc757025f485139f1a  # 21:18  G     42     0   42  46  drm: Fix build when FBDEV_EMULATION is disabled
git bisect  bad 4e64e5539d152e202ad6eea2b6f65f3ab58d9428  # 22:01  B      2     2    2   2  drm: Improve drm_mm search (and fix topdown allocation) with rbtrees
git bisect good 17aad8a340e6f98b62c2482d02bc3814eebde9a5  # 23:19  G     44     0   44  46  Merge remote-tracking branch 'airlied/drm-next' into drm-misc-next
# first bad commit: [4e64e5539d152e202ad6eea2b6f65f3ab58d9428] drm: Improve drm_mm search (and fix topdown allocation) with rbtrees
git bisect good 17aad8a340e6f98b62c2482d02bc3814eebde9a5  # 23:57  G    126     0  126 175  Merge remote-tracking branch 'airlied/drm-next' into drm-misc-next
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect  bad 4e64e5539d152e202ad6eea2b6f65f3ab58d9428  # 00:39  B      5     1    5   5  drm: Improve drm_mm search (and fix topdown allocation) with rbtrees
# extra tests on HEAD of linux-devel/devel-catchup-201703280706
git bisect  bad 59da01775305367d9c1d98c63b2db33b3487711d  # 00:39  B      0     4   34  17  0day head guard for 'devel-catchup-201703280706'
# extra tests on tree/branch linus/master
git bisect  bad ad0376eb1483bd9880770b346f6592aece669e4c  # 01:19  B      0     1   11   0  Merge tag 'edac_for_4.11_2' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp
# extra tests with first bad commit reverted
# extra tests on tree/branch linux-next/master
git bisect  bad 576190b30a35af73d1e49cc3daedd8dcf1211406  # 02:11  B      0     1   11   0  Add linux-next specific files for 20170328

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/lkp                          Intel Corporation

Download attachment "dmesg-yocto-lkp-nhm-dp1-9:20170328220045:x86_64-randconfig-ws0-03280257:4.10.0-rc5-01060-g4e64e55:1.gz" of type "application/gzip" (13335 bytes)

Download attachment "dmesg-vm-lkp-nex04-yocto-x86_64-18:20170328231119:x86_64-randconfig-ws0-03280257:4.10.0-rc5-01059-g17aad8a:1.gz" of type "application/gzip" (65260 bytes)

View attachment "reproduce-yocto-lkp-nhm-dp1-9:20170328220045:x86_64-randconfig-ws0-03280257:4.10.0-rc5-01060-g4e64e55:1" of type "text/plain" (877 bytes)

View attachment "config-4.10.0-rc5-01060-g4e64e55" of type "text/plain" (124514 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ