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: <20180920065421.GA27173@shao2-debian>
Date:   Thu, 20 Sep 2018 14:54:21 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     "Levin, Alexander (Sasha Levin)" <alexander.levin@...izon.com>
Cc:     Ingo Molnar <mingo@...nel.org>, linux-kernel@...r.kernel.org,
        LKP <lkp@...org>
Subject: [LKP] cde50a6739 [16.916169] WARNING: bad unlock balance detected!

Greetings,

0day kernel testing robot got the below dmesg and the first bad commit is

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master

commit cde50a67397c0da7d11795d4b4418384022ab8e6
Author:     Levin, Alexander (Sasha Levin) <alexander.levin@...izon.com>
AuthorDate: Sun Jun 18 14:06:01 2017 +0000
Commit:     Ingo Molnar <mingo@...nel.org>
CommitDate: Tue Jun 20 11:53:09 2017 +0200

    locking/rtmutex: Don't initialize lockdep when not required
    
    pi_mutex isn't supposed to be tracked by lockdep, but just
    passing NULLs for name and key will cause lockdep to spew a
    warning and die, which is not what we want it to do.
    
    Skip lockdep initialization if the caller passed NULLs for
    name and key, suggesting such initialization isn't desired.
    
    Signed-off-by: Sasha Levin <alexander.levin@...izon.com>
    Cc: Linus Torvalds <torvalds@...ux-foundation.org>
    Cc: Peter Zijlstra <peterz@...radead.org>
    Cc: Thomas Gleixner <tglx@...utronix.de>
    Fixes: f5694788ad8d ("rt_mutex: Add lockdep annotations")
    Link: http://lkml.kernel.org/r/20170618140548.4763-1-alexander.levin@verizon.com
    Signed-off-by: Ingo Molnar <mingo@...nel.org>

018956d641  locking/selftest: Add RT-mutex support
cde50a6739  locking/rtmutex: Don't initialize lockdep when not required
5b945fd2c3  Merge tag 'trace-v4.19-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
f8dcd02792  Add linux-next specific files for 20180913
+------------------------------------------------------------------+------------+------------+------------+---------------+
|                                                                  | 018956d641 | cde50a6739 | 5b945fd2c3 | next-20180913 |
+------------------------------------------------------------------+------------+------------+------------+---------------+
| boot_successes                                                   | 900        | 488        | 309        | 320           |
| boot_failures                                                    | 10         | 84         | 0          | 2             |
| WARNING:at_kernel/locking/lockdep.c:#lockdep_init_map            | 8          |            |            |               |
| EIP:lockdep_init_map                                             | 8          |            |            |               |
| INFO:rcu_preempt_detected_stalls_on_CPUs/tasks                   | 1          |            |            |               |
| BUG:kernel_hang_in_test_stage                                    | 1          |            |            |               |
| BUG:kernel_hang_in_boot_stage                                    | 1          |            |            |               |
| WARNING:bad_unlock_balance_detected                              | 0          | 79         |            |               |
| is_trying_to_release_lock(rcu_preempt_state)at                   | 0          | 79         |            |               |
| WARNING:at_arch/x86/include/asm/fpu/internal.h:#fpu__restore     | 0          | 2          |            |               |
| EIP:fpu__restore                                                 | 0          | 2          |            |               |
| invoked_oom-killer:gfp_mask=0x                                   | 0          | 2          | 0          | 2             |
| Mem-Info                                                         | 0          | 7          | 0          | 2             |
| EIP:__copy_user_ll                                               | 0          | 1          | 0          | 2             |
| EIP:__put_user_4                                                 | 0          | 1          |            |               |
| Out_of_memory:Kill_process                                       | 0          | 1          | 0          | 2             |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 0          | 1          |            |               |
| calltrace:SyS_setpriority                                        | 0          | 8          |            |               |
| WARNING:at_drivers/pci/pci-sysfs.c:#pci_mmap_resource            | 0          | 2          |            |               |
| EIP:pci_mmap_resource                                            | 0          | 2          |            |               |
| calltrace:SyS_kill                                               | 0          | 1          |            |               |
| EIP:strncpy_from_user                                            | 0          | 1          |            |               |
| Out_of_memory_and_no_killable_processes                          | 0          | 0          | 0          | 2             |
| Kernel_panic-not_syncing:System_is_deadlocked_on_memory          | 0          | 0          | 0          | 2             |
+------------------------------------------------------------------+------------+------------+------------+---------------+

/etc/rcS.d/S00fbsetup: line 3: /sbin/modprobe: No such file or directory
Starting udev
/etc/rcS.d/S03udev: line 72: /proc/sys/kernel/hotplug: No such file or directory
[   16.911383] 
[   16.915139] =====================================
[   16.916169] WARNING: bad unlock balance detected!
[   16.917205] 4.12.0-rc4-00028-gcde50a6 #28 Not tainted
[   16.918273] -------------------------------------
[   16.919311] udevd/356 is trying to release lock (rcu_preempt_state) at:
[   16.920697] [<c10d79d8>] rcu_read_unlock_special+0x348/0x360
[   16.921890] but there are no more locks to release!
[   16.923010] 
[   16.923010] other info that might help us debug this:
[   16.924549] 1 lock held by udevd/356:
[   16.938455]  #0:  (rcu_read_lock){......}, at: [<c1072bef>] SyS_setpriority+0x2f/0x470
[   16.940232] 
[   16.940232] stack backtrace:
[   16.941469] CPU: 0 PID: 356 Comm: udevd Not tainted 4.12.0-rc4-00028-gcde50a6 #28
[   16.943148] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[   16.944986] Call Trace:
[   16.945685]  dump_stack+0x7d/0xb2
[   16.946490]  ? rcu_read_unlock_special+0x348/0x360
[   16.947525]  print_unlock_imbalance_bug+0xe5/0xf0
[   16.948555]  ? rcu_read_unlock_special+0x348/0x360
[   16.949595]  ? rcu_read_unlock_special+0x348/0x360
[   16.950656]  ? rcu_read_unlock_special+0x348/0x360
[   16.951690]  lock_release+0x17c/0x3e0
[   16.965655]  ? swake_up+0x39/0x50
[   16.966566]  rt_mutex_unlock+0x2f/0xa0
[   16.967477]  rcu_read_unlock_special+0x348/0x360
[   16.968533]  ? preempt_schedule_common+0x1c/0x30
[   16.969620]  __rcu_read_unlock+0x67/0x70
[   16.970588]  SyS_setpriority+0x27c/0x470
[   16.971552]  ? SyS_setpriority+0x2f/0x470
[   16.972533]  ? SyS_rt_sigprocmask+0xc6/0xf0
[   16.973550]  do_int80_syscall_32+0x61/0x140
[   16.974558]  entry_INT80_32+0x36/0x36
[   16.975454] EIP: 0x47f3e3e4
[   16.976223] EFLAGS: 00000202 CPU: 0
[   16.977085] EAX: ffffffda EBX: 00000000 ECX: 00000000 EDX: 00000000
[   16.991464] ESI: 08069008 EDI: 00000004 EBP: 08081fa0 ESP: bff6c548
[   16.992831]  DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b
[   17.325200] blk_update_request: I/O error, dev fd0, sector 0
[   17.326376] floppy: error -5 while reading block 0

                                                          # HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start v4.13 v4.12 --
git bisect  bad 63a86362130f4c17eaa57f3ef5171ec43111a54e  # 07:47  B     11     1    0   0  Merge tag 'pm-4.13-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
git bisect  bad 090a81d8766e21d33ab3e4d24e6c8e5eedf086dd  # 08:05  B    100     2    0   0  Merge branch 'for-spi' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
git bisect  bad 3bad2f1c676581d01e7645eb03e9b27e28b0a92e  # 08:23  B    106     1    2   2  Merge branch 'work.misc-set_fs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
git bisect  bad 362f6729cbb1d6bbab59e069f19441b0622ff7ec  # 08:47  B     77     1    0   0  Merge tag 'usb-4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
git bisect  bad 6553698be05983056f5561cef6aaee0cc6afe7a0  # 09:13  B     86     1    1   1  Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect  bad 892ad5acca0b2ddb514fae63fa4686bf726d2471  # 09:41  B     75     1    0   0  Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 26d3a77d2cb3cb31bbaa2de37b7a4e6375f204ee  # 10:10  G    310     0    1   1  Merge tag 'edac_for_4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp
git bisect good 330e9e46253cbfab178450c976aa90ef0f3ae940  # 10:40  G    301     0    1   1  Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 162b246eb420d2ca2002a50917c897b10c9aba09  # 11:06  G    300     0    0   0  Merge branch 'efi-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 12d83f7361724e5aa4299bb28e4caadc62ae482b  # 11:49  G    305     0    0  81  tools/include: Add (mostly) empty include/linux/sched/mm.h
git bisect good 3942b77121986519ee52ab4dd4ae8f4383dfe765  # 12:14  G    309     0    0  74  MAINTAINERS: Claim atomic*_t maintainership
git bisect  bad cde50a67397c0da7d11795d4b4418384022ab8e6  # 12:20  B     11     1    0  21  locking/rtmutex: Don't initialize lockdep when not required
git bisect good cfb6133399a490419cda55fcdcf9dbbca65eacba  # 12:54  G    303     0    4 167  locking/selftest: Remove the bad unlock ordering test
git bisect good 018956d6419be3e5ff5aacc60b2a3cff585adee1  # 13:15  G    310     0    0   0  locking/selftest: Add RT-mutex support
# first bad commit: [cde50a67397c0da7d11795d4b4418384022ab8e6] locking/rtmutex: Don't initialize lockdep when not required
git bisect good 018956d6419be3e5ff5aacc60b2a3cff585adee1  # 13:45  G    909     0    9   9  locking/selftest: Add RT-mutex support
# extra tests with debug options
git bisect  bad cde50a67397c0da7d11795d4b4418384022ab8e6  # 13:54  B     40     2    0   0  locking/rtmutex: Don't initialize lockdep when not required
# extra tests on HEAD of internal-chrome-os/chromeos-4.14
git bisect  bad 398e4407ff49740beb32f7e4b062a1eea57d9487  # 13:54  B     73     2    0   4  CHROMIUM: arm64: dts: qcom: Switch edp regulator to load switch
# extra tests on tree/branch linus/master
git bisect good 5b945fd2c34c6324752fc793266b4598a307d765  # 14:22  G    306     0    5   5  Merge tag 'trace-v4.19-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
# extra tests with first bad commit reverted
git bisect good c4ed1913cb01110119247ed7b1a098626a954418  # 14:48  G    304     0  305 305  Revert "locking/rtmutex: Don't initialize lockdep when not required"
# extra tests on tree/branch linux-next/master
git bisect good f8dcd02792146c5047419ff4c856651acd04f7c6  # 15:13  G    310     0    0   2  Add linux-next specific files for 20180913

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

Download attachment "dmesg-yocto-lkp-hsw01-53:20180915122104:i386-randconfig-v1-201836:4.12.0-rc4-00028-gcde50a6:28.gz" of type "application/gzip" (15000 bytes)

Download attachment "dmesg-quantal-ivb41-110:20180915133407:i386-randconfig-v1-201836:4.12.0-rc4-00027-g018956d:1.gz" of type "application/gzip" (19119 bytes)

View attachment "reproduce-yocto-lkp-hsw01-53:20180915122104:i386-randconfig-v1-201836:4.12.0-rc4-00028-gcde50a6:28" of type "text/plain" (920 bytes)

View attachment "config-4.12.0-rc4-00028-gcde50a6" of type "text/plain" (126771 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ