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]
Message-ID: <20181127055708.GC6163@shao2-debian>
Date:   Tue, 27 Nov 2018 13:57:08 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     David Howells <dhowells@...hat.com>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        David Howells <dhowells@...hat.com>, lkp@...org
Subject: [LKP] [vfs] 1d9c8fafbf: BUG:unable_to_handle_kernel

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

commit: 1d9c8fafbf6fb1fe74170e5c4854c0a2f5aa440d ("vfs: syscall: Add fsopen() to prepare for superblock creation")
https://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git fsinfo

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 host -smp 2 -m 2G

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


+------------------------------------------+------------+------------+
|                                          | 74cd1cf94a | 1d9c8fafbf |
+------------------------------------------+------------+------------+
| boot_successes                           | 0          | 0          |
| boot_failures                            | 18         | 14         |
| BUG:kernel_hang_in_boot_stage            | 18         |            |
| BUG:unable_to_handle_kernel              | 0          | 14         |
| Oops:#[##]                               | 0          | 14         |
| RIP:slob_units                           | 0          | 14         |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 14         |
+------------------------------------------+------------+------------+



[    0.894944] BUG: unable to handle kernel paging request at ffff8800791c7880
[    0.895014] PGD 5b58067 P4D 5b58067 PUD 5b5b067 PMD 7b938067 PTE 800fffff86e38060
[    0.895014] Oops: 0000 [#1] DEBUG_PAGEALLOC
[    0.895014] CPU: 0 PID: 0 Comm: swapper Not tainted 4.19.0-rc3-00027-g1d9c8faf #1
[    0.895014] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    0.895014] RIP: 0010:slob_units+0x0/0x23
[    0.895014] Code: 48 d1 fa 66 83 fe 01 0f 9f c0 48 83 c0 02 48 ff 04 c5 a8 77 d7 83 66 83 fe 01 7e 08 66 89 37 66 89 57 02 c3 f7 da 66 89 17 c3 <66> 8b 07 31 d2 66 85 c0 0f 9f c2 48 83 c2 02 48 ff 04 d5 80 77 d7
[    0.895014] RSP: 0000:ffffffff83803bb8 EFLAGS: 00010046
[    0.895014] RAX: ffff8800791c7880 RBX: ffff8800791c7880 RCX: ffff8800791bd000
[    0.895014] RDX: 0000000000000002 RSI: 0000000000000010 RDI: ffff8800791c7880
[    0.895014] RBP: ffffea0001a7e158 R08: ffffffff8381ff40 R09: 00000000bd4e25a9
[    0.895014] R10: 0000000000000001 R11: 0000000000000008 R12: ffff8800791bd0a0
[    0.895014] R13: fffffffffffffff8 R14: 0000000000000008 R15: 0000000000000008
[    0.895014] FS:  0000000000000000(0000) GS:ffffffff83841000(0000) knlGS:0000000000000000
[    0.895014] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.895014] CR2: ffff8800791c7880 CR3: 000000000381a001 CR4: 00000000000606b0
[    0.895014] Call Trace:
[    0.895014]  slob_page_alloc+0x53/0x2cc
[    0.895014]  slob_alloc+0xda/0x33e
[    0.895014]  ? prealloc_shrinker+0x25/0x73
[    0.895014]  ? set_anon_super_fc+0x6/0x6
[    0.895014]  __kmalloc+0x85/0x384
[    0.895014]  ? set_anon_super_fc+0x6/0x6
[    0.895014]  prealloc_shrinker+0x25/0x73
[    0.895014]  alloc_super+0x2eb/0x372
[    0.895014]  sget_userns+0x1c7/0x318
[    0.895014]  mount_pseudo_xattr+0x7b/0x1e6
[    0.895014]  legacy_get_tree+0x33/0xaf
[    0.895014]  vfs_get_tree+0xce/0x2aa
[    0.895014]  vfs_kern_mount+0x110/0x150
[    0.895014]  nsfs_init+0x10/0x6c
[    0.895014]  start_kernel+0x5ec/0x631
[    0.895014]  secondary_startup_64+0xa4/0xb0
[    0.895014] CR2: ffff8800791c7880
[    0.895014] random: get_random_bytes called from init_oops_id+0x31/0x40 with crng_init=0
[    0.895014] ---[ end trace 20254e0a095ce1e5 ]---


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,
Rong Chen

View attachment "config-4.19.0-rc3-00027-g1d9c8faf" of type "text/plain" (143458 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ