* [linux-next:master] [block] 73cf422c6a: EIP:look_up_lock_class
@ 2026-05-28 7:05 kernel test robot
2026-05-28 11:38 ` Tetsuo Handa
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2026-05-28 7:05 UTC (permalink / raw)
To: Tetsuo Handa; +Cc: oe-lkp, lkp, linux-block, oliver.sang
Hello,
kernel test robot noticed "EIP:look_up_lock_class" on:
commit: 73cf422c6afb067b7e5d395dae8c44e076a00ebb ("block: assign caller-specific lockdep class to disk->open_mutex")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
[test failed on linux-next/master e7d700e14934e68f86338c5610cf2ae76798b663]
in testcase: trinity
version:
with following parameters:
runtime: 300s
group: group-01
nr_groups: 5
config: i386-randconfig-007-20260527
compiler: clang-20
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 32G
(please refer to attached dmesg/kmsg for entire log/backtrace)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202605281444.29e7f79b-lkp@intel.com
[ 15.148854][ T192] ------------[ cut here ]------------
[ 15.150937][ T192] Looking for class "&cd->lock" with key sr_probe.__key, but found a different class "&disk->open_mutex" with the same key
[ 15.154899][ T192] WARNING: kernel/locking/lockdep.c:944 at look_up_lock_class+0xfe/0x140, CPU#0: udevd/192
[ 15.157990][ T192] Modules linked in:
[ 15.159228][ T192] CPU: 0 UID: 0 PID: 192 Comm: udevd Not tainted 7.1.0-rc5-00007-g73cf422c6afb #1 PREEMPT(lazy) 9df36ae0f1aead0a85dee313de9d5bfe012b6acd
[ 15.163724][ T192] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[ 15.166935][ T192] EIP: look_up_lock_class (locking/lockdep.c:941)
[ 15.168594][ T192] Code: f8 64 fd 83 c4 08 0f 0b eb cd 80 3d e5 95 8f 45 00 75 8f c6 05 e5 95 8f 45 01 51 52 50 68 c7 4b f8 44 e8 c5 f8 64 fd 83 c4 10 <0f> 0b e9 71 ff ff ff b8 90 88 25 45 89 f2 e8 af 10 35 fe 83 3d 18
All code
========
0: f8 clc
1: 64 fd fs std
3: 83 c4 08 add $0x8,%esp
6: 0f 0b ud2
8: eb cd jmp 0xffffffffffffffd7
a: 80 3d e5 95 8f 45 00 cmpb $0x0,0x458f95e5(%rip) # 0x458f95f6
11: 75 8f jne 0xffffffffffffffa2
13: c6 05 e5 95 8f 45 01 movb $0x1,0x458f95e5(%rip) # 0x458f95ff
1a: 51 push %rcx
1b: 52 push %rdx
1c: 50 push %rax
1d: 68 c7 4b f8 44 push $0x44f84bc7
22: e8 c5 f8 64 fd call 0xfffffffffd64f8ec
27: 83 c4 10 add $0x10,%esp
2a:* 0f 0b ud2 <-- trapping instruction
2c: e9 71 ff ff ff jmp 0xffffffffffffffa2
31: b8 90 88 25 45 mov $0x45258890,%eax
36: 89 f2 mov %esi,%edx
38: e8 af 10 35 fe call 0xfffffffffe3510ec
3d: 83 .byte 0x83
3e: 3d .byte 0x3d
3f: 18 .byte 0x18
Code starting with the faulting instruction
===========================================
0: 0f 0b ud2
2: e9 71 ff ff ff jmp 0xffffffffffffff78
7: b8 90 88 25 45 mov $0x45258890,%eax
c: 89 f2 mov %esi,%edx
e: e8 af 10 35 fe call 0xfffffffffe3510c2
13: 83 .byte 0x83
14: 3d .byte 0x3d
15: 18 .byte 0x18
[ 15.174645][ T192] EAX: 00000000 EBX: 465c09fc ECX: 00000000 EDX: 00000000
[ 15.176847][ T192] ESI: 45f5dacc EDI: bf79d6b0 EBP: 494d1ae0 ESP: 494d1ad4
[ 15.179052][ T192] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 EFLAGS: 00010006
[ 15.181672][ T192] CR0: 80050033 CR2: 3f831928 CR3: 7e675000 CR4: 000406d0
[ 15.183858][ T192] Call Trace:
[ 15.184927][ T192] ? register_lock_class (locking/lockdep.c:1296)
[ 15.186594][ T192] ? __lock_acquire (locking/lockdep.c:5114)
[ 15.188124][ T192] ? blk_mq_free_request (blk-mq.c:830)
[ 15.189788][ T192] ? scsi_test_unit_ready (scsi/scsi_lib.c:2489)
[ 15.191460][ T192] ? sr_revalidate_disk (scsi/sr.c:484)
[ 15.193069][ T192] ? lock_acquire (locking/lockdep.c:5870)
[ 15.194534][ T192] ? sr_block_open (scsi/sr.c:511)
[ 15.195998][ T192] ? __mutex_lock_common (locking/mutex.c:646)
[ 15.197692][ T192] ? sr_block_open (scsi/sr.c:511)
[ 15.199148][ T192] ? disk_check_media_change (linux/spinlock.h:402 disk-events.c:259 disk-events.c:276)
[ 15.201094][ T192] ? lockdep_hardirqs_on_prepare (locking/lockdep.c:4327 locking/lockdep.c:4412)
[ 15.202969][ T192] ? mutex_lock_nested (locking/mutex.c:820 locking/mutex.c:873)
[ 15.204515][ T192] ? sr_block_open (scsi/sr.c:511)
[ 15.205963][ T192] ? sr_block_open (scsi/sr.c:511)
[ 15.207402][ T192] ? blkdev_get_whole (bdev.c:738)
[ 15.208937][ T192] ? bdev_open (bdev.c:965)
[ 15.210863][ T192] ? blkdev_open (fops.c:697)
[ 15.212973][ T192] ? blkdev_write_iter (fops.c:809)
[ 15.215448][ T192] ? do_dentry_open (open.c:947)
[ 15.217726][ T192] ? inode_permission (namei.c:656)
[ 15.220026][ T192] ? vfs_open (open.c:1079)
[ 15.222005][ T192] ? path_openat (namei.c:4699)
[ 15.224177][ T192] ? do_file_open (namei.c:4887)
[ 15.226381][ T192] ? do_sys_openat2 (open.c:1364)
[ 15.228648][ T192] ? __ia32_sys_openat (open.c:1370 open.c:1386 open.c:1381 open.c:1381)
[ 15.231073][ T192] ? ia32_sys_call (kbuild/obj/consumer/i386-randconfig-007-20260527/./arch/x86/include/generated/asm/syscalls_32.h:296)
[ 15.233322][ T192] ? do_int80_syscall_32 (x86/entry/syscall_32.c:83)
[ 15.235698][ T192] ? _copy_to_user (x86/include/asm/uaccess_32.h:20 linux/uaccess.h:206 usercopy.c:26)
[ 15.237840][ T192] ? do_int80_syscall_32 (linux/entry-common.h:317)
[ 15.240356][ T192] ? rcu_is_watching (rcu/tree.c:753)
[ 15.242605][ T192] ? do_int80_syscall_32 (linux/randomize_kstack.h:57)
[ 15.245000][ T192] ? entry_INT80_32 (x86/entry/entry_32.S:940)
[ 15.247150][ T192] ? exc_page_fault (x86/mm/fault.c:1530)
[ 15.249320][ T192] ? entry_INT80_32 (x86/entry/entry_32.S:940)
[ 15.251034][ T192] irq event stamp: 4795
[ 15.252378][ T192] hardirqs last enabled at (4795): _raw_spin_unlock_irqrestore (linux/spinlock_api_smp.h:178 locking/spinlock.c:198)
[ 15.255395][ T192] hardirqs last disabled at (4794): _raw_spin_lock_irqsave (linux/spinlock_api_smp.h:130 locking/spinlock.c:166)
[ 15.258260][ T192] softirqs last enabled at (4654): local_bh_enable (linux/bottom_half.h:32)
[ 15.260941][ T192] softirqs last disabled at (4652): local_bh_disable (linux/bottom_half.h:19)
[ 15.263626][ T192] ---[ end trace 0000000000000000 ]---
[ 15.265332][ T192]
[ 15.266134][ T192] ============================================
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20260528/202605281444.29e7f79b-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-28 11:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-28 7:05 [linux-next:master] [block] 73cf422c6a: EIP:look_up_lock_class kernel test robot
2026-05-28 11:38 ` Tetsuo Handa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox