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:   Sun, 22 Mar 2020 21:47:06 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Chris Wilson <chris@...is-wilson.co.uk>
Cc:     0day robot <lkp@...el.com>, LKML <linux-kernel@...r.kernel.org>,
        lkp@...ts.01.org
Subject: [drm/mm] 5c4eb8dc78:
 WARNING:at_lib/debugobjects.c:#debug_print_object

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

commit: 5c4eb8dc7854b0300ddfc5d52614cb9e5286c88d ("drm/mm: Use debugobject to track lifetimes")
url: https://github.com/0day-ci/linux/commits/UPDATE-20200313-044153/Chris-Wilson/drm-mm-Use-debugobject-to-track-lifetimes/20200313-035156


in testcase: trinity
with following parameters:

	runtime: 300s

test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/


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


+---------------------------------------------------+------------+------------+
|                                                   | 6b843f9948 | 5c4eb8dc78 |
+---------------------------------------------------+------------+------------+
| boot_successes                                    | 0          | 0          |
| boot_failures                                     | 48         | 4          |
| BUG:kernel_in_stage                               | 48         | 2          |
| RIP:clear_page_orig                               | 1          |            |
| WARNING:at_lib/debugobjects.c:#debug_print_object | 0          | 4          |
| RIP:debug_print_object                            | 0          | 4          |
+---------------------------------------------------+------------+------------+


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


[   46.916389] WARNING: CPU: 0 PID: 1 at lib/debugobjects.c:488 debug_print_object+0x72/0x90
[   46.917613] Modules linked in:
[   46.917613] CPU: 0 PID: 1 Comm: swapper Not tainted 5.6.0-rc5-01356-g5c4eb8dc7854b #1
[   46.917613] RIP: 0010:debug_print_object+0x72/0x90
[   46.917613] Code: 83 c2 01 8b 4b 14 4d 8b 04 24 89 15 8c c3 6d 03 8b 53 10 4c 89 ee 48 c7 c7 b8 87 0e 83 48 8b 14 d5 c0 be b1 82 e8 ae 05 9c ff <0f> 0b 5b 83 05 e8 94 20 02 01 41 5c 41 5d 5d c3 83 05 db 94 20 02
[   46.917613] RSP: 0000:ffff8882378bbb48 EFLAGS: 00010292
[   46.917613] RAX: 0000000000000052 RBX: ffff8882378bbb70 RCX: ffffffff8111e582
[   46.917613] RDX: 0000000000000000 RSI: 0000000000000006 RDI: 00000000ffffffff
[   46.917613] RBP: ffff8882378bbb60 R08: 00000013f9d8969d R09: 0000000000000000
[   46.917613] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff837595a0
[   46.917613] R13: ffffffff83099ab1 R14: ffffffff84e6de08 R15: 0000000000000000
[   46.917613] FS:  0000000000000000(0000) GS:ffffffff83498000(0000) knlGS:0000000000000000
[   46.917613] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   46.917613] CR2: 00000000030a7000 CR3: 000000000347c000 CR4: 00000000000406b0
[   46.917613] Call Trace:
[   46.917613]  debug_object_activate+0x1c9/0x200
[   46.917613]  ? retint_kernel+0x2a/0x2a
[   46.917613]  drm_mm_reserve_node+0x131/0x210
[   46.917613]  ? drm_mm_reserve_node+0x131/0x210
[   46.917613]  igt_init+0xee/0x1a0
[   46.917613]  ? kvm_async_pf_task_wait+0x1d5/0x230
[   46.917613]  ? lockdep_hardirqs_on+0x179/0x1a0
[   46.917613]  test_drm_mm_init+0xf4/0x155
[   46.917613]  ? drm_kms_helper_init+0x10/0x10
[   46.917613]  ? rdinit_setup+0x40/0x40
[   46.917613]  do_one_initcall+0x124/0x330
[   46.917613]  ? rdinit_setup+0x40/0x40
[   46.917613]  ? rcu_read_lock_sched_held+0x2c/0x60
[   46.917613]  ? rdinit_setup+0x40/0x40
[   46.917613]  kernel_init_freeable+0x1b5/0x24f
[   46.917613]  ? rest_init+0x280/0x280
[   46.917613]  kernel_init+0x13/0x160
[   46.917613]  ? schedule_tail+0x63/0x70
[   46.917613]  ? rest_init+0x280/0x280
[   46.917613]  ret_from_fork+0x3a/0x50
[   46.917613] irq event stamp: 13553994
[   46.917613] hardirqs last  enabled at (13553993): [<ffffffff8111b1b8>] console_unlock+0x608/0x6a0
[   46.917613] hardirqs last disabled at (13553994): [<ffffffff81003e82>] trace_hardirqs_off_thunk+0x1a/0x1c
[   46.917613] softirqs last  enabled at (13553626): [<ffffffff82800392>] __do_softirq+0x392/0x3cb
[   46.917613] softirqs last disabled at (13553619): [<ffffffff810c5d3c>] irq_exit+0x6c/0xc0
[   46.917613] random: get_random_bytes called from print_oops_end_marker+0x2c/0x60 with crng_init=0
[   46.917613] ---[ end trace 90b5e6eaaffefc52 ]---


To reproduce:

        # build kernel
	cd linux
	cp config-5.6.0-rc5-01356-g5c4eb8dc7854b .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,
Rong Chen


View attachment "config-5.6.0-rc5-01356-g5c4eb8dc7854b" of type "text/plain" (148251 bytes)

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

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

View attachment "trinity" of type "text/plain" (353295 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ