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:	Mon, 11 Jul 2016 14:03:28 +0800
From:	kernel test robot <xiaolong.ye@...el.com>
To:	Jeff Mahoney <jeffm@...e.com>
Cc:	David Sterba <dsterba@...e.com>,
	LKML <linux-kernel@...r.kernel.org>,
	Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...org
Subject: [lkp] [btrfs]  407237cea1: RIP: [<ffffffff813e9311>]
 btrfs_init_free_space_ctl+0x41/0x90


FYI, we noticed the following commit:

https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit 407237cea1a068b2fad0455654c2f33266df79d2 ("btrfs: pull node/sector/stripe sizes out of root and into fs_info")

in testcase: boot

on test machine: 2 threads qemu-system-x86_64 -enable-kvm -cpu Haswell,+smep,+smap with 360M memory

caused below changes:


+--------------------------------------------------+------------+------------+
|                                                  | 917a5648f6 | 407237cea1 |
+--------------------------------------------------+------------+------------+
| boot_successes                                   | 0          | 0          |
| boot_failures                                    | 30         | 6          |
| WARNING:at_kernel/rcu/rcuperf.c:#rcu_perf_writer | 30         | 6          |
| BUG:unable_to_handle_kernel                      | 30         | 6          |
| Oops:#[##]                                       | 30         | 6          |
| RIP:__setup_root                                 | 30         |            |
| Kernel_panic-not_syncing:Fatal_exception         | 30         | 6          |
| backtrace:rcu_perf_writer                        | 30         | 6          |
| backtrace:btrfs_run_sanity_tests                 | 30         | 6          |
| backtrace:init_btrfs_fs                          | 30         | 6          |
| backtrace:kernel_init_freeable                   | 30         | 6          |
| RIP:btrfs_init_free_space_ctl                    | 0          | 6          |
| backtrace:btrfs_init_free_space_ctl              | 0          | 6          |
+--------------------------------------------------+------------+------------+

[   23.337693] Btrfs loaded, crc32c=crc32c-generic, debug=on, assert=on
[   23.338443] BTRFS: selftest: sectorsize: 4096  nodesize: 4096
[   23.338476] BTRFS: selftest: Running btrfs free space cache tests
[   23.338568] BUG: unable to handle kernel paging request at 00000000000025d8
[   23.338602] IP: [<ffffffff813e9311>] btrfs_init_free_space_ctl+0x41/0x90
[   23.338606] PGD 0 
[   23.338631] Oops: 0000 [#1]
[   23.338660] CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.7.0-rc6-00052-g407237c #3
[   23.338663] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   23.338667] task: ffff880013c50000 ti: ffff880013c44000 task.ti: ffff880013c44000
[   23.338695] RIP: 0010:[<ffffffff813e9311>]  [<ffffffff813e9311>] btrfs_init_free_space_ctl+0x41/0x90
[   23.338699] RSP: 0000:ffff880013c47db0  EFLAGS: 00010286
[   23.338701] RAX: 0000000000000000 RBX: ffff8800108dcc00 RCX: 0000000000000000
[   23.338703] RDX: ffffffff8310fb00 RSI: ffffffff81f3e7ce RDI: ffff8800108dcc80
[   23.338727] RBP: ffff880013c47dc0 R08: 0000000000000001 R09: ffff8800108dcc00
[   23.338729] R10: 0000000000000001 R11: 0000000000000000 R12: ffff8800161e4c00
[   23.338732] R13: 0000000008001000 R14: ffffffff81f2fd78 R15: 0000000008000000
[   23.338736] FS:  0000000000000000(0000) GS:ffffffff82221000(0000) knlGS:0000000000000000
[   23.338760] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   23.338762] CR2: 00000000000025d8 CR3: 000000000220c000 CR4: 00000000000006f0
[   23.338793] Stack:
[   23.338800]  ffff8800161e4c00 0000000000001000 ffff880013c47de8 ffffffff8141fc5f
[   23.338827]  0000000000000000 0000000000001000 0000000000001000 ffff880013c47e48
[   23.338832]  ffffffff8141e260 ffff880000000018 0000000000001000 ffff880013c47e10
[   23.338855] Call Trace:
[   23.338864]  [<ffffffff8141fc5f>] btrfs_alloc_dummy_block_group+0xbf/0xf0
[   23.338891]  [<ffffffff8141e260>] btrfs_test_free_space_cache+0x40/0xe80
[   23.338896]  [<ffffffff8141fdd8>] btrfs_run_sanity_tests+0xa8/0x140
[   23.338924]  [<ffffffff82528715>] ? do_early_param+0x8f/0x8f
[   23.338954]  [<ffffffff8254afb7>] init_btrfs_fs+0xd8/0x13d
[   23.338959]  [<ffffffff8254aedf>] ? debugfs_init+0x50/0x50
[   23.339027]  [<ffffffff825290fb>] do_one_initcall+0x98/0x13d
[   23.339055]  [<ffffffff82528715>] ? do_early_param+0x8f/0x8f
[   23.339060]  [<ffffffff825292a0>] kernel_init_freeable+0x100/0x194
[   23.339091]  [<ffffffff81a42e79>] kernel_init+0x9/0xf0
[   23.339119]  [<ffffffff81a4a3ff>] ret_from_fork+0x1f/0x40
[   23.339146]  [<ffffffff81a42e70>] ? rest_init+0xc0/0xc0
[   23.339440] Code: 8b 9f 88 01 00 00 49 89 fc 48 89 df e8 49 de cf ff 49 8b 44 24 30 48 8d bb 80 00 00 00 48 c7 c2 00 fb 10 83 48 c7 c6 ce e7 f3 81 <8b> 80 d8 25 00 00 89 43 64 49 8b 04 24 4c 89 63 78 48 c7 43 70 
[   23.339447] RIP  [<ffffffff813e9311>] btrfs_init_free_space_ctl+0x41/0x90
[   23.339471]  RSP <ffff880013c47db0>
[   23.339473] CR2: 00000000000025d8
[   23.339540] ---[ end trace 95f2e73b26a8f7da ]---
[   23.339543] Kernel panic - not syncing: Fatal exception
[   23.339606] Kernel Offset: disabled



FYI, raw QEMU command line is:

	qemu-system-x86_64 -enable-kvm -cpu Haswell,+smep,+smap -kernel /pkg/linux/x86_64-randconfig-s0-07080832/gcc-6/407237cea1a068b2fad0455654c2f33266df79d2/vmlinuz-4.7.0-rc6-00052-g407237c -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-lkp-wsx03-quantal-x86_64-12/bisect_boot-1-quantal-core-x86_64.cgz-x86_64-randconfig-s0-07080832-407237cea1a068b2fad0455654c2f33266df79d2-20160708-80489-t0jhh0-0.yaml ARCH=x86_64 kconfig=x86_64-randconfig-s0-07080832 branch=linux-devel/devel-spot-201607080738 commit=407237cea1a068b2fad0455654c2f33266df79d2 BOOT_IMAGE=/pkg/linux/x86_64-randconfig-s0-07080832/gcc-6/407237cea1a068b2fad0455654c2f33266df79d2/vmlinuz-4.7.0-rc6-00052-g407237c max_uptime=600 RESULT_ROOT=/result/boot/1/vm-lkp-wsx03-quantal-x86_64/quantal-core-x86_64.cgz/x86_64-randconfig-s0-07080832/gcc-6/407237cea1a068b2fad0455654c2f33266df79d2/0 LKP_SERVER=inn earlyprintk=ttyS0,115200 systemd.log_level=err debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 console=ttyS0,115200 console=tty0 vga=normal rw ip=::::vm-lkp-wsx03-quantal-x86_64-12::dhcp drbd.minor_count=8'  -initrd /fs/sdc1/initrd-vm-lkp-wsx03-quantal-x86_64-12 -m 360 -smp 2 -device e1000,netdev=net0 -netdev user,id=net0 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -pidfile /dev/shm/kboot/pid-vm-lkp-wsx03-quantal-x86_64-12 -serial file:/dev/shm/kboot/serial-vm-lkp-wsx03-quantal-x86_64-12 -daemonize -display none -monitor null 





Thanks,
Xiaolong

View attachment "config-4.7.0-rc6-00052-g407237c" of type "text/plain" (84020 bytes)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ