[sysctl] 0874c1fba8: sysctl_duplicate_entry
by kernel test robot
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 0874c1fba8287710354dfc35b2acf23ce3fec018 ("sysctl: add and use base directory declarer and registration helper")
https://github.com/hying-caritas/linux.git mmotm-2021-11-29
in testcase: trinity
version: trinity-x86_64-03f10b67-1_20210401
with following parameters:
runtime: 300s
group: group-01
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 SandyBridge -smp 2 -m 16G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-------------------------------------------------------------+------------+------------+
| | 81b2e900ee | 0874c1fba8 |
+-------------------------------------------------------------+------------+------------+
| sysctl_duplicate_entry | 0 | 21 |
+-------------------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang(a)intel.com>
[ 0.572769][ T0] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x21134f58f0d, max_idle_ns: 440795217993 ns
[ 0.574519][ T0] Calibrating delay loop (skipped) preset value.. 4589.21 BogoMIPS (lpj=9178432)
[ 0.575848][ T0] pid_max: default: 32768 minimum: 301
[ 0.577460][ T0] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.578565][ T0] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.579972][ T0] sysctl duplicate entry: //exception-trace
[ 0.580860][ T0] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.16.0-rc3-mm1-00208-g0874c1fba828 #1
[ 0.582272][ T0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
[ 0.582519][ T0] Call Trace:
[ 0.582519][ T0] <TASK>
[ 0.582519][ T0] dump_stack_lvl (kbuild/src/consumer/lib/dump_stack.c:107 (discriminator 1))
[ 0.582519][ T0] __register_sysctl_table (kbuild/src/consumer/fs/proc/proc_sysctl.c:1386)
[ 0.582519][ T0] register_leaf_sysctl_tables (kbuild/src/consumer/fs/proc/proc_sysctl.c:1508)
[ 0.582519][ T0] __register_sysctl_paths (kbuild/src/consumer/fs/proc/proc_sysctl.c:1594)
To reproduce:
# build kernel
cd linux
cp config-5.16.0-rc3-mm1-00208-g0874c1fba828 .config
make HOSTCC=gcc-9 CC=gcc-9 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage modules
make HOSTCC=gcc-9 CC=gcc-9 ARCH=x86_64 INSTALL_MOD_PATH=<mod-install-dir> modules_install
cd <mod-install-dir>
find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached in this email
# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.
---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/lkp@lists.01.org Intel Corporation
Thanks,
Oliver Sang
4 months, 3 weeks
[flow_offload] 28798f55fe: WARNING:suspicious_RCU_usage
by kernel test robot
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 28798f55fed6319f8ffc4e29889fedbf48414368 ("[PATCH v8 net-next 06/13] flow_offload: allow user to offload tc action to net device")
url: https://github.com/0day-ci/linux/commits/Simon-Horman/allow-user-to-offlo...
base: https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git 86df8be67f6ca85d14fd469f1d1bcc3eee8f713e
patch link: https://lore.kernel.org/lkml/20211217181629.28081-7-simon.horman@corigine...
in testcase: kernel-selftests
version: kernel-selftests-x86_64-a1616593-1_20211221
with following parameters:
group: tc-testing
ucode: 0xe2
test-description: The kernel contains a set of "self tests" under the tools/testing/selftests/ directory. These are intended to be small unit tests to exercise individual code paths in the kernel.
test-url: https://www.kernel.org/doc/Documentation/kselftest.txt
on test machine: 4 threads Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz with 32G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang(a)intel.com>
[ 267.826422][T12702] WARNING: suspicious RCU usage
[ 267.831169][T12702] 5.16.0-rc5-01343-g28798f55fed6 #1 Not tainted
[ 267.837331][T12702] -----------------------------
[ 267.842078][T12702] include/net/tc_act/tc_tunnel_key.h:33 suspicious rcu_dereference_protected() usage!
[ 267.851547][T12702]
[ 267.851547][T12702] other info that might help us debug this:
[ 267.851547][T12702]
[ 267.861709][T12702]
[ 267.861709][T12702] rcu_scheduler_active = 2, debug_locks = 1
[ 267.869694][T12702] 1 lock held by tc/12702:
[267.874017][T12702] #0: ffffffff85e87d08 (rtnl_mutex){+.+.}-{3:3}, at: tc_action_load_ops (net/sched/act_api.c:1071)
[ 267.883433][T12702]
[ 267.883433][T12702] stack backtrace:
[ 267.889224][T12702] CPU: 2 PID: 12702 Comm: tc Not tainted 5.16.0-rc5-01343-g28798f55fed6 #1
[ 267.897730][T12702] Hardware name: Dell Inc. OptiPlex 7040/0Y7WYT, BIOS 1.8.1 12/05/2017
[ 267.905867][T12702] Call Trace:
[ 267.909029][T12702] <TASK>
[267.911840][T12702] dump_stack_lvl (lib/dump_stack.c:107)
[267.916228][T12702] tcf_tunnel_key_offload_act_setup (include/net/tc_act/tc_tunnel_key.h:33 net/sched/act_tunnel_key.c:832) act_tunnel_key
[267.923847][T12702] tcf_action_offload_add (net/sched/act_api.c:152 net/sched/act_api.c:185)
[267.929098][T12702] ? tc_lookup_action_n (net/sched/act_api.c:173)
[267.934028][T12702] ? rcu_read_lock_sched_held (kernel/rcu/update.c:306)
[267.939629][T12702] ? __nla_validate_parse (include/net/netlink.h:1159 (discriminator 1) lib/nlattr.c:576 (discriminator 1))
[267.944805][T12702] tcf_action_init (net/sched/act_api.c:1198)
[267.949455][T12702] ? tcf_action_init_1 (net/sched/act_api.c:1161)
[267.954445][T12702] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4885)
[267.960380][T12702] ? __lock_acquire (arch/x86/include/asm/bitops.h:214 (discriminator 9) include/asm-generic/bitops/instrumented-non-atomic.h:135 (discriminator 9) kernel/locking/lockdep.c:199 (discriminator 9) kernel/locking/lockdep.c:5024 (discriminator 9))
[267.965240][T12702] tcf_action_add (net/sched/act_api.c:1605)
[267.969712][T12702] ? tca_action_gd (net/sched/act_api.c:1596)
[267.974364][T12702] ? __alloc_skb (net/core/skbuff.c:414)
[267.978873][T12702] ? memset (mm/kasan/shadow.c:44)
[267.982732][T12702] ? __nla_validate_parse (include/net/netlink.h:1159 (discriminator 1) lib/nlattr.c:576 (discriminator 1))
[267.987905][T12702] tc_ctl_action (net/sched/act_api.c:1664)
[267.992388][T12702] ? tcf_action_add (net/sched/act_api.c:1630)
[267.997123][T12702] ? lock_is_held_type (kernel/locking/lockdep.c:438 kernel/locking/lockdep.c:5681)
[268.002033][T12702] rtnetlink_rcv_msg (net/core/rtnetlink.c:5570)
[268.006852][T12702] ? rtnl_calcit+0x380/0x380
[268.011935][T12702] ? lock_is_held_type (kernel/locking/lockdep.c:438 kernel/locking/lockdep.c:5681)
[268.016839][T12702] ? netlink_deliver_tap (include/linux/rcupdate.h:720 net/netlink/af_netlink.c:336)
[268.022009][T12702] netlink_rcv_skb (net/netlink/af_netlink.c:2492)
[268.026648][T12702] ? rtnl_calcit+0x380/0x380
[268.031727][T12702] ? netlink_ack (net/netlink/af_netlink.c:2469)
[268.036198][T12702] ? netlink_deliver_tap (include/linux/rcupdate.h:273 include/linux/rcupdate.h:721 net/netlink/af_netlink.c:336)
[268.041360][T12702] ? _copy_from_iter (lib/iov_iter.c:767 (discriminator 8))
[268.046183][T12702] netlink_unicast (net/netlink/af_netlink.c:1316 net/netlink/af_netlink.c:1341)
[268.050827][T12702] ? netlink_attachskb (net/netlink/af_netlink.c:1326)
[268.055819][T12702] ? __check_object_size (mm/usercopy.c:240 mm/usercopy.c:286 mm/usercopy.c:256)
[268.060987][T12702] netlink_sendmsg (net/netlink/af_netlink.c:1917)
[268.065632][T12702] ? netlink_unicast (net/netlink/af_netlink.c:1837)
[268.070448][T12702] ? __import_iovec (lib/iov_iter.c:1949)
[268.075093][T12702] ? netlink_unicast (net/netlink/af_netlink.c:1837)
[268.079910][T12702] sock_sendmsg (net/socket.c:704 net/socket.c:724)
[268.084204][T12702] ____sys_sendmsg (net/socket.c:2409)
[268.088849][T12702] ? kernel_sendmsg (net/socket.c:2356)
[268.093416][T12702] ? __copy_msghdr_from_user (net/socket.c:2338)
[268.098935][T12702] ? filemap_map_pages (mm/filemap.c:3347)
[268.104022][T12702] ___sys_sendmsg (net/socket.c:2465)
[268.108493][T12702] ? sendmsg_copy_msghdr (net/socket.c:2452)
[268.113492][T12702] ? lock_is_held_type (kernel/locking/lockdep.c:438 kernel/locking/lockdep.c:5681)
[268.118395][T12702] ? do_user_addr_fault (arch/x86/mm/fault.c:1423)
[268.123473][T12702] ? rcu_read_lock_sched_held (include/linux/lockdep.h:283 kernel/rcu/update.c:125)
[268.128984][T12702] ? rcu_read_lock_bh_held (kernel/rcu/update.c:120)
[268.134154][T12702] ? find_held_lock (kernel/locking/lockdep.c:5130)
[268.138805][T12702] ? lock_release (kernel/locking/lockdep.c:438 kernel/locking/lockdep.c:5659)
[268.143370][T12702] ? lock_downgrade (kernel/locking/lockdep.c:5645)
[268.148107][T12702] ? __fget_light (arch/x86/include/asm/atomic.h:29 include/linux/atomic/atomic-instrumented.h:28 fs/file.c:1003)
[268.152584][T12702] ? sockfd_lookup_light (net/socket.c:550)
[268.157677][T12702] __sys_sendmsg (include/linux/file.h:32 net/socket.c:2494)
[268.162064][T12702] ? __sys_sendmsg_sock (net/socket.c:2480)
[268.166970][T12702] ? syscall_enter_from_user_mode (kernel/entry/common.c:107)
[268.172754][T12702] ? lock_is_held_type (kernel/locking/lockdep.c:438 kernel/locking/lockdep.c:5681)
[268.177658][T12702] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:438 kernel/locking/lockdep.c:4293 kernel/locking/lockdep.c:4244)
[268.183521][T12702] ? syscall_enter_from_user_mode (arch/x86/include/asm/irqflags.h:45 arch/x86/include/asm/irqflags.h:80 kernel/entry/common.c:107)
[268.189315][T12702] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4356)
[268.194395][T12702] do_syscall_64 (arch/x86/entry/common.c:50 arch/x86/entry/common.c:80)
[268.198690][T12702] ? asm_exc_page_fault (arch/x86/include/asm/idtentry.h:568)
[268.203593][T12702] ? asm_exc_page_fault (arch/x86/include/asm/idtentry.h:568)
[268.208420][T12702] ? lockdep_hardirqs_on (kernel/locking/lockdep.c:4356)
[268.213496][T12702] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:113)
[ 268.219266][T12702] RIP: 0033:0x7fb425eb6914
[ 268.223558][T12702] Code: 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b5 0f 1f 80 00 00 00 00 48 8d 05 e9 5d 0c 00 8b 00 85 c0 75 13 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 54 c3 0f 1f 00 41 54 41 89 d4 55 48 89 f5 53
All code
========
0: 00 f7 add %dh,%bh
2: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4)
6: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax
d: eb b5 jmp 0xffffffffffffffc4
f: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
16: 48 8d 05 e9 5d 0c 00 lea 0xc5de9(%rip),%rax # 0xc5e06
1d: 8b 00 mov (%rax),%eax
1f: 85 c0 test %eax,%eax
21: 75 13 jne 0x36
23: b8 2e 00 00 00 mov $0x2e,%eax
28: 0f 05 syscall
2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction
30: 77 54 ja 0x86
32: c3 retq
33: 0f 1f 00 nopl (%rax)
36: 41 54 push %r12
38: 41 89 d4 mov %edx,%r12d
3b: 55 push %rbp
3c: 48 89 f5 mov %rsi,%rbp
3f: 53 push %rbx
Code starting with the faulting instruction
===========================================
0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax
6: 77 54 ja 0x5c
8: c3 retq
9: 0f 1f 00 nopl (%rax)
c: 41 54 push %r12
e: 41 89 d4 mov %edx,%r12d
11: 55 push %rbp
12: 48 89 f5 mov %rsi,%rbp
15: 53 push %rbx
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
sudo bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
sudo bin/lkp run generated-yaml-file
# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.
---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/lkp@lists.01.org Intel Corporation
Thanks,
Oliver Sang
4 months, 3 weeks
[kthread] 40966e316f: WARNING:at_kernel/sched/core.c:#sched_init
by kernel test robot
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 40966e316f86b8cfd83abd31ccb4df729309d3e7 ("kthread: Ensure struct kthread is present for all kthreads")
https://git.kernel.org/cgit/linux/kernel/git/ebiederm/user-namespace.git signal-for-v5.17
in testcase: trinity
version: trinity-x86_64-608712d8-1_20211207
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 SandyBridge -smp 2 -m 16G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang(a)intel.com>
[ 1.977577][ T0] WARNING: CPU: 0 PID: 0 at kernel/sched/core.c:9428 sched_init (kernel/sched/core.c:9428 (discriminator 1))
[ 1.978820][ T0] Modules linked in:
[ 1.979372][ T0] CPU: 0 PID: 0 Comm: swapper Not tainted 5.16.0-rc1-00016-g40966e316f86 #1
[ 1.980543][ T0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
[ 1.981796][ T0] RIP: 0010:sched_init (kernel/sched/core.c:9428 (discriminator 1))
[ 1.982511][ T0] Code: 91 e8 9a 76 90 fb 48 c7 c7 a0 69 29 91 65 4c 8b 24 25 00 6d 02 00 4c 89 e6 e8 82 a7 7d fb 4c 89 e7 e8 fa 41 8e fb 84 c0 74 02 <0f> 0b 65 8b 35 75 47 ee 6d 65 48 8b 3c 25 00 6d 02 00 e8 d6 ed ff
All code
========
0: 91 xchg %eax,%ecx
1: e8 9a 76 90 fb callq 0xfffffffffb9076a0
6: 48 c7 c7 a0 69 29 91 mov $0xffffffff912969a0,%rdi
d: 65 4c 8b 24 25 00 6d mov %gs:0x26d00,%r12
14: 02 00
16: 4c 89 e6 mov %r12,%rsi
19: e8 82 a7 7d fb callq 0xfffffffffb7da7a0
1e: 4c 89 e7 mov %r12,%rdi
21: e8 fa 41 8e fb callq 0xfffffffffb8e4220
26: 84 c0 test %al,%al
28: 74 02 je 0x2c
2a:* 0f 0b ud2 <-- trapping instruction
2c: 65 8b 35 75 47 ee 6d mov %gs:0x6dee4775(%rip),%esi # 0x6dee47a8
33: 65 48 8b 3c 25 00 6d mov %gs:0x26d00,%rdi
3a: 02 00
3c: e8 .byte 0xe8
3d: d6 (bad)
3e: ed in (%dx),%eax
3f: ff .byte 0xff
Code starting with the faulting instruction
===========================================
0: 0f 0b ud2
2: 65 8b 35 75 47 ee 6d mov %gs:0x6dee4775(%rip),%esi # 0x6dee477e
9: 65 48 8b 3c 25 00 6d mov %gs:0x26d00,%rdi
10: 02 00
12: e8 .byte 0xe8
13: d6 (bad)
14: ed in (%dx),%eax
15: ff .byte 0xff
[ 1.985437][ T0] RSP: 0000:ffffffff90c07ed8 EFLAGS: 00010002
[ 1.986298][ T0] RAX: 0000000000000001 RBX: ffff88839d737a40 RCX: 0000000000000000
[ 1.987402][ T0] RDX: 1ffffffff2184597 RSI: ffffffff9027c180 RDI: ffffffff90c22cb0
[ 1.988535][ T0] RBP: ffffffff90c07f20 R08: ffffffff920edb2b R09: ffffffff8d800107
[ 1.989665][ T0] R10: ffffffff920edb2b R11: ffffffff8d800107 R12: ffffffff90c22280
[ 1.990816][ T0] R13: 0000000000000002 R14: ffff88839d738418 R15: 00000000000f4240
[ 1.991938][ T0] FS: 0000000000000000(0000) GS:ffff88839d600000(0000) knlGS:0000000000000000
[ 1.993136][ T0] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1.994074][ T0] CR2: ffff88843ffff000 CR3: 0000000375c14000 CR4: 00000000000406b0
[ 1.995185][ T0] Call Trace:
[ 1.995658][ T0] <TASK>
[ 1.996073][ T0] start_kernel (arch/x86/include/asm/irqflags.h:29 arch/x86/include/asm/irqflags.h:70 init/main.c:996)
[ 1.996726][ T0] secondary_startup_64_no_verify (arch/x86/kernel/head_64.S:283)
[ 1.997625][ T0] </TASK>
[ 1.998051][ T0] ---[ end trace 9b598a628b1de811 ]---
[ 2.000123][ T0] rcu: Hierarchical RCU implementation.
[ 2.000911][ T0] rcu: RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=2.
[ 2.001949][ T0] RCU CPU stall warnings timeout set to 100 (rcu_cpu_stall_timeout).
[ 2.003115][ T0] Trampoline variant of Tasks RCU enabled.
[ 2.003927][ T0] Rude variant of Tasks RCU enabled.
[ 2.004696][ T0] Tracing variant of Tasks RCU enabled.
[ 2.005476][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[ 2.006689][ T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 2.049794][ T0] NR_IRQS: 524544, nr_irqs: 440, preallocated irqs: 16
[ 2.057841][ T0] Console: colour VGA+ 80x25
[ 2.141394][ T0] printk: console [tty0] enabled
[ 2.142437][ T0] printk: console [ttyS0] enabled
[ 2.144033][ T0] printk: bootconsole [earlyser0] disabled
[ 2.145973][ T0] ACPI: Core revision 20210930
[ 2.147506][ T0] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[ 2.149537][ T0] APIC: Switch to symmetric I/O mode setup
[ 2.150977][ T0] x2apic enabled
[ 2.152043][ T0] Switched APIC routing to physical x2apic.
[ 2.153198][ T0] masked ExtINT on CPU#0
[ 2.154883][ T0] ENABLING IO-APIC IRQs
[ 2.155737][ T0] init IO_APIC IRQs
[ 2.156553][ T0] apic 0 pin 0 not connected
[ 2.157517][ T0] IOAPIC[0]: Preconfigured routing entry (0-1 -> IRQ 1 Level:0 ActiveLow:0)
[ 2.159208][ T0] IOAPIC[0]: Preconfigured routing entry (0-2 -> IRQ 0 Level:0 ActiveLow:0)
[ 2.160960][ T0] IOAPIC[0]: Preconfigured routing entry (0-3 -> IRQ 3 Level:0 ActiveLow:0)
[ 2.162643][ T0] IOAPIC[0]: Preconfigured routing entry (0-4 -> IRQ 4 Level:0 ActiveLow:0)
[ 2.164329][ T0] IOAPIC[0]: Preconfigured routing entry (0-5 -> IRQ 5 Level:1 ActiveLow:0)
[ 2.166123][ T0] IOAPIC[0]: Preconfigured routing entry (0-6 -> IRQ 6 Level:0 ActiveLow:0)
[ 2.167935][ T0] IOAPIC[0]: Preconfigured routing entry (0-7 -> IRQ 7 Level:0 ActiveLow:0)
[ 2.169686][ T0] IOAPIC[0]: Preconfigured routing entry (0-8 -> IRQ 8 Level:0 ActiveLow:0)
[ 2.171571][ T0] IOAPIC[0]: Preconfigured routing entry (0-9 -> IRQ 9 Level:1 ActiveLow:0)
[ 2.173392][ T0] IOAPIC[0]: Preconfigured routing entry (0-10 -> IRQ 10 Level:1 ActiveLow:0)
[ 2.175323][ T0] IOAPIC[0]: Preconfigured routing entry (0-11 -> IRQ 11 Level:1 ActiveLow:0)
[ 2.177186][ T0] IOAPIC[0]: Preconfigured routing entry (0-12 -> IRQ 12 Level:0 ActiveLow:0)
[ 2.179103][ T0] IOAPIC[0]: Preconfigured routing entry (0-13 -> IRQ 13 Level:0 ActiveLow:0)
[ 2.180864][ T0] IOAPIC[0]: Preconfigured routing entry (0-14 -> IRQ 14 Level:0 ActiveLow:0)
[ 2.182756][ T0] IOAPIC[0]: Preconfigured routing entry (0-15 -> IRQ 15 Level:0 ActiveLow:0)
[ 2.184563][ T0] apic 0 pin 16 not connected
[ 2.185577][ T0] apic 0 pin 17 not connected
[ 2.186572][ T0] apic 0 pin 18 not connected
[ 2.187580][ T0] apic 0 pin 19 not connected
[ 2.188595][ T0] apic 0 pin 20 not connected
[ 2.189599][ T0] apic 0 pin 21 not connected
[ 2.190565][ T0] apic 0 pin 22 not connected
[ 2.191561][ T0] apic 0 pin 23 not connected
[ 2.192740][ T0] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 2.194099][ T0] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x2113883cfc4, max_idle_ns: 440795203346 ns
[ 2.196354][ T0] Calibrating delay loop (skipped) preset value.. 4589.33 BogoMIPS (lpj=2294668)
[ 2.197346][ T0] pid_max: default: 32768 minimum: 301
[ 2.199643][ T0] LSM: Security Framework initializing
[ 2.200371][ T0] Yama: becoming mindful.
[ 2.201599][ T0] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 2.202407][ T0] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
Poking KASLR using RDTSC...
[ 2.206585][ T0] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[ 2.207343][ T0] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[ 2.208360][ T0] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[ 2.209355][ T0] Spectre V2 : Mitigation: Full generic retpoline
[ 2.210343][ T0] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
[ 2.211344][ T0] Speculative Store Bypass: Vulnerable
[ 2.212362][ T0] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[ 2.230374][ T0] Freeing SMP alternatives memory: 40K
[ 2.231962][ T1] smpboot: CPU0: Intel Xeon E312xx (Sandy Bridge) (family: 0x6, model: 0x2a, stepping: 0x1)
[ 2.233793][ T1] Performance Events: unsupported p6 CPU model 42 no PMU driver, software events only.
[ 2.234580][ T1] rcu: Hierarchical SRCU implementation.
[ 2.238888][ T1] NMI watchdog: Perf NMI watchdog permanently disabled
[ 2.239965][ T1] smp: Bringing up secondary CPUs ...
[ 2.242120][ T1] x86: Booting SMP configuration:
[ 2.242355][ T1] .... node #0, CPUs: #1
[ 0.140853][ T0] kvm-clock: cpu 1, msr 377449041, secondary cpu clock
[ 0.140853][ T0] masked ExtINT on CPU#1
[ 0.140853][ T0] smpboot: CPU 1 Converting physical 0 to logical die 1
[ 2.247421][ T17] kvm-guest: stealtime: cpu 1, msr 39d727180
[ 2.248414][ T1] smp: Brought up 1 node, 2 CPUs
[ 2.249352][ T1] smpboot: Max logical packages: 2
[ 2.250010][ T1] smpboot: Total of 2 processors activated (9178.67 BogoMIPS)
[ 2.501557][ T22] node 0 deferred pages initialised in 251ms
[ 2.633580][ T1] allocated 201326592 bytes of page_ext
[ 2.634559][ T1] Node 0, zone DMA: page owner found early allocated 0 pages
[ 2.637514][ T1] Node 0, zone DMA32: page owner found early allocated 0 pages
[ 2.665731][ T1] Node 0, zone Normal: page owner found early allocated 50302 pages
[ 2.666834][ T1] devtmpfs: initialized
[ 2.667853][ T1] x86/mm: Memory block size: 128MB
[ 2.703773][ T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[ 2.704375][ T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 2.705771][ T1] pinctrl core: initialized pinctrl subsystem
[ 2.708068][ T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 2.710285][ T1] audit: initializing netlink subsys (disabled)
[ 2.710675][ T27] audit: type=2000 audit(1639545078.756:1): state=initialized audit_enabled=0 res=1
[ 2.712593][ T1] thermal_sys: Registered thermal governor 'fair_share'
[ 2.712599][ T1] thermal_sys: Registered thermal governor 'bang_bang'
[ 2.713348][ T1] thermal_sys: Registered thermal governor 'step_wise'
[ 2.714348][ T1] thermal_sys: Registered thermal governor 'user_space'
[ 2.715474][ T1] cpuidle: using governor menu
[ 2.718322][ T1] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 2.719335][ T1] PCI: Using configuration type 1 for base access
[ 2.762444][ T1] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[ 2.764642][ T1] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 2.767543][ T1] cryptd: max_cpu_qlen set to 1000
To reproduce:
# build kernel
cd linux
cp config-5.16.0-rc1-00016-g40966e316f86 .config
make HOSTCC=gcc-9 CC=gcc-9 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage modules
make HOSTCC=gcc-9 CC=gcc-9 ARCH=x86_64 INSTALL_MOD_PATH=<mod-install-dir> modules_install
cd <mod-install-dir>
find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached in this email
# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.
---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/lkp@lists.01.org Intel Corporation
Thanks,
Oliver Sang
4 months, 3 weeks
[f2fs] d4dd19ec1e: stress-ng.ioprio.ops_per_sec 418.8% improvement
by kernel test robot
Greeting,
FYI, we noticed a 418.8% improvement of stress-ng.ioprio.ops_per_sec due to commit:
commit: d4dd19ec1ea0cf6532d65709325c42b1398614a8 ("f2fs: do not expose unwritten blocks to user by DIO")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: stress-ng
on test machine: 96 threads 2 sockets Intel(R) Xeon(R) Gold 6252 CPU @ 2.10GHz with 512G memory
with following parameters:
nr_threads: 10%
disk: 1HDD
testtime: 60s
fs: f2fs
class: filesystem
test: ioprio
cpufreq_governor: performance
ucode: 0x5003102
Details are as below:
-------------------------------------------------------------------------------------------------->
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
sudo bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
sudo bin/lkp run generated-yaml-file
# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.
=========================================================================================
class/compiler/cpufreq_governor/disk/fs/kconfig/nr_threads/rootfs/tbox_group/test/testcase/testtime/ucode:
filesystem/gcc-9/performance/1HDD/f2fs/x86_64-rhel-8.3/10%/debian-10.4-x86_64-20200603.cgz/lkp-csl-2sp7/ioprio/stress-ng/60s/0x5003102
commit:
b31bf0f96e ("f2fs: reduce indentation in f2fs_file_write_iter()")
d4dd19ec1e ("f2fs: do not expose unwritten blocks to user by DIO")
b31bf0f96e71a2c8 d4dd19ec1ea0cf6532d65709325
---------------- ---------------------------
%stddev %change %stddev
\ | \
158.83 ± 10% +417.2% 821.50 ± 15% stress-ng.ioprio.ops
2.63 ± 10% +418.8% 13.64 ± 15% stress-ng.ioprio.ops_per_sec
6383 ± 16% +338.5% 27988 ± 6% meminfo.Inactive(file)
27453 ± 5% -37.0% 17302 ± 12% softirqs.TIMER
90.22 +6.2% 95.83 iostat.cpu.idle
7.65 ± 2% -74.2% 1.97 ± 58% iostat.cpu.iowait
7.89 ± 2% -5.9 2.03 ± 58% mpstat.cpu.all.iowait%
0.08 ± 2% +0.0 0.10 ± 4% mpstat.cpu.all.sys%
89.83 +6.5% 95.67 vmstat.cpu.id
2095 +50.9% 3162 ± 6% vmstat.io.bo
7.17 ± 5% -76.7% 1.67 ± 56% vmstat.procs.b
34699 +49.3% 51804 ± 5% proc-vmstat.nr_dirtied
1595 ± 16% +336.3% 6961 ± 5% proc-vmstat.nr_inactive_file
18272 +4.4% 19083 ± 7% proc-vmstat.nr_kernel_stack
47048 +2.5% 48215 ± 2% proc-vmstat.nr_slab_unreclaimable
34641 +49.9% 51938 ± 6% proc-vmstat.nr_written
1595 ± 16% +336.3% 6961 ± 5% proc-vmstat.nr_zone_inactive_file
429745 +2.0% 438139 proc-vmstat.pgalloc_normal
327388 -1.0% 324273 proc-vmstat.pgfault
138652 +50.1% 208086 ± 5% proc-vmstat.pgpgout
0.75 ± 15% -0.4 0.38 ± 72% perf-profile.calltrace.cycles-pp.run_rebalance_domains.__softirqentry_text_start.irq_exit_rcu.sysvec_apic_timer_interrupt.asm_sysvec_apic_timer_interrupt
0.76 ± 15% -0.2 0.55 ± 13% perf-profile.children.cycles-pp.run_rebalance_domains
0.72 ± 12% -0.2 0.54 ± 11% perf-profile.children.cycles-pp.update_blocked_averages
0.07 ± 16% +0.0 0.10 ± 18% perf-profile.children.cycles-pp.schedule_idle
0.01 ±223% +0.1 0.09 ± 17% perf-profile.children.cycles-pp.__submit_merged_write_cond
0.00 +0.1 0.10 ± 52% perf-profile.children.cycles-pp.do_write_page
0.00 +0.1 0.10 ± 56% perf-profile.children.cycles-pp.f2fs_outplace_write_data
0.00 +0.1 0.10 ± 40% perf-profile.children.cycles-pp.f2fs_write_begin
0.01 ±223% +0.1 0.13 ± 59% perf-profile.children.cycles-pp.f2fs_do_write_data_page
0.11 ± 41% +0.1 0.24 ± 34% perf-profile.children.cycles-pp.f2fs_write_cache_pages
0.00 +0.1 0.13 ± 30% perf-profile.children.cycles-pp.generic_perform_write
0.00 +0.1 0.14 ± 31% perf-profile.children.cycles-pp.__generic_file_write_iter
0.00 +0.1 0.14 ± 36% perf-profile.children.cycles-pp.do_iter_write
0.00 +0.1 0.14 ± 36% perf-profile.children.cycles-pp.do_iter_readv_writev
0.00 +0.1 0.14 ± 36% perf-profile.children.cycles-pp.f2fs_file_write_iter
0.13 ± 34% +0.1 0.27 ± 31% perf-profile.children.cycles-pp.do_writepages
0.00 +0.1 0.14 ± 35% perf-profile.children.cycles-pp.vfs_writev
0.12 ± 36% +0.1 0.27 ± 32% perf-profile.children.cycles-pp.f2fs_write_data_pages
0.12 ± 36% +0.1 0.27 ± 31% perf-profile.children.cycles-pp.filemap_fdatawrite_wbc
0.00 +0.2 0.15 ± 38% perf-profile.children.cycles-pp.do_pwritev
0.00 +0.2 0.16 ± 36% perf-profile.children.cycles-pp.pwritev64
0.01 ±223% +0.2 0.17 ± 50% perf-profile.children.cycles-pp.__x64_sys_ioprio_get
0.13 ± 35% +0.2 0.30 ± 26% perf-profile.children.cycles-pp.file_write_and_wait_range
0.01 ±223% +0.2 0.18 ± 45% perf-profile.children.cycles-pp.syscall
0.13 ± 35% +0.2 0.34 ± 24% perf-profile.children.cycles-pp.f2fs_do_sync_file
0.13 ± 35% +0.2 0.34 ± 24% perf-profile.children.cycles-pp.__x64_sys_fsync
0.13 ± 35% +0.2 0.34 ± 24% perf-profile.children.cycles-pp.do_fsync
0.14 ± 35% +0.2 0.36 ± 23% perf-profile.children.cycles-pp.fsync
Disclaimer:
Results have been estimated based on internal Intel analysis and are provided
for informational purposes only. Any difference in system hardware or software
design or configuration may affect actual performance.
---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/lkp@lists.01.org Intel Corporation
Thanks,
Oliver Sang
4 months, 3 weeks
[drm] d1af5cd869: BUG:kernel_NULL_pointer_dereference,address
by kernel test robot
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: d1af5cd86997d53c140a5abdced40c5e45d68e34 ("[PATCH] drm: get rid of DRM_DEBUG_* log calls in drm core, files drm_a*.c")
url: https://github.com/0day-ci/linux/commits/Claudio-Suarez/drm-get-rid-of-DR...
base: git://anongit.freedesktop.org/drm/drm drm-next
patch link: https://lore.kernel.org/dri-devel/YaC7zXW119tlzfVh@gineta.localdomain
in testcase: boot
on test machine: qemu-system-i386 -enable-kvm -cpu SandyBridge -smp 2 -m 4G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+---------------------------------------------+------------+------------+
| | c18c889111 | d1af5cd869 |
+---------------------------------------------+------------+------------+
| boot_successes | 13 | 0 |
| boot_failures | 0 | 15 |
| BUG:kernel_NULL_pointer_dereference,address | 0 | 15 |
| Oops:#[##] | 0 | 15 |
| EIP:drm_atomic_helper_check_plane_state | 0 | 15 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 15 |
+---------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang(a)intel.com>
[ 125.561383][ T1] BUG: kernel NULL pointer dereference, address: 00000010
[ 125.562724][ T1] #PF: supervisor read access in kernel mode
[ 125.563784][ T1] #PF: error_code(0x0000) - not-present page
[ 125.564418][ T1] *pde = 00000000
[ 125.564418][ T1] Oops: 0000 [#1] PREEMPT SMP
[ 125.564418][ T1] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.16.0-rc2-00259-gd1af5cd86997 #1
[ 125.564418][ T1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
[ 125.564418][ T1] EIP: drm_atomic_helper_check_plane_state (drivers/gpu/drm/drm_atomic_helper.c:867)
[ 125.564418][ T1] Code: 45 d4 50 89 f0 e8 c6 8a 00 00 5a 80 7b 6c 00 74 6f 80 7d cc 00 75 69 8b 45 e4 39 43 5c 75 08 8b 45 ec 39 43 64 74 49 8b 43 04 <8b> 00 85 c0 74 03 8b 40 08 68 d3 54 71 c2 6a 04 50 e8 50 0d 04 00
All code
========
0: 45 d4 rex.RB (bad)
2: 50 push %rax
3: 89 f0 mov %esi,%eax
5: e8 c6 8a 00 00 callq 0x8ad0
a: 5a pop %rdx
b: 80 7b 6c 00 cmpb $0x0,0x6c(%rbx)
f: 74 6f je 0x80
11: 80 7d cc 00 cmpb $0x0,-0x34(%rbp)
15: 75 69 jne 0x80
17: 8b 45 e4 mov -0x1c(%rbp),%eax
1a: 39 43 5c cmp %eax,0x5c(%rbx)
1d: 75 08 jne 0x27
1f: 8b 45 ec mov -0x14(%rbp),%eax
22: 39 43 64 cmp %eax,0x64(%rbx)
25: 74 49 je 0x70
27: 8b 43 04 mov 0x4(%rbx),%eax
2a:* 8b 00 mov (%rax),%eax <-- trapping instruction
2c: 85 c0 test %eax,%eax
2e: 74 03 je 0x33
30: 8b 40 08 mov 0x8(%rax),%eax
33: 68 d3 54 71 c2 pushq $0xffffffffc27154d3
38: 6a 04 pushq $0x4
3a: 50 push %rax
3b: e8 50 0d 04 00 callq 0x40d90
Code starting with the faulting instruction
===========================================
0: 8b 00 mov (%rax),%eax
2: 85 c0 test %eax,%eax
4: 74 03 je 0x9
6: 8b 40 08 mov 0x8(%rax),%eax
9: 68 d3 54 71 c2 pushq $0xffffffffc27154d3
e: 6a 04 pushq $0x4
10: 50 push %rax
11: e8 50 0d 04 00 callq 0x40d66
[ 125.564418][ T1] EAX: 00000010 EBX: c036fce8 ECX: 08000000 EDX: 00000001
[ 125.564418][ T1] ESI: c036fd34 EDI: 00010000 EBP: c036fcd4 ESP: c036fca0
[ 125.564418][ T1] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 EFLAGS: 00010287
[ 125.564418][ T1] CR0: 80050033 CR2: 00000010 CR3: 02f31000 CR4: 000406d0
[ 125.564418][ T1] Call Trace:
[ 125.564418][ T1] igt_check_plane_state (drivers/gpu/drm/selftests/test-drm_plane_helper.c:131 (discriminator 2))
[ 125.564418][ T1] ? test_drm_mm_init (drivers/gpu/drm/selftests/test-drm_modeset_common.c:16)
[ 125.564418][ T1] test_drm_modeset_init (drivers/gpu/drm/selftests/drm_selftest.c:77 drivers/gpu/drm/selftests/test-drm_modeset_common.c:19)
[ 125.564418][ T1] do_one_initcall (init/main.c:1297)
[ 125.564418][ T1] ? __this_cpu_preempt_check (lib/smp_processor_id.c:67)
[ 125.564418][ T1] ? lock_is_held_type (kernel/locking/lockdep.c:438 kernel/locking/lockdep.c:5681)
[ 125.564418][ T1] kernel_init_freeable (init/main.c:1369 init/main.c:1386 init/main.c:1405 init/main.c:1610)
[ 125.564418][ T1] ? rest_init (init/main.c:1491)
[ 125.564418][ T1] kernel_init (init/main.c:1501)
[ 125.564418][ T1] ret_from_fork (arch/x86/entry/entry_32.S:775)
[ 125.564418][ T1] Modules linked in:
[ 125.564418][ T1] CR2: 0000000000000010
[ 125.564418][ T1] random: get_random_bytes called from print_oops_end_marker+0x2c/0x80 with crng_init=0
[ 125.564418][ T1] ---[ end trace 9f868d4c92c9c57f ]---
[ 125.564418][ T1] EIP: drm_atomic_helper_check_plane_state (drivers/gpu/drm/drm_atomic_helper.c:867)
[ 125.564418][ T1] Code: 45 d4 50 89 f0 e8 c6 8a 00 00 5a 80 7b 6c 00 74 6f 80 7d cc 00 75 69 8b 45 e4 39 43 5c 75 08 8b 45 ec 39 43 64 74 49 8b 43 04 <8b> 00 85 c0 74 03 8b 40 08 68 d3 54 71 c2 6a 04 50 e8 50 0d 04 00
All code
========
0: 45 d4 rex.RB (bad)
2: 50 push %rax
3: 89 f0 mov %esi,%eax
5: e8 c6 8a 00 00 callq 0x8ad0
a: 5a pop %rdx
b: 80 7b 6c 00 cmpb $0x0,0x6c(%rbx)
f: 74 6f je 0x80
11: 80 7d cc 00 cmpb $0x0,-0x34(%rbp)
15: 75 69 jne 0x80
17: 8b 45 e4 mov -0x1c(%rbp),%eax
1a: 39 43 5c cmp %eax,0x5c(%rbx)
1d: 75 08 jne 0x27
1f: 8b 45 ec mov -0x14(%rbp),%eax
22: 39 43 64 cmp %eax,0x64(%rbx)
25: 74 49 je 0x70
27: 8b 43 04 mov 0x4(%rbx),%eax
2a:* 8b 00 mov (%rax),%eax <-- trapping instruction
2c: 85 c0 test %eax,%eax
2e: 74 03 je 0x33
30: 8b 40 08 mov 0x8(%rax),%eax
33: 68 d3 54 71 c2 pushq $0xffffffffc27154d3
38: 6a 04 pushq $0x4
3a: 50 push %rax
3b: e8 50 0d 04 00 callq 0x40d90
Code starting with the faulting instruction
===========================================
0: 8b 00 mov (%rax),%eax
2: 85 c0 test %eax,%eax
4: 74 03 je 0x9
6: 8b 40 08 mov 0x8(%rax),%eax
9: 68 d3 54 71 c2 pushq $0xffffffffc27154d3
e: 6a 04 pushq $0x4
10: 50 push %rax
11: e8 50 0d 04 00 callq 0x40d66
To reproduce:
# build kernel
cd linux
cp config-5.16.0-rc2-00259-gd1af5cd86997 .config
make HOSTCC=gcc-9 CC=gcc-9 ARCH=i386 olddefconfig prepare modules_prepare bzImage modules
make HOSTCC=gcc-9 CC=gcc-9 ARCH=i386 INSTALL_MOD_PATH=<mod-install-dir> modules_install
cd <mod-install-dir>
find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached in this email
# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.
---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/lkp@lists.01.org Intel Corporation
Thanks,
Oliver Sang
4 months, 3 weeks
【Amazon】アカウントの利用状況をご確認ください。
by Amazon
Amazon お客様
平素は、Amazonをご利用いただき、誠にありがとうございます。
このたび、ご本人様のご利用かどうかを確認させていただきたいお取引がありましたので、誠に勝手ながら、Amazonのご利用を一部制限させていただき、ご連絡させていただきました。
つきましては、以下へアクセスの上、Amazonのご利用確認にご協力をお願い致します。
ご回答をいただけない場合、Amazonのご利用制限が継続されることもございますので、予めご了承ください。
ご不便とご心配をおかけしまして誠に申し訳ございませんが、何卒ご理解いただきたくお願い申し上げます。
今すぐアカウントを確認»
Amazonのまたのご利用をお待ちしております。
© 1996-2021, Amazon. Inc. or its affiliates
4 months, 3 weeks
[loop] 322c4293ec: xfstests.xfs.049.fail
by kernel test robot
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 322c4293ecc58110227b49d7e47ae37b9b03566f ("loop: make autoclear operation asynchronous")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: xfstests
version: xfstests-x86_64-972d710-1_20211216
with following parameters:
disk: 4HDD
fs: xfs
test: xfs-group-04
ucode: 0x21
test-description: xfstests is a regression test suite for xfs and other files ystems.
test-url: git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git
on test machine: 4 threads 1 sockets Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz with 8G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang(a)intel.com>
2021-12-18 14:24:15 export TEST_DIR=/fs/sda2
2021-12-18 14:24:15 export TEST_DEV=/dev/sda2
2021-12-18 14:24:15 export FSTYP=xfs
2021-12-18 14:24:15 export SCRATCH_MNT=/fs/scratch
2021-12-18 14:24:15 mkdir /fs/scratch -p
2021-12-18 14:24:15 export SCRATCH_DEV=/dev/sda5
2021-12-18 14:24:15 export SCRATCH_LOGDEV=/dev/sda3
2021-12-18 14:24:15 export SCRATCH_XFS_LIST_METADATA_FIELDS=u3.sfdir3.hdr.parent.i4
2021-12-18 14:24:15 export SCRATCH_XFS_LIST_FUZZ_VERBS=random
2021-12-18 14:24:15 sed "s:^:xfs/:" //lkp/benchmarks/xfstests/tests/xfs-group-04
2021-12-18 14:24:15 ./check xfs/040 xfs/041 xfs/042 xfs/043 xfs/045 xfs/046 xfs/047 xfs/048 xfs/049
FSTYP -- xfs (debug)
PLATFORM -- Linux/x86_64 lkp-ivb-d04 5.16.0-rc3-00080-g322c4293ecc5 #1 SMP Sat Dec 18 11:24:43 CST 2021
MKFS_OPTIONS -- -f /dev/sda5
MOUNT_OPTIONS -- /dev/sda5 /fs/scratch
xfs/040 [not run] Can't run libxfs-diff without KWORKAREA set
xfs/041 32s
xfs/042 45s
xfs/043 [not run] No dump tape specified
xfs/045 6s
xfs/046 15s
xfs/047 26s
xfs/048 1s
xfs/049 [failed, exit status 1]- output mismatch (see /lkp/benchmarks/xfstests/results//xfs/049.out.bad)
--- tests/xfs/049.out 2021-12-16 21:14:11.000000000 +0000
+++ /lkp/benchmarks/xfstests/results//xfs/049.out.bad 2021-12-18 14:27:49.146706650 +0000
@@ -13,3 +13,5 @@
--- clean
--- umount ext2 on xfs
--- umount xfs
+!!! umount xfs failed
+(see /lkp/benchmarks/xfstests/results//xfs/049.full for details)
...
(Run 'diff -u /lkp/benchmarks/xfstests/tests/xfs/049.out /lkp/benchmarks/xfstests/results//xfs/049.out.bad' to see the entire diff)
Ran: xfs/040 xfs/041 xfs/042 xfs/043 xfs/045 xfs/046 xfs/047 xfs/048 xfs/049
Not run: xfs/040 xfs/043
Failures: xfs/049
Failed 1 of 9 tests
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
sudo bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
sudo bin/lkp run generated-yaml-file
# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.
---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/lkp@lists.01.org Intel Corporation
Thanks,
Oliver Sang
4 months, 3 weeks
[genirq/msi] cf24208bdb: RIP:_raw_spin_lock_irqsave
by kernel test robot
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: cf24208bdbd0a9e0238c2514a10c49a610e26ee5 ("genirq/msi: Convert storage to xarray")
https://git.kernel.org/cgit/linux/kernel/git/tglx/devel.git msi
in testcase: blktests
version: blktests-x86_64-f51ee53-1_20211217
with following parameters:
disk: 1SSD
test: nvme-group-02
ucode: 0x11
on test machine: 288 threads 2 sockets Intel(R) Xeon Phi(TM) CPU 7295 @ 1.50GHz with 80G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang(a)intel.com>
[ 41.993708][ T5] BUG: KASAN: use-after-free in __pci_enable_msi_range (drivers/pci/msi/msi.h:36 drivers/pci/msi/msi.c:474 drivers/pci/msi/msi.c:905)
[ 41.993708][ T5] Read of size 2 at addr ffff88810f2f9e54 by task kworker/0:0/5
[ 41.993708][ T5]
[ 41.993708][ T5] CPU: 0 PID: 5 Comm: kworker/0:0 Not tainted 5.16.0-rc5-00095-gcf24208bdbd0 #1
[ 42.027581][ T27] tsc: Refined TSC clocksource calibration: 1496.534 MHz
[ 41.993708][ T5] Hardware name: Intel Corp. GROVEPORT/GROVEPORT, BIOS GVPRCRB1.86B.0018.D06.1710190403 10/19/2017
[ 41.993708][ T5] Workqueue: events work_for_cpu_fn
[ 41.993708][ T5] Call Trace:
[ 41.993708][ T5] <TASK>
[ 41.993708][ T5] dump_stack_lvl (lib/dump_stack.c:107)
[ 42.040673][ T27] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x15925873df6, max_idle_ns: 440795253867 ns
[ 41.993708][ T5] print_address_description+0x21/0x140
[ 41.993708][ T5] ? __pci_enable_msi_range (drivers/pci/msi/msi.h:36 drivers/pci/msi/msi.c:474 drivers/pci/msi/msi.c:905)
[ 42.066047][ T5] kasan_report.cold (mm/kasan/report.c:434 mm/kasan/report.c:450)
[ 42.066047][ T5] ? msi_domain_alloc_irqs_descs_locked (kernel/irq/msi.c:938)
[ 42.066047][ T5] ? __pci_enable_msi_range (drivers/pci/msi/msi.h:36 drivers/pci/msi/msi.c:474 drivers/pci/msi/msi.c:905)
[ 42.066047][ T5] __pci_enable_msi_range (drivers/pci/msi/msi.h:36 drivers/pci/msi/msi.c:474 drivers/pci/msi/msi.c:905)
[ 42.066047][ T5] pci_alloc_irq_vectors_affinity (drivers/pci/msi/msi.c:1029)
[ 42.066047][ T5] ? pci_enable_msix_range (drivers/pci/msi/msi.c:1008)
[ 42.066047][ T5] ? pci_address_to_pio+0x40/0x40
[ 42.066047][ T5] pcie_port_device_register (include/linux/pci.h:1882 drivers/pci/pcie/portdrv_core.c:107 drivers/pci/pcie/portdrv_core.c:178 drivers/pci/pcie/portdrv_core.c:353)
[ 42.066047][ T5] ? pcie_port_service_unregister (drivers/pci/pcie/portdrv_core.c:316)
[ 42.066047][ T5] ? dequeue_entity (kernel/sched/fair.c:4379)
[ 42.066047][ T5] ? _raw_read_unlock_irqrestore (kernel/locking/spinlock.c:161)
[ 42.066047][ T5] ? __switch_to (arch/x86/include/asm/bitops.h:55 include/asm-generic/bitops/instrumented-atomic.h:29 include/linux/thread_info.h:89 arch/x86/include/asm/fpu/sched.h:65 arch/x86/kernel/process_64.c:622)
[ 42.066047][ T5] ? pcie_portdrv_remove (drivers/pci/pcie/portdrv_pci.c:103)
[ 42.066047][ T5] pcie_portdrv_probe (drivers/pci/pcie/portdrv_pci.c:117)
[ 42.066047][ T5] ? pcie_portdrv_remove (drivers/pci/pcie/portdrv_pci.c:103)
[ 42.066047][ T5] local_pci_probe (drivers/pci/pci-driver.c:323)
[ 42.066047][ T5] ? pci_device_shutdown (drivers/pci/pci-driver.c:305)
[ 42.066047][ T5] work_for_cpu_fn (kernel/workqueue.c:5194)
[ 42.066047][ T5] process_one_work (arch/x86/include/asm/jump_label.h:27 include/linux/jump_label.h:212 include/trace/events/workqueue.h:108 kernel/workqueue.c:2303)
[ 42.066047][ T5] worker_thread (include/linux/list.h:284 kernel/workqueue.c:2358 kernel/workqueue.c:2450)
[ 42.066047][ T5] ? process_one_work (kernel/workqueue.c:2388)
[ 42.066047][ T5] kthread (kernel/kthread.c:327)
[ 42.066047][ T5] ? set_kthread_struct (kernel/kthread.c:272)
[ 42.066047][ T5] ret_from_fork (arch/x86/entry/entry_64.S:301)
[ 42.066047][ T5] </TASK>
[ 42.066047][ T5]
[ 42.066047][ T5] Allocated by task 5:
[ 42.066047][ T5] kasan_save_stack (mm/kasan/common.c:38)
[ 42.066047][ T5] __kasan_kmalloc (mm/kasan/common.c:46 mm/kasan/common.c:434 mm/kasan/common.c:513 mm/kasan/common.c:522)
[ 42.066047][ T5] msi_add_msi_desc (include/linux/slab.h:590 include/linux/slab.h:724 kernel/irq/msi.c:38 kernel/irq/msi.c:85)
[ 42.066047][ T5] msi_setup_msi_desc (drivers/pci/msi/msi.c:366)
[ 42.066047][ T5] __pci_enable_msi_range (drivers/pci/msi/msi.c:448 drivers/pci/msi/msi.c:905)
[ 42.066047][ T5] pci_alloc_irq_vectors_affinity (drivers/pci/msi/msi.c:1029)
[ 42.066047][ T5] pcie_port_device_register (include/linux/pci.h:1882 drivers/pci/pcie/portdrv_core.c:107 drivers/pci/pcie/portdrv_core.c:178 drivers/pci/pcie/portdrv_core.c:353)
[ 42.066047][ T5] pcie_portdrv_probe (drivers/pci/pcie/portdrv_pci.c:117)
[ 42.066047][ T5] local_pci_probe (drivers/pci/pci-driver.c:323)
[ 42.066047][ T5] work_for_cpu_fn (kernel/workqueue.c:5194)
[ 42.066047][ T5] process_one_work (arch/x86/include/asm/jump_label.h:27 include/linux/jump_label.h:212 include/trace/events/workqueue.h:108 kernel/workqueue.c:2303)
[ 42.066047][ T5] worker_thread (include/linux/list.h:284 kernel/workqueue.c:2358 kernel/workqueue.c:2450)
[ 42.066047][ T5] kthread (kernel/kthread.c:327)
[ 42.066047][ T5] ret_from_fork (arch/x86/entry/entry_64.S:301)
[ 42.066047][ T5]
[ 42.066047][ T5] Freed by task 5:
[ 42.066047][ T5] kasan_save_stack (mm/kasan/common.c:38)
[ 42.066047][ T5] kasan_set_track (mm/kasan/common.c:46)
[ 42.066047][ T5] kasan_set_free_info (mm/kasan/generic.c:372)
[ 42.066047][ T5] __kasan_slab_free (mm/kasan/common.c:368 mm/kasan/common.c:328 mm/kasan/common.c:374)
[ 42.066047][ T5] kfree (mm/slub.c:1749 mm/slub.c:3513 mm/slub.c:4561)
[ 42.066047][ T5] msi_free_msi_descs_range (kernel/irq/msi.c:59 kernel/irq/msi.c:160)
[ 42.066047][ T5] msi_domain_alloc_irqs_descs_locked (kernel/irq/msi.c:940)
[ 42.066047][ T5] __pci_enable_msi_range (drivers/pci/msi/msi.c:458 drivers/pci/msi/msi.c:905)
[ 42.066047][ T5] pci_alloc_irq_vectors_affinity (drivers/pci/msi/msi.c:1029)
[ 42.066047][ T5] pcie_port_device_register (include/linux/pci.h:1882 drivers/pci/pcie/portdrv_core.c:107 drivers/pci/pcie/portdrv_core.c:178 drivers/pci/pcie/portdrv_core.c:353)
[ 42.066047][ T5] pcie_portdrv_probe (drivers/pci/pcie/portdrv_pci.c:117)
[ 42.066047][ T5] local_pci_probe (drivers/pci/pci-driver.c:323)
[ 42.066047][ T5] work_for_cpu_fn (kernel/workqueue.c:5194)
[ 42.066047][ T5] process_one_work (arch/x86/include/asm/jump_label.h:27 include/linux/jump_label.h:212 include/trace/events/workqueue.h:108 kernel/workqueue.c:2303)
[ 42.066047][ T5] worker_thread (include/linux/list.h:284 kernel/workqueue.c:2358 kernel/workqueue.c:2450)
[ 42.066047][ T5] kthread (kernel/kthread.c:327)
[ 42.066047][ T5] ret_from_fork (arch/x86/entry/entry_64.S:301)
[ 42.066047][ T5]
[ 42.066047][ T5] The buggy address belongs to the object at ffff88810f2f9e00
[ 42.066047][ T5] which belongs to the cache kmalloc-128 of size 128
[ 42.066047][ T5] The buggy address is located 84 bytes inside of
[ 42.066047][ T5] 128-byte region [ffff88810f2f9e00, ffff88810f2f9e80)
[ 42.066047][ T5] The buggy address belongs to the page:
[ 42.066047][ T5] page:000000006c47da5d refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10f2f8
[ 42.066047][ T5] head:000000006c47da5d order:2 compound_mapcount:0 compound_pincount:0
[ 42.066047][ T5] flags: 0x17ffffc0010200(slab|head|node=0|zone=2|lastcpupid=0x1fffff)
[ 42.066047][ T5] raw: 0017ffffc0010200 0000000000000000 dead000000000122 ffff88810004c8c0
[ 42.066047][ T5] raw: 0000000000000000 0000000080400040 00000001ffffffff 0000000000000000
[ 42.066047][ T5] page dumped because: kasan: bad access detected
[ 42.066047][ T5]
[ 42.066047][ T5] Memory state around the buggy address:
[ 42.066047][ T5] ffff88810f2f9d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 42.066047][ T5] ffff88810f2f9d80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 42.066047][ T5] >ffff88810f2f9e00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 42.066047][ T5] ^
[ 42.066047][ T5] ffff88810f2f9e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 42.066047][ T5] ffff88810f2f9f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 42.066047][ T5] ==================================================================
[ 42.066047][ T5] Disabling lock debugging due to kernel taint
[ 42.602345][ T5] stack segment: 0000 [#1] SMP KASAN PTI
[ 42.603261][ T5] CPU: 0 PID: 5 Comm: kworker/0:0 Tainted: G B 5.16.0-rc5-00095-gcf24208bdbd0 #1
[ 42.603261][ T5] Hardware name: Intel Corp. GROVEPORT/GROVEPORT, BIOS GVPRCRB1.86B.0018.D06.1710190403 10/19/2017
[ 42.603261][ T5] Workqueue: events work_for_cpu_fn
[ 42.603261][ T5] RIP: 0010:_raw_spin_lock_irqsave (arch/x86/include/asm/atomic.h:202 include/linux/atomic/atomic-instrumented.h:513 include/asm-generic/qspinlock.h:82 include/linux/spinlock.h:185 include/linux/spinlock_api_smp.h:111 kernel/locking/spinlock.c:162)
[ 42.603261][ T5] Code: be 04 00 00 00 c7 44 24 20 00 00 00 00 e8 c8 8f 2c fe be 04 00 00 00 48 8d 7c 24 20 e8 b9 8f 2c fe ba 01 00 00 00 8b 44 24 20 <f0> 0f b1 55 00 75 2e 48 b8 00 00 00 00 00 fc ff df 48 c7 04 03 00
All code
========
0: be 04 00 00 00 mov $0x4,%esi
5: c7 44 24 20 00 00 00 movl $0x0,0x20(%rsp)
c: 00
d: e8 c8 8f 2c fe callq 0xfffffffffe2c8fda
12: be 04 00 00 00 mov $0x4,%esi
17: 48 8d 7c 24 20 lea 0x20(%rsp),%rdi
1c: e8 b9 8f 2c fe callq 0xfffffffffe2c8fda
21: ba 01 00 00 00 mov $0x1,%edx
26: 8b 44 24 20 mov 0x20(%rsp),%eax
2a:* f0 0f b1 55 00 lock cmpxchg %edx,0x0(%rbp) <-- trapping instruction
2f: 75 2e jne 0x5f
31: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
38: fc ff df
3b: 48 rex.W
3c: c7 .byte 0xc7
3d: 04 03 add $0x3,%al
...
Code starting with the faulting instruction
===========================================
0: f0 0f b1 55 00 lock cmpxchg %edx,0x0(%rbp)
5: 75 2e jne 0x35
7: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
e: fc ff df
11: 48 rex.W
12: c7 .byte 0xc7
13: 04 03 add $0x3,%al
[ 42.603261][ T5] RSP: 0000:ffffc900063a7a60 EFLAGS: 00010097
[ 42.603261][ T5] RAX: 0000000000000000 RBX: 1ffff92000c74f4c RCX: ffffffff835dd787
[ 42.603261][ T5] RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc900063a7a80
[ 42.603261][ T5] RBP: af400060000008a5 R08: 0000000000000001 R09: fffff52000c74f51
[ 42.603261][ T5] R10: 0000000000000003 R11: fffff52000c74f50 R12: 0000000000000246
[ 42.603261][ T5] R13: af400060000008a5 R14: dffffc0000000000 R15: ffff88810f2f9e08
[ 42.603261][ T5] FS: 0000000000000000(0000) GS:ffff888d65600000(0000) knlGS:0000000000000000
[ 42.603261][ T5] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 42.603261][ T5] CR2: ffff88943fc01000 CR3: 000000143e014000 CR4: 00000000001506f0
[ 42.603261][ T5] Call Trace:
[ 42.603261][ T5] <TASK>
[ 42.603261][ T5] ? _raw_read_unlock_irqrestore+0x40/0x40
[ 42.603261][ T5] ? _raw_spin_unlock_irqrestore+0x1c/0x40
[ 42.603261][ T5] ? end_report+0x30/0xc0
[ 42.603261][ T5] pci_msi_update_mask+0x8d/0x180
[ 42.603261][ T5] ? msi_domain_alloc_irqs_descs_locked+0xc0/0x140
[ 42.603261][ T5] __pci_enable_msi_range+0x3ef/0x640
[ 42.603261][ T5] pci_alloc_irq_vectors_affinity+0x13a/0x1c0
[ 42.603261][ T5] ? pci_enable_msix_range+0x40/0x40
[ 42.603261][ T5] ? pci_address_to_pio+0x40/0x40
[ 42.603261][ T5] pcie_port_device_register+0x70b/0xc80
[ 42.603261][ T5] ? pcie_port_service_unregister+0x40/0x40
[ 42.603261][ T5] ? dequeue_entity+0x307/0xfc0
[ 42.603261][ T5] ? _raw_read_unlock_irqrestore+0x40/0x40
[ 42.603261][ T5] ? __switch_to+0x5d1/0xe40
[ 42.603261][ T5] ? pcie_portdrv_remove+0x80/0x80
[ 42.603261][ T5] pcie_portdrv_probe+0xa1/0x1c0
[ 42.603261][ T5] ? pcie_portdrv_remove+0x80/0x80
[ 42.603261][ T5] local_pci_probe+0xde/0x180
[ 42.603261][ T5] ? pci_device_shutdown+0x140/0x140
[ 42.603261][ T5] work_for_cpu_fn+0x51/0xc0
[ 42.603261][ T5] process_one_work+0x6c1/0x1100
[ 42.603261][ T5] worker_thread+0x681/0xdc0
[ 42.603261][ T5] ? process_one_work+0x1100/0x1100
[ 42.603261][ T5] kthread+0x3a1/0x480
[ 42.603261][ T5] ? set_kthread_struct+0x100/0x100
[ 42.603261][ T5] ret_from_fork+0x22/0x30
[ 42.603261][ T5] </TASK>
[ 42.603261][ T5] Modules linked in:
[ 42.603261][ T5] ---[ end trace 4bb3fe6e7c1ca295 ]---
[ 42.603261][ T5] RIP: 0010:_raw_spin_lock_irqsave+0x90/0x100
[ 42.603261][ T5] Code: be 04 00 00 00 c7 44 24 20 00 00 00 00 e8 c8 8f 2c fe be 04 00 00 00 48 8d 7c 24 20 e8 b9 8f 2c fe ba 01 00 00 00 8b 44 24 20 <f0> 0f b1 55 00 75 2e 48 b8 00 00 00 00 00 fc ff df 48 c7 04 03 00
[ 42.603261][ T5] RSP: 0000:ffffc900063a7a60 EFLAGS: 00010097
[ 42.603261][ T5] RAX: 0000000000000000 RBX: 1ffff92000c74f4c RCX: ffffffff835dd787
[ 42.603261][ T5] RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc900063a7a80
[ 42.603261][ T5] RBP: af400060000008a5 R08: 0000000000000001 R09: fffff52000c74f51
[ 42.603261][ T5] R10: 0000000000000003 R11: fffff52000c74f50 R12: 0000000000000246
[ 42.603261][ T5] R13: af400060000008a5 R14: dffffc0000000000 R15: ffff88810f2f9e08
[ 42.603261][ T5] FS: 0000000000000000(0000) GS:ffff888d65600000(0000) knlGS:0000000000000000
[ 42.603261][ T5] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 42.603261][ T5] CR2: ffff88943fc01000 CR3: 000000143e014000 CR4: 00000000001506f0
[ 42.603261][ T5] Kernel panic - not syncing: Fatal exception
[ 42.603261][ T5] Kernel Offset: disabled
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
sudo bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
sudo bin/lkp run generated-yaml-file
# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.
---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/lkp@lists.01.org Intel Corporation
Thanks,
Oliver Sang
4 months, 3 weeks
[ucounts] dc7e5f9d41: UBSAN:array-index-out-of-bounds_in_kernel/ucount.c
by kernel test robot
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: dc7e5f9d419cb31b7751e87cf576f23a0153147c ("[PATCH v1 2/2] ucounts: Move rlimit max values from ucounts max")
url: https://github.com/0day-ci/linux/commits/Alexey-Gladkov/ucounts-Fix-rlimi...
base: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git 136057256686de39cc3a07c2e39ef6bc43003ff6
in testcase: boot
on test machine: qemu-system-i386 -enable-kvm -cpu SandyBridge -smp 2 -m 4G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+--------------------------------------------------------------------+------------+------------+
| | 98e4b47106 | dc7e5f9d41 |
+--------------------------------------------------------------------+------------+------------+
| boot_successes | 32 | 0 |
| boot_failures | 20 | 55 |
| UBSAN:array-index-out-of-bounds_in_kernel/ucount.c | 0 | 36 |
+--------------------------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang(a)intel.com>
[ 2.559359][ T1] UBSAN: array-index-out-of-bounds in kernel/ucount.c:109:33
[ 2.561796][ T1] index 13 is out of range for type 'long int [12]'
[ 2.563347][ T1] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.16.0-rc2-00002-gdc7e5f9d419c #1
[ 2.565651][ T1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
[ 2.567267][ T1] Call Trace:
[ 2.567267][ T1] dump_stack_lvl (lib/dump_stack.c:107)
[ 2.567267][ T1] dump_stack (lib/dump_stack.c:114)
[ 2.567267][ T1] ubsan_epilogue (lib/ubsan.c:152)
[ 2.567267][ T1] __ubsan_handle_out_of_bounds.cold (lib/ubsan.c:291 lib/ubsan.c:278)
[ 2.567267][ T1] ? kmemdup (mm/util.c:132)
[ 2.567267][ T1] setup_userns_sysctls (kernel/ucount.c:109)
[ 2.567267][ T1] ? idle_threads_init (kernel/ucount.c:359)
[ 2.567267][ T1] user_namespace_sysctl_init (kernel/ucount.c:371 (discriminator 2))
[ 2.567267][ T1] ? idle_threads_init (kernel/ucount.c:359)
[ 2.567267][ T1] do_one_initcall (init/main.c:1297)
[ 2.567267][ T1] ? __this_cpu_preempt_check (lib/smp_processor_id.c:67)
[ 2.567267][ T1] ? lock_is_held_type (kernel/locking/lockdep.c:438 kernel/locking/lockdep.c:5681)
[ 2.567267][ T1] ? rcu_read_lock_sched_held (include/linux/lockdep.h:283 kernel/rcu/update.c:125)
[ 2.567267][ T1] kernel_init_freeable (init/main.c:1369 init/main.c:1386 init/main.c:1405 init/main.c:1610)
[ 2.567267][ T1] ? rest_init (init/main.c:1491)
[ 2.567267][ T1] kernel_init (init/main.c:1501)
[ 2.567267][ T1] ret_from_fork (arch/x86/entry/entry_32.S:775)
[ 2.567347][ T1] ================================================================================
[ 2.570153][ T1] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[ 2.571601][ T1] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 2.579937][ T1] ACPI: Added _OSI(Module Device)
[ 2.581413][ T1] ACPI: Added _OSI(Processor Device)
[ 2.582830][ T1] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 2.583285][ T1] ACPI: Added _OSI(Processor Aggregator Device)
[ 2.584940][ T1] ACPI: Added _OSI(Linux-Dell-Video)
[ 2.586372][ T1] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 2.587290][ T1] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[ 2.596108][ T1] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 2.599386][ T9] Callback from call_rcu_tasks() invoked.
[ 2.605503][ T1] ACPI: Interpreter enabled
[ 2.606945][ T1] ACPI: PM: (supports S0 S3 S4 S5)
[ 2.607284][ T1] ACPI: Using IOAPIC for interrupt routing
[ 2.609116][ T1] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 2.612350][ T1] ACPI: Enabled 2 GPEs in block 00 to 0F
[ 2.643022][ T1] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 2.643298][ T1] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI HPX-Type3]
[ 2.645668][ T1] acpi PNP0A03:00: _OSC: not requesting OS control; OS requires [ExtendedConfig ASPM ClockPM MSI]
[ 2.647392][ T1] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[ 2.654525][ T1] acpiphp: Slot [3] registered
[ 2.655430][ T1] acpiphp: Slot [4] registered
[ 2.656809][ T1] acpiphp: Slot [5] registered
[ 2.658207][ T1] acpiphp: Slot [6] registered
[ 2.659411][ T1] acpiphp: Slot [7] registered
[ 2.660914][ T1] acpiphp: Slot [8] registered
[ 2.662430][ T1] acpiphp: Slot [9] registered
[ 2.663430][ T1] acpiphp: Slot [10] registered
[ 2.664892][ T1] acpiphp: Slot [11] registered
[ 2.666269][ T1] acpiphp: Slot [12] registered
[ 2.667416][ T1] acpiphp: Slot [13] registered
[ 2.669191][ T1] acpiphp: Slot [14] registered
[ 2.670666][ T1] acpiphp: Slot [15] registered
[ 2.671408][ T1] acpiphp: Slot [16] registered
[ 2.672829][ T1] acpiphp: Slot [17] registered
[ 2.674311][ T1] acpiphp: Slot [18] registered
[ 2.675427][ T1] acpiphp: Slot [19] registered
[ 2.676842][ T1] acpiphp: Slot [20] registered
[ 2.678323][ T1] acpiphp: Slot [21] registered
[ 2.679419][ T1] acpiphp: Slot [22] registered
[ 2.680822][ T1] acpiphp: Slot [23] registered
[ 2.682305][ T1] acpiphp: Slot [24] registered
[ 2.683418][ T1] acpiphp: Slot [25] registered
[ 2.684928][ T1] acpiphp: Slot [26] registered
[ 2.686387][ T1] acpiphp: Slot [27] registered
[ 2.687409][ T1] acpiphp: Slot [28] registered
[ 2.688886][ T1] acpiphp: Slot [29] registered
[ 2.690319][ T1] acpiphp: Slot [30] registered
[ 2.691400][ T1] acpiphp: Slot [31] registered
[ 2.692745][ T1] PCI host bridge to bus 0000:00
[ 2.694068][ T1] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
[ 2.695285][ T1] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
[ 2.697287][ T1] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[ 2.699286][ T1] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window]
[ 2.701613][ T1] pci_bus 0000:00: root bus resource [mem 0x140000000-0x1bfffffff window]
[ 2.703362][ T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 2.705158][ T1] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000
[ 2.708313][ T1] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100
[ 2.711484][ T1] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180
[ 2.718382][ T1] pci 0000:00:01.1: reg 0x20: [io 0xc040-0xc04f]
[ 2.721586][ T1] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
[ 2.723286][ T1] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
[ 2.725270][ T1] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
[ 2.727282][ T1] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
[ 2.729813][ T1] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000
[ 2.731875][ T1] pci 0000:00:01.3: quirk: [io 0x0600-0x063f] claimed by PIIX4 ACPI
[ 2.735311][ T1] pci 0000:00:01.3: quirk: [io 0x0700-0x070f] claimed by PIIX4 SMB
[ 2.738460][ T1] pci 0000:00:02.0: [1234:1111] type 00 class 0x030000
[ 2.742150][ T1] pci 0000:00:02.0: reg 0x10: [mem 0xfd000000-0xfdffffff pref]
[ 2.747291][ T1] pci 0000:00:02.0: reg 0x18: [mem 0xfebf0000-0xfebf0fff]
[ 2.757450][ T1] pci 0000:00:02.0: reg 0x30: [mem 0xfebe0000-0xfebeffff pref]
[ 2.760228][ T1] pci 0000:00:03.0: [8086:100e] type 00 class 0x020000
[ 2.763282][ T1] pci 0000:00:03.0: reg 0x10: [mem 0xfebc0000-0xfebdffff]
[ 2.766577][ T1] pci 0000:00:03.0: reg 0x14: [io 0xc000-0xc03f]
[ 2.776442][ T1] pci 0000:00:03.0: reg 0x30: [mem 0xfeb80000-0xfebbffff pref]
[ 2.780153][ T1] pci 0000:00:04.0: [8086:25ab] type 00 class 0x088000
[ 2.782788][ T1] pci 0000:00:04.0: reg 0x10: [mem 0xfebf1000-0xfebf100f]
[ 2.789260][ T1] pci_bus 0000:00: on NUMA node 0
To reproduce:
# build kernel
cd linux
cp config-5.16.0-rc2-00002-gdc7e5f9d419c .config
make HOSTCC=gcc-9 CC=gcc-9 ARCH=i386 olddefconfig prepare modules_prepare bzImage modules
make HOSTCC=gcc-9 CC=gcc-9 ARCH=i386 INSTALL_MOD_PATH=<mod-install-dir> modules_install
cd <mod-install-dir>
find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached in this email
# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.
---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/lkp@lists.01.org Intel Corporation
Thanks,
Oliver Sang
4 months, 4 weeks
[block] 5fc11eebb4: canonical_address#:#[##]
by kernel test robot
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 5fc11eebb4a98df5324a4de369bb5ab7f0007ff7 ("block: open code create_task_io_context in set_task_ioprio")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: trinity
version: trinity-x86_64-608712d8-1_20211217
with following parameters:
runtime: 300s
group: group-03
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 Icelake-Server -smp 4 -m 16G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang(a)intel.com>
[ 199.732063][ T304]
[ 200.732109][ T304] [main] 2042923 iterations. [F:1789119 S:257831 HI:137772]
[ 200.732134][ T304]
[ 201.732199][ T304] [main] 2058410 iterations. [F:1802841 S:259626 HI:139072]
[ 201.732222][ T304]
[ 202.194980][ T3822] general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] SMP KASAN PTI
[ 202.199740][ T3822] KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]
[ 202.203804][ T3822] CPU: 0 PID: 3822 Comm: trinity-c5 Not tainted 5.16.0-rc3-00106-g5fc11eebb4a9 #1
[ 202.207941][ T3822] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
[ 202.212006][ T3822] RIP: 0010:set_task_ioprio (kbuild/src/consumer/block/blk-ioc.c:307 kbuild/src/consumer/block/blk-ioc.c:271)
[ 202.215715][ T3822] Code: 3c 02 00 0f 85 63 01 00 00 4c 8b b3 e0 0c 00 00 4d 85 f6 74 67 48 b8 00 00 00 00 00 fc ff df 49 8d 7e 10 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 01 0f 8e 28 01 00 00 66 41 89 6e 10 4c
All code
========
0: 3c 02 cmp $0x2,%al
2: 00 0f add %cl,(%rdi)
4: 85 63 01 test %esp,0x1(%rbx)
7: 00 00 add %al,(%rax)
9: 4c 8b b3 e0 0c 00 00 mov 0xce0(%rbx),%r14
10: 4d 85 f6 test %r14,%r14
13: 74 67 je 0x7c
15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
1c: fc ff df
1f: 49 8d 7e 10 lea 0x10(%r14),%rdi
23: 48 89 fa mov %rdi,%rdx
26: 48 c1 ea 03 shr $0x3,%rdx
2a:* 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction
2e: 84 c0 test %al,%al
30: 74 08 je 0x3a
32: 3c 01 cmp $0x1,%al
34: 0f 8e 28 01 00 00 jle 0x162
3a: 66 41 89 6e 10 mov %bp,0x10(%r14)
3f: 4c rex.WR
Code starting with the faulting instruction
===========================================
0: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax
4: 84 c0 test %al,%al
6: 74 08 je 0x10
8: 3c 01 cmp $0x1,%al
a: 0f 8e 28 01 00 00 jle 0x138
10: 66 41 89 6e 10 mov %bp,0x10(%r14)
15: 4c rex.WR
[ 202.224166][ T3822] RSP: 0018:ffffc90000bb7ea0 EFLAGS: 00010202
[ 202.227972][ T3822] RAX: dffffc0000000000 RBX: ffff888161970000 RCX: ffff88813c9e60a0
[ 202.231988][ T3822] RDX: 0000000000000002 RSI: ffff88816cbeba50 RDI: 0000000000000010
[ 202.235967][ T3822] RBP: 0000000049e6748d R08: 0000000000000001 R09: 00000000800000cd
[ 202.239986][ T3822] R10: ffff888165a0c000 R11: fffff52000176f64 R12: 0000000000000000
[ 202.243894][ T3822] R13: ffff888161970c80 R14: 0000000000000000 R15: ffff888161970ce0
[ 202.247875][ T3822] FS: 00007f4487917740(0000) GS:ffff8883dd600000(0000) knlGS:0000000000000000
[ 202.251972][ T3822] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 202.255792][ T3822] CR2: 0000000000000001 CR3: 0000000111d46005 CR4: 0000000000370ef0
[ 202.259884][ T3822] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 202.264043][ T3822] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 202.268188][ T3822] Call Trace:
[ 202.271645][ T3822] <TASK>
[ 202.275242][ T3822] __x64_sys_ioprio_set (kbuild/src/consumer/block/ioprio.c:99 kbuild/src/consumer/block/ioprio.c:68 kbuild/src/consumer/block/ioprio.c:68)
[ 202.279213][ T3822] do_syscall_64 (kbuild/src/consumer/arch/x86/entry/common.c:50 kbuild/src/consumer/arch/x86/entry/common.c:80)
[ 202.282703][ T3822] entry_SYSCALL_64_after_hwframe (kbuild/src/consumer/arch/x86/entry/entry_64.S:113)
[ 202.286328][ T3822] RIP: 0033:0x7f4487a2ef59
[ 202.289794][ T3822] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 07 6f 0c 00 f7 d8 64 89 01 48
All code
========
0: 00 c3 add %al,%bl
2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
9: 00 00 00
c: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
11: 48 89 f8 mov %rdi,%rax
14: 48 89 f7 mov %rsi,%rdi
17: 48 89 d6 mov %rdx,%rsi
1a: 48 89 ca mov %rcx,%rdx
1d: 4d 89 c2 mov %r8,%r10
20: 4d 89 c8 mov %r9,%r8
23: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9
28: 0f 05 syscall
2a:* 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction
30: 73 01 jae 0x33
32: c3 retq
33: 48 8b 0d 07 6f 0c 00 mov 0xc6f07(%rip),%rcx # 0xc6f41
3a: f7 d8 neg %eax
3c: 64 89 01 mov %eax,%fs:(%rcx)
3f: 48 rex.W
Code starting with the faulting instruction
===========================================
0: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax
6: 73 01 jae 0x9
8: c3 retq
9: 48 8b 0d 07 6f 0c 00 mov 0xc6f07(%rip),%rcx # 0xc6f17
10: f7 d8 neg %eax
12: 64 89 01 mov %eax,%fs:(%rcx)
15: 48 rex.W
[ 202.297968][ T3822] RSP: 002b:00007ffcbe0d2e88 EFLAGS: 00000246 ORIG_RAX: 00000000000000fb
[ 202.302094][ T3822] RAX: ffffffffffffffda RBX: 00000000000000fb RCX: 00007f4487a2ef59
[ 202.306071][ T3822] RDX: 000cce0d49e6748d RSI: 0000000000000000 RDI: 0000000000000002
[ 202.309972][ T3822] RBP: 00000000000000fb R08: 006663fb7a93f088 R09: 000000d002a1b7fa
[ 202.313922][ T3822] R10: 01448cd5553d0d0b R11: 0000000000000246 R12: 0000000000000002
[ 202.317885][ T3822] R13: 00007f4486398058 R14: 00007f44879176c0 R15: 00007f4486398000
[ 202.321930][ T3822] </TASK>
[ 202.325418][ T3822] Modules linked in: hidp bnep rfcomm bluetooth ecdh_generic ecc rfkill can_bcm can_raw can crypto_user ib_core nfnetlink scsi_transport_iscsi atm sctp ip6_udp_tunnel udp_tunnel libcrc32c sr_mod cdrom sg bochs drm_vram_helper ata_generic drm_ttm_helper intel_rapl_msr ttm ppdev intel_rapl_common drm_kms_helper crct10dif_pclmul crc32_pclmul syscopyarea crc32c_intel sysfillrect ata_piix ghash_clmulni_intel sysimgblt parport_pc fb_sys_fops ipmi_devintf joydev ipmi_msghandler drm libata parport serio_raw i2c_piix4 ip_tables
[ 202.347317][ T3822] ---[ end trace 1a338450ee2dcc21 ]---
[ 202.351377][ T3822] RIP: 0010:set_task_ioprio (kbuild/src/consumer/block/blk-ioc.c:307 kbuild/src/consumer/block/blk-ioc.c:271)
[ 202.355399][ T3822] Code: 3c 02 00 0f 85 63 01 00 00 4c 8b b3 e0 0c 00 00 4d 85 f6 74 67 48 b8 00 00 00 00 00 fc ff df 49 8d 7e 10 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 01 0f 8e 28 01 00 00 66 41 89 6e 10 4c
All code
========
0: 3c 02 cmp $0x2,%al
2: 00 0f add %cl,(%rdi)
4: 85 63 01 test %esp,0x1(%rbx)
7: 00 00 add %al,(%rax)
9: 4c 8b b3 e0 0c 00 00 mov 0xce0(%rbx),%r14
10: 4d 85 f6 test %r14,%r14
13: 74 67 je 0x7c
15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
1c: fc ff df
1f: 49 8d 7e 10 lea 0x10(%r14),%rdi
23: 48 89 fa mov %rdi,%rdx
26: 48 c1 ea 03 shr $0x3,%rdx
2a:* 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction
2e: 84 c0 test %al,%al
30: 74 08 je 0x3a
32: 3c 01 cmp $0x1,%al
34: 0f 8e 28 01 00 00 jle 0x162
3a: 66 41 89 6e 10 mov %bp,0x10(%r14)
3f: 4c rex.WR
Code starting with the faulting instruction
===========================================
0: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax
4: 84 c0 test %al,%al
6: 74 08 je 0x10
8: 3c 01 cmp $0x1,%al
a: 0f 8e 28 01 00 00 jle 0x138
10: 66 41 89 6e 10 mov %bp,0x10(%r14)
15: 4c rex.WR
[ 202.365062][ T3822] RSP: 0018:ffffc90000bb7ea0 EFLAGS: 00010202
[ 202.369287][ T3822] RAX: dffffc0000000000 RBX: ffff888161970000 RCX: ffff88813c9e60a0
[ 202.373596][ T3822] RDX: 0000000000000002 RSI: ffff88816cbeba50 RDI: 0000000000000010
[ 202.377890][ T3822] RBP: 0000000049e6748d R08: 0000000000000001 R09: 00000000800000cd
[ 202.382415][ T3822] R10: ffff888165a0c000 R11: fffff52000176f64 R12: 0000000000000000
[ 202.386872][ T3822] R13: ffff888161970c80 R14: 0000000000000000 R15: ffff888161970ce0
[ 202.391351][ T3822] FS: 00007f4487917740(0000) GS:ffff8883dd600000(0000) knlGS:0000000000000000
[ 202.395763][ T3822] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 202.399916][ T3822] CR2: 0000000000000001 CR3: 0000000111d46005 CR4: 0000000000370ef0
[ 202.404185][ T3822] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 202.408395][ T3822] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 202.412492][ T3822] Kernel panic - not syncing: Fatal exception
[ 203.531249][ T3822] Shutting down cpus with NMI
[ 203.535909][ T3822] Kernel Offset: 0x9a00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
Kboot worker: lkp-worker41
Elapsed time: 240
To reproduce:
# build kernel
cd linux
cp config-5.16.0-rc3-00106-g5fc11eebb4a9 .config
make HOSTCC=gcc-9 CC=gcc-9 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage modules
make HOSTCC=gcc-9 CC=gcc-9 ARCH=x86_64 INSTALL_MOD_PATH=<mod-install-dir> modules_install
cd <mod-install-dir>
find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached in this email
# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.
---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/lkp@lists.01.org Intel Corporation
Thanks,
Oliver Sang
4 months, 4 weeks