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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:   Sun, 1 Dec 2019 23:20:39 +0800
From:   kernel test robot <lkp@...el.com>
To:     David Howells <dhowells@...hat.com>
Cc:     James Morris <jmorris@...ei.org>,
        Andy Shevchenko <andy.shevchenko@...il.com>,
        Matthew Garrett <mjg59@...f.ucam.org>,
        Thomas Gleixner <tglx@...utronix.de>, Greg KH <greg@...ah.com>,
        "Rafael J. Wysocki" <rafael@...nel.org>,
        Matthew Garrett <matthewgarrett@...gle.com>,
        LKML <linux-kernel@...r.kernel.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        lkp@...ts.01.org
Subject: [debugfs] 5496197f9b: WARNING:at_fs/open.c:#do_dentry_open

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

commit: 5496197f9b084f086cb410dd566648b0896fcc74 ("debugfs: Restrict debugfs when the kernel is locked down")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

in testcase: boot

on test machine: qemu-system-i386 -enable-kvm -cpu SandyBridge -smp 2 -m 8G

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


+--------------------------------------+------------+------------+
|                                      | 29d3c1c8df | 5496197f9b |
+--------------------------------------+------------+------------+
| boot_successes                       | 12         | 1          |
| boot_failures                        | 0          | 11         |
| WARNING:at_fs/open.c:#do_dentry_open | 0          | 11         |
| EIP:do_dentry_open                   | 0          | 11         |
+--------------------------------------+------------+------------+


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


[    6.694953] WARNING: CPU: 0 PID: 298 at fs/open.c:805 do_dentry_open+0x1ef/0x24b
[    6.696274] Modules linked in:
[    6.696719] CPU: 0 PID: 298 Comm: run-lkp Not tainted 5.2.0-00026-g5496197f9b084 #2
[    6.697784] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    6.698966] EIP: do_dentry_open+0x1ef/0x24b
[    6.699554] Code: 40 8b 4d f0 74 78 8b 83 00 01 00 00 8b 80 84 00 00 00 85 c0 74 63 83 78 2c 00 b8 ea ff ff ff 0f 44 c8 eb 5a 89 c2 85 d2 7e 07 <0f> 0b ba ea ff ff ff f6 43 46 01 74 1b 89 55 f0 ff 8e 18 01 00 00
[    6.702133] EAX: 00000001 EBX: f739e780 ECX: 00000001 EDX: 00000001
[    6.703007] ESI: f0c47c70 EDI: c128e5ad EBP: f7283dec ESP: f7283ddc
[    6.703888] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068 EFLAGS: 00010202
[    6.704860] CR0: 80050033 CR2: 09407008 CR3: 37288000 CR4: 000406d0
[    6.705756] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[    6.706634] DR6: fffe0ff0 DR7: 00000400
[    6.707175] Call Trace:
[    6.707531]  vfs_open+0x23/0x27
[    6.707985]  path_openat+0x8f5/0xa3d
[    6.708502]  do_filp_open+0x50/0xa8
[    6.709005]  ? _raw_spin_unlock+0x27/0x38
[    6.709574]  ? __alloc_fd+0x10f/0x119
[    6.710102]  do_sys_open+0x61/0xd3
[    6.710591]  sys_open+0x18/0x1a
[    6.711041]  do_fast_syscall_32+0x90/0xcf
[    6.711612]  entry_SYSENTER_32+0x79/0xde
[    6.712168] EIP: 0xb7efa795
[    6.712570] Code: cd ff ff 85 d2 89 c8 74 02 89 0a 5b 5d c3 8b 04 24 c3 8b 14 24 c3 8b 1c 24 c3 8b 3c 24 c3 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d 76 00 58 b8 77 00 00 00 cd 80 90 8d 76
[    6.715182] EAX: ffffffda EBX: 09456168 ECX: 00008241 EDX: 000001b6
[    6.716072] ESI: 00000000 EDI: b7ec8ff4 EBP: bf8c8378 ESP: bf8c8210
[    6.716956] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b EFLAGS: 00000286
[    6.717908] ---[ end trace d1d982a595e22ad7 ]---


To reproduce:

        # build kernel
	cd linux
	cp config-5.2.0-00026-g5496197f9b084 .config
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=i386 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,
lkp


View attachment "config-5.2.0-00026-g5496197f9b084" of type "text/plain" (134040 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ