[lkp-robot] dcda20b368: unixbench.score -2.3% regression
by kernel test robot
Greeting,
FYI, we noticed a -2.3% regression of unixbench.score due to commit:
commit: dcda20b3685f14d4d29d31592fe9898943fce1bb ("Fill in ELF image holes with PROT_NONE to prevent mapping to the hole")
url: https://github.com/0day-ci/linux/commits/blackzert-gmail-com/Fill-in-ELF-...
in testcase: unixbench
on test machine: 12 threads Intel(R) Atom(R) CPU 3958 @ 2.00GHz with 64G memory
with following parameters:
runtime: 300s
nr_task: 1
test: execl
cpufreq_governor: performance
test-description: UnixBench is the original BYTE UNIX benchmark suite aims to test performance of Unix-like system.
test-url: https://github.com/kdlucas/byte-unixbench
Details are as below:
-------------------------------------------------------------------------------------------------->
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
testcase/path_params/tbox_group/run: unixbench/300s-1-execl-performance/lkp-denverton3
af3c8d98508d3754 dcda20b3685f14d4d29d31592f
---------------- --------------------------
%stddev change %stddev
\ | \
601 587 unixbench.score
37287192 36393335 unixbench.time.minor_page_faults
0 7e+03 7019 ± 58% latency_stats.avg.io_schedule.nfs_wait_on_request.nfs_writepage_setup.nfs_updatepage.nfs_write_end.generic_perform_write.nfs_file_write.__vfs_write.vfs_write.SyS_write.entry_SYSCALL_64_fastpath
0 7e+03 7019 ± 58% latency_stats.max.io_schedule.nfs_wait_on_request.nfs_writepage_setup.nfs_updatepage.nfs_write_end.generic_perform_write.nfs_file_write.__vfs_write.vfs_write.SyS_write.entry_SYSCALL_64_fastpath
0 7e+03 7019 ± 58% latency_stats.sum.io_schedule.nfs_wait_on_request.nfs_writepage_setup.nfs_updatepage.nfs_write_end.generic_perform_write.nfs_file_write.__vfs_write.vfs_write.SyS_write.entry_SYSCALL_64_fastpath
6253 ±119% -5e+03 834 ±165% latency_stats.sum.pipe_read.__vfs_read.vfs_read.SyS_read.entry_SYSCALL_64_fastpath
4.258e+09 4% 4.418e+09 perf-stat.branch-misses
1.04e+11 1.065e+11 perf-stat.branch-instructions
5.392e+11 5.508e+11 perf-stat.instructions
4.09 4.15 perf-stat.branch-miss-rate%
36099085 35250152 perf-stat.page-faults
36099083 35250150 perf-stat.minor-faults
1.74 -11% 1.54 ± 7% perf-stat.cache-miss-rate%
5.531e+08 -12% 4.891e+08 ± 6% perf-stat.cache-misses
unixbench.score
610 ++--------------------------------------------------------------------+
| *. .* *.* * .* |
605 ++ : ** * *.* * : |
**.* : : ** *.* .***. *.**
600 ++ *.* *.** * * * *.* : .** * * |
| **.* *.* + * + *.* : * |
595 ++ * * * |
| |
590 ++ |
| OOO OO OOO |
585 ++ |
| OO OO |
580 OO OO O |
| |
575 ++--------------------------------------------------------------------+
[*] bisect-good sample
[O] bisect-bad sample
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.
Thanks,
Xiaolong
4 years, 10 months
8b3d71348d ("ACPI / CPPC: Make cppc acpi driver aware of pcc .."): BUG: unable to handle kernel NULL pointer dereference at 0000000000000014
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/0day-ci/linux/commits/George-Cherian/mailbox-PCC-Move-...
commit 8b3d71348dda430190827476c18a8d179436ee91
Author: George Cherian <george.cherian(a)cavium.com>
AuthorDate: Fri Jul 21 07:43:47 2017 +0000
Commit: 0day robot <fengguang.wu(a)intel.com>
CommitDate: Mon Jul 24 08:09:05 2017 +0800
ACPI / CPPC: Make cppc acpi driver aware of pcc subspace ids
Based on ACPI 6.2 Section 8.4.7.1.9 If the PCC register space is used,
all PCC registers, for all processors in the same performance
domain (as defined by _PSD), must be defined to be in the same subspace.
Based on Section 14.1 of ACPI specification, it is possible to have a
maximum of 256 PCC subspace ids. Add support of multiple PCC subspace id
instead of using a single global pcc_data structure.
While at that fix the time_delta check in send_pcc_cmd() so that last_mpar_reset
and mpar_count is initialized properly.
Signed-off-by: George Cherian <george.cherian(a)cavium.com>
c8686b6b11 mailbox: PCC: Move the MAX_PCC_SUBSPACES definition to header file
8b3d71348d ACPI / CPPC: Make cppc acpi driver aware of pcc subspace ids
8b3d71348d ACPI / CPPC: Make cppc acpi driver aware of pcc subspace ids
+------------------------------------------+------------+------------+------------+
| | c8686b6b11 | 8b3d71348d | 8b3d71348d |
+------------------------------------------+------------+------------+------------+
| boot_successes | 33 | 0 | 0 |
| boot_failures | 0 | 15 | 15 |
| BUG:unable_to_handle_kernel | 0 | 15 | 15 |
| Oops:#[##] | 0 | 15 | 15 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 15 | 15 |
+------------------------------------------+------------+------------+------------+
[ 12.713249] hgafb: probe of hgafb.0 failed with error -22
[ 12.714151] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[ 12.715162] ACPI: Power Button [PWRF]
[ 12.715854] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
[ 12.716866] ACPI: Power Button [PWRF]
[ 12.717485] BUG: unable to handle kernel NULL pointer dereference at 0000000000000014
[ 12.718558] IP: acpi_cppc_processor_exit+0x27/0xf0
[ 12.719207] PGD 0
[ 12.719208] P4D 0
[ 12.719487]
[ 12.719976] Oops: 0000 [#1] SMP DEBUG_PAGEALLOC
[ 12.720597] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.0-rc1-00098-g8b3d713 #1
[ 12.721224] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 12.721224] task: ffff956cc0038000 task.stack: ffffa17f00008000
[ 12.721224] RIP: 0010:acpi_cppc_processor_exit+0x27/0xf0
[ 12.721224] RSP: 0000:ffffa17f0000bd40 EFLAGS: 00010202
[ 12.721224] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000000074a
[ 12.721224] RDX: ffff956cdf800000 RSI: ffff956cdf8196e0 RDI: ffff956cc0283400
[ 12.721224] RBP: ffffa17f0000bd58 R08: ffff956cdf80c128 R09: 0000000000000000
[ 12.721224] R10: 00000000375287f6 R11: 00000000c80c7100 R12: ffff956cc028a000
[ 12.721224] R13: ffffffff83bd9b40 R14: 0000000000000000 R15: 0000000000000000
[ 12.721224] FS: 0000000000000000(0000) GS:ffff956cdf800000(0000) knlGS:0000000000000000
[ 12.721224] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 12.721224] CR2: 0000000000000014 CR3: 000000000880f000 CR4: 00000000001406f0
[ 12.721224] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 12.721224] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 12.721224] Call Trace:
[ 12.721224] acpi_processor_stop+0x71/0x80
[ 12.721224] driver_probe_device+0xd0/0x370
[ 12.721224] __driver_attach+0x9a/0xa0
[ 12.721224] ? driver_probe_device+0x370/0x370
[ 12.721224] bus_for_each_dev+0x5d/0x90
[ 12.721224] driver_attach+0x19/0x20
[ 12.721224] bus_add_driver+0x11a/0x210
[ 12.721224] ? set_debug_rodata+0x12/0x12
[ 12.721224] driver_register+0x5b/0xd0
[ 12.721224] ? acpi_fan_driver_init+0x14/0x14
[ 12.721224] acpi_processor_driver_init+0x20/0x94
[ 12.721224] do_one_initcall+0x8b/0x137
[ 12.721224] ? set_debug_rodata+0x12/0x12
[ 12.721224] kernel_init_freeable+0x1b7/0x23c
[ 12.721224] ? rest_init+0x150/0x150
[ 12.721224] kernel_init+0x9/0xf0
[ 12.721224] ret_from_fork+0x25/0x30
[ 12.721224] Code: 00 00 00 00 55 48 c7 c0 e8 38 01 00 48 89 e5 41 55 41 54 53 8b 57 10 48 8b 14 d5 e0 a3 8d 83 48 63 1c 10 48 8b 04 dd 00 b5 07 86 <80> 78 14 00 74 29 83 a8 14 01 00 00 01 49 89 fc 48 8b 04 dd 00
[ 12.721224] RIP: acpi_cppc_processor_exit+0x27/0xf0 RSP: ffffa17f0000bd40
[ 12.721224] CR2: 0000000000000014
[ 12.721224] ---[ end trace ee736f12d26cd60b ]---
[ 12.721224] Kernel panic - not syncing: Fatal exception
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 25cbcc5c1a033568be0ce4092577939af57255ea 83d9512f1221f0b8b51f7e101bc5aab8d5b97fcb --
git bisect bad 8b06912173d3e1f84f29934decbe4e7caf3b57aa # 03:55 B 0 11 23 0 Merge 'linux-review/Sylwester-Nawrocki/clk-samsung-Fix-mau_epll-clock-definition-for-exynos5422/20170724-071854' into devel-catchup-201707250258
git bisect good a73b30f2dbeefb18df6eb9334f66a109ba4758bf # 04:13 G 11 0 0 0 Merge 'linux-review/Ram-Pai/powerpc-Free-up-four-64K-PTE-bits-in-4K-backed-HPTE-pages/20170724-102132' into devel-catchup-201707250258
git bisect good ea5990faaa86cdfb4f6e3c759a818b9200df9b81 # 04:22 G 11 0 0 0 Merge 'linux-review/Ross-Zwisler/acpi-add-missing-include-in-acpi_numa-h/20170724-082831' into devel-catchup-201707250258
git bisect bad d40b7cbfc82c9b631a98348a82cb8d0ddb591e3d # 04:47 B 0 11 23 0 Merge 'linux-review/George-Cherian/mailbox-PCC-Move-the-MAX_PCC_SUBSPACES-definition-to-header-file/20170724-080902' into devel-catchup-201707250258
git bisect good 330c795322bb99d1d4596f32aa3f2ac712a3930d # 04:57 G 11 0 0 0 Merge 'linux-review/Hanjun-Guo/irqchip-gic-v3-its-Allow-GIC-ITS-number-more-than-MAX_NUMNODES/20170724-082026' into devel-catchup-201707250258
git bisect good 424684431773c5469219c40dd291948fd77d8919 # 05:09 G 11 0 0 0 Merge 'linux-review/Hoan-Tran/mailbox-pcc-Fix-crash-when-request-PCC-channel-0/20170724-081419' into devel-catchup-201707250258
git bisect bad 8b3d71348dda430190827476c18a8d179436ee91 # 05:18 B 0 11 23 0 ACPI / CPPC: Make cppc acpi driver aware of pcc subspace ids
git bisect good c8686b6b11d6ec7828d3b1e43303c918264b8aa1 # 05:29 G 11 0 0 0 mailbox: PCC: Move the MAX_PCC_SUBSPACES definition to header file
# first bad commit: [8b3d71348dda430190827476c18a8d179436ee91] ACPI / CPPC: Make cppc acpi driver aware of pcc subspace ids
git bisect good c8686b6b11d6ec7828d3b1e43303c918264b8aa1 # 05:32 G 31 0 0 0 mailbox: PCC: Move the MAX_PCC_SUBSPACES definition to header file
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 8b3d71348dda430190827476c18a8d179436ee91 # 05:44 B 0 11 23 0 ACPI / CPPC: Make cppc acpi driver aware of pcc subspace ids
# extra tests on HEAD of linux-devel/devel-catchup-201707250258
git bisect bad 25cbcc5c1a033568be0ce4092577939af57255ea # 05:44 B 0 19 34 0 0day head guard for 'devel-catchup-201707250258'
# extra tests on tree/branch linux-review/George-Cherian/mailbox-PCC-Move-the-MAX_PCC_SUBSPACES-definition-to-header-file/20170724-080902
git bisect bad 8b3d71348dda430190827476c18a8d179436ee91 # 05:45 B 0 15 27 0 ACPI / CPPC: Make cppc acpi driver aware of pcc subspace ids
# extra tests with first bad commit reverted
git bisect good 582089e4ea344d0ac04f099fa83e5253c56ec825 # 06:04 G 10 0 0 0 Revert "ACPI / CPPC: Make cppc acpi driver aware of pcc subspace ids"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
4 years, 10 months
[lkp-robot] [x86/refcount] b631e535c6: WARNING:at_net/netlink/af_netlink.c:#netlink_sock_destruct
by kernel test robot
FYI, we noticed the following commit:
commit: b631e535c61d7ddbb7ebac545f729ca9b3b6d70e ("x86/refcount: Implement fast refcount overflow protection")
https://git.kernel.org/cgit/linux/kernel/git/kees/linux.git kspp/fast-refcount/ud/v6
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -smp 2 -m 512M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------------------------+------------+------------+
| | 561ee9566e | b631e535c6 |
+------------------------------------------------------------+------------+------------+
| boot_successes | 37 | 0 |
| boot_failures | 0 | 4 |
| WARNING:at_net/netlink/af_netlink.c:#netlink_sock_destruct | 0 | 4 |
+------------------------------------------------------------+------------+------------+
[ 36.991339] WARNING: CPU: 0 PID: 280 at net/netlink/af_netlink.c:374 netlink_sock_destruct+0x1ea/0x200
[ 36.994035] Modules linked in:
[ 36.994815] CPU: 0 PID: 280 Comm: sh Not tainted 4.13.0-rc1-00003-gb631e53 #1
[ 36.996546] task: ffff88001448c180 task.stack: ffffc900004e0000
[ 36.998006] RIP: 0010:netlink_sock_destruct+0x1ea/0x200
[ 36.999290] RSP: 0018:ffffffff82433de0 EFLAGS: 00010206
[ 37.000591] RAX: ffff88001448c180 RBX: ffff880016a3d000 RCX: 0000000000000000
[ 37.002319] RDX: 0000000000000100 RSI: 0000000000000001 RDI: ffffffff82796f48
[ 37.004061] RBP: ffffffff82433df0 R08: 0000000000000000 R09: 0000000000000000
[ 37.005780] R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001
[ 37.007528] R13: ffffffff81cd4a00 R14: 96e49674e09954cf R15: 000000000000001f
[ 37.009261] FS: 0000000000000000(0000) GS:ffffffff82430000(0000) knlGS:0000000000000000
[ 37.011233] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 37.012629] CR2: 00007f268a96e688 CR3: 00000000159ff000 CR4: 00000000000006b0
[ 37.014212] Call Trace:
[ 37.014745] <IRQ>
[ 37.015201] __sk_destruct+0x3a2/0x4c0
[ 37.015994] sk_destruct+0x3f/0x70
[ 37.016747] __sk_free+0x10d/0x160
[ 37.017479] sk_free+0x4a/0x60
[ 37.018127] deferred_put_nlk_sk+0xd9/0xf0
[ 37.018998] rcu_process_callbacks+0x766/0x1cb0
[ 37.019944] ? rcu_process_callbacks+0x643/0x1cb0
[ 37.020960] __do_softirq+0x10c/0x6b2
[ 37.021749] irq_exit+0x135/0x140
[ 37.022458] smp_apic_timer_interrupt+0x3b/0x50
[ 37.023429] apic_timer_interrupt+0x8e/0xa0
[ 37.024303] RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60
[ 37.025141] RSP: 0018:ffffc900004e3c10 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10
[ 37.026605] RAX: ffff88001448c180 RBX: ffffffff82727288 RCX: 0000000000000000
[ 37.028340] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff82727288
[ 37.030077] RBP: ffffc900004e3c60 R08: 0000000000000000 R09: 0000000000000000
[ 37.031796] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
[ 37.033546] R13: 0000000000000000 R14: 0000000000000000 R15: 00007f2689f93000
[ 37.035262] </IRQ>
[ 37.035814] ? ftrace_likely_update+0x39/0x200
[ 37.036925] ? vm_normal_page+0xd7/0x1a0
[ 37.037886] unmap_page_range+0x775/0x14d0
[ 37.038658] unmap_single_vma+0x158/0x180
[ 37.039403] unmap_vmas+0x5b/0x80
[ 37.040202] exit_mmap+0x118/0x220
[ 37.040900] mmput+0xd5/0x240
[ 37.041479] do_exit+0xdb6/0x16d0
[ 37.042183] ? entry_SYSCALL_64_fastpath+0x5/0xbd
[ 37.043365] do_group_exit+0x8a/0x160
[ 37.044282] SyS_exit_group+0x1d/0x20
[ 37.045192] entry_SYSCALL_64_fastpath+0x1f/0xbd
[ 37.046321] RIP: 0033:0x7f268a676408
[ 37.047221] RSP: 002b:00007ffcba052ea8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
[ 37.049042] RAX: ffffffffffffffda RBX: 000000000000007f RCX: 00007f268a676408
[ 37.050784] RDX: 000000000000007f RSI: 000000000000003c RDI: 000000000000007f
[ 37.052512] RBP: 00007f268a96e688 R08: 00000000000000e7 R09: ffffffffffffffa0
[ 37.054281] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f268a96ff40
[ 37.056004] R13: 0000000000000001 R14: 0000000000000000 R15: 00000000ffffffff
[ 37.057765] Code: e8 56 14 48 ff eb ca e8 b5 42 4f ff 0f ff 0f 1f 00 eb a7 e8 a9 42 4f ff 0f ff 0f 1f 80 00 00 00 00 e9 48 ff ff ff e8 96 42 4f ff <0f> ff 0f 1f 40 00 e9 e5 fe ff ff 90 66 2e 0f 1f 84 00 00 00 00
[ 37.062621] ---[ end trace db04ba531557bbda ]---
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Xiaolong
4 years, 10 months
[lkp-robot] [KEYS] 5649645d72: ltp.add_key02.fail
by kernel test robot
FYI, we noticed the following commit:
commit: 5649645d725c73df4302428ee4e02c869248b4c5 ("KEYS: fix dereferencing NULL payload with nonzero length")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
in testcase: ltp
with following parameters:
test: syscalls_part1
test-description: The LTP testsuite contains a collection of tools for testing the Linux kernel and related features.
test-url: http://linux-test-project.github.io/
on test machine: 88 threads Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz with 64G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
user :notice: [ 55.064668] <<<test_start>>>
user :notice: [ 55.065023] tag=add_key02 stime=1498795561
user :notice: [ 55.065254] cmdline="add_key02"
user :notice: [ 55.065376] contacts=""
user :notice: [ 55.065520] analysis=exit
user :notice: [ 55.065711] <<<test_output>>>
user :notice: [ 55.066308] tst_test.c:878: INFO: Timeout per run is 0h 05m 00s
user :notice: [ 55.067232] add_key02.c:65: FAIL: add_key() failed unexpectedly, expected EINVAL: EFAULT
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
Thanks,
Xiaolong
4 years, 10 months
[lkp-robot] [mm/vmalloc] 3fef5b604a: kernel_BUG_at_mm/vmalloc.c
by kernel test robot
FYI, we noticed the following commit:
commit: 3fef5b604acd6e2346d932088b526891fbf93ee9 ("mm/vmalloc: add a node corresponding to cached_hole_size")
url: https://github.com/0day-ci/linux/commits/Zhaoyang-Huang/mm-vmalloc-add-a-...
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -smp 2 -m 512M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+----------------------------------------------------+-----------+------------+
| | v4.13-rc1 | 3fef5b604a |
+----------------------------------------------------+-----------+------------+
| boot_successes | 686 | 0 |
| boot_failures | 2369 | 32 |
| BUG:kernel_in_stage | 10 | |
| WARNING:possible_recursive_locking_detected | 2282 | |
| BUG:kernel_hang_in_test_stage | 294 | |
| INFO:creating/lkp/benchmarks/ltp/output_directory | 344 | |
| INFO:creating/lkp/benchmarks/ltp/results_directory | 344 | |
| INFO:ltp-pan_reported_some_tests_FAIL | 218 | |
| INFO:ltp-pan_reported_all_tests_PASS | 124 | |
| invoked_oom-killer:gfp_mask=0x | 4 | |
| Mem-Info | 4 | |
| BUG:unable_to_handle_kernel | 3 | |
| Oops:#[##] | 3 | |
| Kernel_panic-not_syncing:Fatal_exception | 5 | 32 |
| general_protection_fault:#[##] | 2 | |
| BUG:kernel_hang_in_boot_stage | 11 | |
| BUG:kernel_reboot-without-warning_in_test_stage | 1 | |
| kernel_BUG_at_mm/vmalloc.c | 0 | 32 |
| invalid_opcode:#[##] | 0 | 32 |
+----------------------------------------------------+-----------+------------+
[ 3.052952] kernel BUG at mm/vmalloc.c:526!
[ 3.052956] invalid opcode: 0000 [#1] SMP
[ 3.052957] Modules linked in:
[ 3.052961] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.0-rc1-00001-g3fef5b6 #5
[ 3.052963] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 3.052965] task: ffff8c443bcb8040 task.stack: ffffb9f3c0194000
[ 3.052969] RIP: 0010:alloc_vmap_area+0x2b8/0x36f
[ 3.052971] RSP: 0000:ffffb9f3c0197be8 EFLAGS: 00010206
[ 3.052974] RAX: ffffb9f3c01a9000 RBX: 0000000000002000 RCX: 0000000000000d81
[ 3.052975] RDX: 0000000000000003 RSI: 0000000000000003 RDI: ffffffff980c52a0
[ 3.052977] RBP: ffffb9f3c0197c40 R08: 0000000173ae419e R09: ffffffff97a436f8
[ 3.052979] R10: ffffb9f3c0197b50 R11: 0000000000000002 R12: 0000000000000fff
[ 3.052980] R13: ffff8c443b99dc00 R14: ffffffffc02db000 R15: 0000000000000000
[ 3.052983] FS: 0000000000000000(0000) GS:ffff8c443ca00000(0000) knlGS:0000000000000000
[ 3.052984] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3.052986] CR2: 0000000000000000 CR3: 000000001c02c000 CR4: 00000000000006f0
[ 3.052990] Call Trace:
[ 3.052999] __get_vm_area_node+0xee/0x158
[ 3.053011] ? ftrace_stub+0x5/0x5
[ 3.053014] ? ftrace_call+0x34/0x34
[ 3.053017] __vmalloc_node_range+0x67/0x226
[ 3.053021] ? arch_ftrace_update_trampoline+0xad/0x21c
[ 3.053023] ? __mutex_unlock_slowpath+0x3a/0x201
[ 3.053027] ? arch_ftrace_update_trampoline+0xad/0x21c
[ 3.053030] ? ftrace_stub+0x5/0x5
[ 3.053032] ? ftrace_call+0x34/0x34
[ 3.053035] module_alloc+0xa7/0xb7
[ 3.053039] ? arch_ftrace_update_trampoline+0xad/0x21c
[ 3.053043] arch_ftrace_update_trampoline+0xad/0x21c
[ 3.053045] ? ftrace_regs_caller+0x65/0x65
[ 3.053053] ftrace_startup+0xf4/0x19e
[ 3.053057] register_ftrace_function+0x26/0x3c
[ 3.053060] arm_kprobe+0x5d/0xc5
[ 3.053063] register_kprobe+0x3fa/0x49e
[ 3.053069] init_test_probes+0x51/0x462
[ 3.053071] ? init_test_probes+0x51/0x462
[ 3.053074] ? register_module_notifier+0x18/0x1a
[ 3.053078] init_kprobes+0x1f7/0x204
[ 3.053081] ? debugfs_kprobe_init+0xaa/0xaa
[ 3.053084] ? set_debug_rodata+0x17/0x17
[ 3.053087] do_one_initcall+0x90/0x138
[ 3.053094] ? set_debug_rodata+0x17/0x17
[ 3.053096] kernel_init_freeable+0x1c6/0x24e
[ 3.053099] ? rest_init+0xd8/0xd8
[ 3.053103] kernel_init+0xe/0xfa
[ 3.053106] ret_from_fork+0x2a/0x40
[ 3.053114] Code: 67 eb ff ff 49 8d 45 18 48 c7 c7 a0 52 0c 98 48 89 05 ab e5 6a 04 e8 e2 07 de 01 49 8b 45 00 49 85 c4 74 02 0f 0b 49 39 c6 76 02 <0f> 0b 48 8b 5d b8 49 3b 5d 08 4c 89 e8 0f 83 95 00 00 00 0f 0b
[ 3.053163] RIP: alloc_vmap_area+0x2b8/0x36f RSP: ffffb9f3c0197be8
[ 3.053170] ---[ end trace fdb091fa3551ba62 ]---
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Xiaolong
4 years, 10 months
[lkp-robot] [mm/vmalloc] dec0553d31: WARNING:at_mm/vmalloc.c:#vmap_page_range_noflush
by kernel test robot
FYI, we noticed the following commit:
commit: dec0553d3100b4b624dbbc2e5bf1d7df8d70b09f ("mm/vmalloc: terminate searching since one node found")
url: https://github.com/0day-ci/linux/commits/Zhaoyang-Huang/mm-vmalloc-termin...
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -smp 2 -m 512M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+--------------------------------------------------+-----------+------------+
| | v4.13-rc1 | dec0553d31 |
+--------------------------------------------------+-----------+------------+
| boot_successes | 3557 | 0 |
| boot_failures | 460 | 50 |
| BUG:kernel_in_stage | 26 | 1 |
| BUG:kernel_hang_in_test_stage | 397 | |
| general_protection_fault:#[##] | 4 | |
| Kernel_panic-not_syncing:Fatal_exception | 13 | 49 |
| BUG:unable_to_handle_kernel | 9 | |
| Oops:#[##] | 9 | |
| BUG:kernel_reboot-without-warning_in_test_stage | 12 | |
| invoked_oom-killer:gfp_mask=0x | 12 | |
| Mem-Info | 12 | 49 |
| Out_of_memory:Kill_process | 3 | |
| WARNING:at_mm/vmalloc.c:#vmap_page_range_noflush | 0 | 49 |
| kernel_BUG_at_net/core/ptp_classifier.c | 0 | 49 |
| invalid_opcode:#[##] | 0 | 49 |
+--------------------------------------------------+-----------+------------+
[ 0.214071] WARNING: CPU: 0 PID: 1 at mm/vmalloc.c:152 vmap_page_range_noflush+0x2d3/0x30b
[ 0.215090] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.0-rc1-00001-gdec0553 #35
[ 0.215856] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 0.216005] task: ffff883f40058000 task.stack: ffffad1b00008000
[ 0.216586] RIP: 0010:vmap_page_range_noflush+0x2d3/0x30b
[ 0.217123] RSP: 0000:ffffad1b0000bcf0 EFLAGS: 00010282
[ 0.217635] RAX: ffff883f40021000 RBX: ffffad1b00001000 RCX: ffff883f5d7ba600
[ 0.218394] RDX: ffff883f40021000 RSI: ffff883f40096088 RDI: 0000000000021000
[ 0.219107] RBP: ffffad1b0000bd70 R08: ffff883f4017d2c0 R09: 0000000000002000
[ 0.220004] R10: 8000000000000163 R11: 0000000000000002 R12: ffffad1b00000000
[ 0.220727] R13: ffffffffa1416ad0 R14: ffffad1b00001000 R15: ffffad1b00001000
[ 0.221440] FS: 0000000000000000(0000) GS:ffff883f5d200000(0000) knlGS:0000000000000000
[ 0.222602] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.223198] CR2: 0000000000000000 CR3: 000000000b416000 CR4: 00000000000006f0
[ 0.224008] Call Trace:
[ 0.224264] map_vm_area+0x31/0x3d
[ 0.224611] __vmalloc_node_range+0x15d/0x1e5
[ 0.225067] __vmalloc_node+0x2d/0x2f
[ 0.225430] ? bpf_prog_alloc+0x37/0xa0
[ 0.225817] __vmalloc+0x1b/0x1d
[ 0.226169] bpf_prog_alloc+0x37/0xa0
[ 0.226533] ? set_debug_rodata+0x12/0x12
[ 0.226961] bpf_prog_create+0x41/0x90
[ 0.228007] ptp_classifier_init+0x26/0x2e
[ 0.228437] ? dmi_save_dev_pciaddr+0x42/0xa2
[ 0.228924] sock_init+0x95/0x9a
[ 0.229245] ? bsp_pm_check_init+0x14/0x14
[ 0.229672] do_one_initcall+0x8b/0x132
[ 0.230056] ? set_debug_rodata+0x12/0x12
[ 0.230471] kernel_init_freeable+0x19f/0x224
[ 0.230925] ? rest_init+0x143/0x143
[ 0.231308] kernel_init+0x9/0xe6
[ 0.231667] ret_from_fork+0x25/0x30
[ 0.232004] Code: 48 8b 7d c8 4c 89 e6 e8 2a ef fe ff 85 c0 74 99 eb 28 48 63 45 c4 48 8b 75 a0 48 8b 0c c6 48 8b 45 b0 48 f7 00 9f ff ff ff 74 04 <0f> ff eb 0b 48 85 c9 0f 85 0c fe ff ff 0f ff c7 45 c4 f4 ff ff
[ 0.234047] ---[ end trace 4503c1098d1f2449 ]---
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Xiaolong
4 years, 10 months
776c6d679d ("lib: test_rhashtable: fix for large entry counts"): BUG: KASAN: stack-out-of-bounds in jhash
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/0day-ci/linux/commits/Phil-Sutter/lib-test_rhashtable-...
commit 776c6d679dc8b68c81e210eb07c7418dcd9f47f6
Author: Phil Sutter <phil(a)nwl.cc>
AuthorDate: Fri Jul 21 16:51:31 2017 +0200
Commit: 0day robot <fengguang.wu(a)intel.com>
CommitDate: Sun Jul 23 11:46:57 2017 +0800
lib: test_rhashtable: fix for large entry counts
During concurrent access testing, threadfunc() concatenated thread ID
and object index to create a unique key like so:
| tdata->objs[i].value = (tdata->id << 16) | i;
This breaks if a user passes an entries parameter of 64k or higher,
since 'i' might use more than 16 bits then. Effectively, this will lead
to duplicate keys in the table.
Fix the problem by introducing a struct holding object and thread ID and
using that as key instead of a single integer type field.
Fixes: f4a3e90ba5739 ("rhashtable-test: extend to test concurrency")
Reported by: Manuel Messner <mm(a)skelett.io>
Signed-off-by: Phil Sutter <phil(a)nwl.cc>
54a7d50b92 x86: mark kprobe templates as character arrays, not single characters
776c6d679d lib: test_rhashtable: fix for large entry counts
776c6d679d lib: test_rhashtable: fix for large entry counts
+------------------------------------------------------------------+------------+------------+------------+
| | 54a7d50b92 | 776c6d679d | 776c6d679d |
+------------------------------------------------------------------+------------+------------+------------+
| boot_successes | 33 | 0 | 0 |
| boot_failures | 0 | 13 | 13 |
| invoked_oom-killer:gfp_mask=0x | 0 | 2 | 2 |
| Mem-Info | 0 | 2 | 2 |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 0 | 2 | 2 |
| BUG:KASAN:stack-out-of-bounds | 0 | 11 | 11 |
| kernel_BUG_at_lib/test_rhashtable.c | 0 | 11 | 11 |
| invalid_opcode:#[##] | 0 | 11 | 11 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 11 | 11 |
+------------------------------------------------------------------+------------+------------+------------+
[ 1.080485] Adding 50000 keys
[ 1.108377] Traversal complete: counted=50000, nelems=50000, entries=50000, table-jumps=0
[ 1.131479] Traversal complete: counted=50000, nelems=50000, entries=50000, table-jumps=0
[ 1.133570] Deleting 50000 keys
[ 1.134500] ==================================================================
[ 1.135496] BUG: KASAN: stack-out-of-bounds in jhash+0x2c2/0x496
[ 1.135496] Read of size 1 at addr ffff88001a517d3f by task swapper/1
[ 1.135496]
[ 1.135496] CPU: 0 PID: 1 Comm: swapper Not tainted 4.13.0-rc1-00096-g776c6d6 #1
[ 1.135496] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 1.135496] Call Trace:
[ 1.135496] dump_stack+0x19/0x1b
[ 1.135496] print_address_description+0x57/0x223
[ 1.135496] ? jhash+0x2c2/0x496
[ 1.135496] kasan_report+0x1ff/0x228
[ 1.135496] __asan_report_load1_noabort+0x14/0x16
[ 1.135496] jhash+0x2c2/0x496
[ 1.135496] ? kstrtoll_from_user+0x122/0x122
[ 1.135496] test_rht_init+0x6c4/0xf4e
[ 1.135496] ? test_kstrtox_init+0x10c8/0x10c8
[ 1.135496] ? __test_string_get_size+0xfc/0xfc
[ 1.135496] ? test_kstrtox_init+0x10c8/0x10c8
[ 1.135496] do_one_initcall+0xfe/0x1cf
[ 1.135496] ? initcall_blacklisted+0x152/0x152
[ 1.135496] ? __wake_up+0x5b/0x71
[ 1.135496] kernel_init_freeable+0x237/0x2e9
[ 1.135496] ? rest_init+0xea/0xea
[ 1.135496] kernel_init+0xc/0x100
[ 1.135496] ? rest_init+0xea/0xea
[ 1.135496] ret_from_fork+0x25/0x30
[ 1.135496]
[ 1.135496] The buggy address belongs to the page:
[ 1.135496] page:ffffea00006945c0 count:0 mapcount:0 mapping: (null) index:0x0
[ 1.135496] flags: 0x4000000000000000()
[ 1.135496] raw: 4000000000000000 0000000000000000 0000000000000000 00000000ffffffff
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start a96ad486e9310aecdba786b280c747d19f6b735a 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 --
git bisect bad 6e41ee05baa2f1f9a5938ce0b87e413e6e010af5 # 21:30 B 0 11 24 0 Merge 'linux-review/Ujjal-Singh/dmaengine-ioatdma-Add-intr_coalesce-sysfs-entry/20170723-014602' into devel-catchup-201707232004
git bisect bad 119d86b31f08df8ce973ac8c621396f71dd46d6c # 21:43 B 0 11 24 0 Merge 'linux-review/Peter-Chen/usb-chipidea-core-do-not-register-extcon-notifier-if-extcon-device-is-not-existed/20170723-112632' into devel-catchup-201707232004
git bisect good 8d42254e2012cc1c06ec417eee2a932bfd4d3d0f # 22:02 G 11 0 0 0 Merge 'linux-review/Arnd-Bergmann/gpu-ipu-v3-add-DRM-dependency/20170723-193330' into devel-catchup-201707232004
git bisect good a26a6aacdb39a7459915fd1f921e79fe57be03a9 # 22:14 G 11 0 0 0 Merge 'linux-review/Paolo-Abeni/IP-do-not-modify-ingress-packet-IP-option-in-ip_options_echo/20170723-141426' into devel-catchup-201707232004
git bisect good 160bc3e3bb8cf536b548aa3410d4c01ed31caf49 # 22:25 G 11 0 0 0 Merge 'linux-review/Paolo-Abeni/net-socket-fix-type-in-assignment-and-trim-long-line/20170723-122027' into devel-catchup-201707232004
git bisect good dfca354f0da9f892c045610ba27f8315f0246377 # 22:38 G 11 0 0 0 Merge 'linux-review/Dan-Carpenter/bpf-dev_map_alloc-shouldn-t-return-NULL/20170723-115149' into devel-catchup-201707232004
git bisect bad 29b1e571508fc9dbd361202591abed113370d8bf # 22:52 B 0 11 24 0 Merge 'linux-review/Phil-Sutter/lib-test_rhashtable-fix-for-large-entry-counts/20170723-114651' into devel-catchup-201707232004
git bisect bad 776c6d679dc8b68c81e210eb07c7418dcd9f47f6 # 23:02 B 0 11 24 0 lib: test_rhashtable: fix for large entry counts
# first bad commit: [776c6d679dc8b68c81e210eb07c7418dcd9f47f6] lib: test_rhashtable: fix for large entry counts
git bisect good 54a7d50b9205b5064628c1d10de6531d2d9fbc90 # 23:26 G 33 0 0 0 x86: mark kprobe templates as character arrays, not single characters
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 776c6d679dc8b68c81e210eb07c7418dcd9f47f6 # 23:38 B 0 11 24 0 lib: test_rhashtable: fix for large entry counts
# extra tests on HEAD of linux-devel/devel-catchup-201707232004
git bisect bad a96ad486e9310aecdba786b280c747d19f6b735a # 23:38 B 0 13 29 0 0day head guard for 'devel-catchup-201707232004'
# extra tests on tree/branch linux-review/Phil-Sutter/lib-test_rhashtable-fix-for-large-entry-counts/20170723-114651
git bisect bad 776c6d679dc8b68c81e210eb07c7418dcd9f47f6 # 23:41 B 0 11 26 2 lib: test_rhashtable: fix for large entry counts
# extra tests with first bad commit reverted
git bisect good 20801c68d1237163c0a17839f37e63d6862bfce0 # 00:04 G 11 0 0 0 Revert "lib: test_rhashtable: fix for large entry counts"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
4 years, 10 months
06dc75ab06 ("net: Revert "net: add function to allocate .."): BUG: unable to handle kernel paging request at d79df002
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit 06dc75ab06943fcc126a951a0680980ad5cb75c6
Author: Florian Westphal <fw(a)strlen.de>
AuthorDate: Mon Jul 17 18:56:54 2017 +0200
Commit: David S. Miller <davem(a)davemloft.net>
CommitDate: Mon Jul 17 10:34:21 2017 -0700
net: Revert "net: add function to allocate sk_buff head without data area"
It was added for netlink mmap tx, there are no callers in the tree.
The commit also added a check for skb->head != NULL in kfree_skb path,
remove that too -- all skbs ought to have skb->head set.
Signed-off-by: Florian Westphal <fw(a)strlen.de>
Signed-off-by: David S. Miller <davem(a)davemloft.net>
5c3c6081b2 Merge branch 'net-ufo-remove'
06dc75ab06 net: Revert "net: add function to allocate sk_buff head without data area"
83d9512f12 Add linux-next specific files for 20170721
+------------------------------------------+------------+------------+---------------+
| | 5c3c6081b2 | 06dc75ab06 | next-20170721 |
+------------------------------------------+------------+------------+---------------+
| boot_successes | 1013 | 897 | 917 |
| boot_failures | 0 | 17 | 15 |
| BUG:unable_to_handle_kernel | 0 | 17 | 15 |
| Oops:#[##] | 0 | 17 | 15 |
| EIP:skb_release_data | 0 | 16 | 15 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 17 | 15 |
| EIP:__list_add_valid | 0 | 1 | |
+------------------------------------------+------------+------------+---------------+
Unless you are running in a virtual machine, this could cause serious problems such as overwriting CMOS
or similar which could potentially make this machine unbootable without a firmware reset.
ctrl-c now unless you really know what you are doing.
[ 27.078917] sock: process `trinity-main' is using obsolete setsockopt SO_BSDCOMPAT
[ 28.707178] BUG: unable to handle kernel paging request at d79df002
[ 28.709503] IP: skb_release_data+0x39/0x7b
[ 28.710928] *pdpt = 00000000018c9001 *pde = 000000000004a067
[ 28.710932] *pte = 0000000000000000
[ 28.712933]
[ 28.714781] Oops: 0000 [#1] DEBUG_PAGEALLOC
[ 28.716274] Modules linked in:
[ 28.717406] CPU: 0 PID: 4208 Comm: trinity-c0 Not tainted 4.12.0-11050-g06dc75a #1
[ 28.720121] task: cee19180 task.stack: ce16e000
[ 28.721760] EIP: skb_release_data+0x39/0x7b
[ 28.723260] EFLAGS: 00010246 CPU: 0
[ 28.724553] EAX: ceec0880 EBX: d79df000 ECX: cfe7a2e8 EDX: c184ba00
[ 28.726806] ESI: 00000000 EDI: ceec0880 EBP: ce16fdb0 ESP: ce16fda4
[ 28.729065] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[ 28.731007] CR0: 80050033 CR2: d79df002 CR3: 0ed2f020 CR4: 000006b0
[ 28.733278] DR0: 085b0ea0 DR1: 080cb000 DR2: 00000000 DR3: 00000000
[ 28.735386] DR6: ffff0ff0 DR7: 00000600
[ 28.736726] Call Trace:
[ 28.737489] __kfree_skb+0x12/0x1c
[ 28.738703] consume_skb+0x16/0x19
[ 28.739836] netlink_unicast+0xff/0x16e
[ 28.741186] netlink_sendmsg+0x27f/0x28c
[ 28.742594] sock_sendmsg_nosec+0xd/0x19
[ 28.743951] sock_write_iter+0x73/0x82
[ 28.745277] ? lock_release+0x10b/0x1fe
[ 28.746637] do_iter_readv_writev+0x85/0xa1
[ 28.748104] do_iter_write+0x59/0x8f
[ 28.749314] vfs_writev+0x44/0x60
[ 28.750471] ? lock_release+0x10b/0x1fe
[ 28.751888] ? _raw_spin_unlock_irq+0x22/0x2b
[ 28.753390] ? __fget_light+0x20/0x40
[ 28.754734] ? __fdget+0xd/0xf
[ 28.755845] do_writev+0x40/0xa1
[ 28.757019] SyS_writev+0x13/0x15
[ 28.758243] do_fast_syscall_32+0x8f/0xce
[ 28.759701] entry_SYSENTER_32+0x4e/0x7c
[ 28.761129] EIP: 0xb778db19
[ 28.762153] EFLAGS: 00000246 CPU: 0
[ 28.763408] EAX: ffffffda EBX: 00000016 ECX: 0879e0f8 EDX: 00000001
[ 28.765702] ESI: a075221c EDI: ffff0001 EBP: 91e41ff6 ESP: bff7fb9c
[ 28.767954] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b
[ 28.769922] Code: 00 f6 c2 01 75 06 89 c7 31 f6 eb 1f 83 e2 02 80 fa 01 19 c9 66 31 c9 81 c1 01 00 01 00 89 ca f7 da 0f c1 53 20 39 d1 74 dd eb 3d <0f> b6 43 02 39 c6 7d 0c 8b 44 f3 28 46 e8 6e ec ff ff eb ec f6
[ 28.776708] EIP: skb_release_data+0x39/0x7b SS:ESP: 0068:ce16fda4
[ 28.778900] CR2: 00000000d79df002
[ 28.780119] ---[ end trace b90b4f33a077a694 ]---
[ 28.781800] Kernel panic - not syncing: Fatal exception
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 5954dd2c972d9e7e253333ccd2423b4a3450fd46 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 --
git bisect bad 7576d613155da5bcbfc9aa512f1a47ed9ac42d36 # 15:04 B 903 6 0 15 Merge 'gfs2/for-next' into devel-spot-201707231116
git bisect bad e3065faa373dfdb0323b12312816b8b7a60dd25e # 15:09 B 0 1 18 3 Merge 'atenart/4.13-rc1/dynamic-phy-mode' into devel-spot-201707231116
git bisect good de027438d33a8736e4ec648ee894ab733b91a602 # 16:29 G 909 0 2 2 Merge 'arm-perf/iommu/devel' into devel-spot-201707231116
git bisect bad 9d7a2d77726deef574458571be051c2d1a1be9e8 # 16:40 B 13 1 0 0 Merge 'jpirko-mlxsw/combined_queue' into devel-spot-201707231116
git bisect bad 62247d6ba447389c7351986cad24b16e97d8ef8a # 16:53 B 7 1 0 0 Merge 'jpirko-mlxsw/jiri_devel_linak' into devel-spot-201707231116
git bisect good 96080f697786e0a30006fcbcc5b53f350fcb3e9f # 17:54 G 903 0 0 0 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
git bisect bad a2a05db8a5ed5f97d269155508da801646683ad6 # 18:10 B 208 1 1 1 net: dsa: mv88e6xxx: add POT flag to 88E6390
git bisect good 7607dd35fc34893214284cca740d015154d20452 # 18:59 G 910 0 0 0 mlxsw: spectrum: Trap IPv4 packets with Router Alert option
git bisect good 2082499a95ad31b88466e50f4c61513e3873ba9e # 19:34 G 910 0 1 1 dummy: Remove references to NETIF_F_UFO.
git bisect bad 7924a42133324d1cbec1c217eca598712707bd03 # 19:48 B 31 1 0 0 net: ec_bhf: constify pci_device_id.
git bisect good 880388aa3c07fdea4f9b85e35641753017b1852f # 20:50 G 901 0 0 0 net: Remove all references to SKB_GSO_UDP.
git bisect good 5c3c6081b246b05ee5bb2fc1759a7c0c6a0b7c3b # 21:36 G 910 0 0 0 Merge branch 'net-ufo-remove'
git bisect bad c744cf5b9dea1da57a6fdb314c8b403cb22075c0 # 21:59 B 357 1 0 0 net: cadence: macb: constify pci_device_id.
git bisect bad 06dc75ab06943fcc126a951a0680980ad5cb75c6 # 22:08 B 7 1 0 0 net: Revert "net: add function to allocate sk_buff head without data area"
# first bad commit: [06dc75ab06943fcc126a951a0680980ad5cb75c6] net: Revert "net: add function to allocate sk_buff head without data area"
git bisect good 5c3c6081b246b05ee5bb2fc1759a7c0c6a0b7c3b # 22:17 G 1004 0 0 0 Merge branch 'net-ufo-remove'
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 06dc75ab06943fcc126a951a0680980ad5cb75c6 # 22:32 B 106 1 0 1 net: Revert "net: add function to allocate sk_buff head without data area"
# extra tests on HEAD of linux-devel/devel-spot-201707231116
git bisect bad 5954dd2c972d9e7e253333ccd2423b4a3450fd46 # 22:32 B 42 2 0 1 0day head guard for 'devel-spot-201707231116'
# extra tests on tree/branch linux-next/master
git bisect bad 83d9512f1221f0b8b51f7e101bc5aab8d5b97fcb # 22:46 B 25 1 0 0 Add linux-next specific files for 20170721
# extra tests with first bad commit reverted
git bisect good 95853785b47d581e37d5ee03f21f09f2345bb10d # 00:04 G 902 0 1 1 Revert "net: Revert "net: add function to allocate sk_buff head without data area""
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
4 years, 10 months
[lkp-robot] [ksm] ef2271279c: kernel_BUG_at_mm/mmap.c
by kernel test robot
FYI, we noticed the following commit:
commit: ef2271279c8ddc7a1ae688168b120a2b0bf3b463 ("ksm: introduce ksm_max_page_sharing per page deduplication limit")
https://git.kernel.org/cgit/linux/kernel/git/andrea/aa.git master
in testcase: trinity
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-i386 -enable-kvm -smp 2 -m 320M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------+------------+------------+
| | 16bcd858c4 | ef2271279c |
+------------------------------------------+------------+------------+
| boot_successes | 46 | 21 |
| boot_failures | 0 | 23 |
| kernel_BUG_at_mm/mmap.c | 0 | 23 |
| invalid_opcode:#[##] | 0 | 23 |
| EIP:unmapped_area_topdown | 0 | 23 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 23 |
+------------------------------------------+------------+------------+
[ 36.299632] kernel BUG at mm/mmap.c:1968!
[ 36.299632] kernel BUG at mm/mmap.c:1968!
[ 36.303491] invalid opcode: 0000 [#1]
[ 36.303491] invalid opcode: 0000 [#1]
[ 36.304959] Modules linked in:
[ 36.304959] Modules linked in:
[ 36.308105] CPU: 0 PID: 2440 Comm: trinity-c2 Not tainted 4.12.0-rc6-00024-gef22712 #1
[ 36.308105] CPU: 0 PID: 2440 Comm: trinity-c2 Not tainted 4.12.0-rc6-00024-gef22712 #1
[ 36.311887] task: 8a32b300 task.stack: 897d2000
[ 36.311887] task: 8a32b300 task.stack: 897d2000
[ 36.313752] EIP: unmapped_area_topdown+0x131/0x140
[ 36.313752] EIP: unmapped_area_topdown+0x131/0x140
[ 36.315995] EFLAGS: 00010206 CPU: 0
[ 36.315995] EFLAGS: 00010206 CPU: 0
[ 36.317318] EAX: 6c2ef000 EBX: 6c3f0000 ECX: 6c400000 EDX: 6c2ef000
[ 36.317318] EAX: 6c2ef000 EBX: 6c3f0000 ECX: 6c400000 EDX: 6c2ef000
[ 36.320170] ESI: 00101000 EDI: 897d3eac EBP: 897d3e98 ESP: 897d3e6c
[ 36.320170] ESI: 00101000 EDI: 897d3eac EBP: 897d3e98 ESP: 897d3e6c
[ 36.323477] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
[ 36.323477] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
[ 36.328281] CR0: 80050033 CR2: 08a14fc0 CR3: 111db000 CR4: 00000690
[ 36.328281] CR0: 80050033 CR2: 08a14fc0 CR3: 111db000 CR4: 00000690
[ 36.331708] Call Trace:
[ 36.331708] Call Trace:
[ 36.332981] arch_get_unmapped_area_topdown+0x81/0x121
[ 36.332981] arch_get_unmapped_area_topdown+0x81/0x121
[ 36.335498] ? arch_get_unmapped_area+0xd9/0xd9
[ 36.335498] ? arch_get_unmapped_area+0xd9/0xd9
[ 36.337251] get_unmapped_area+0x4d/0x89
[ 36.337251] get_unmapped_area+0x4d/0x89
[ 36.340782] do_mmap+0xd2/0x2ee
[ 36.340782] do_mmap+0xd2/0x2ee
[ 36.342221] vm_mmap_pgoff+0x50/0x80
[ 36.342221] vm_mmap_pgoff+0x50/0x80
[ 36.343760] SyS_mmap_pgoff+0xec/0x132
[ 36.343760] SyS_mmap_pgoff+0xec/0x132
[ 36.345436] do_fast_syscall_32+0xca/0x184
[ 36.345436] do_fast_syscall_32+0xca/0x184
[ 36.347739] entry_SYSENTER_32+0x4c/0x7b
[ 36.347739] entry_SYSENTER_32+0x4c/0x7b
[ 36.350067] EIP: 0x6f7f3bd5
[ 36.350067] EIP: 0x6f7f3bd5
[ 36.353342] EFLAGS: 00000246 CPU: 0
[ 36.353342] EFLAGS: 00000246 CPU: 0
[ 36.354982] EAX: ffffffda EBX: 00000000 ECX: 00101000 EDX: 00000003
[ 36.354982] EAX: ffffffda EBX: 00000000 ECX: 00101000 EDX: 00000003
[ 36.359594] ESI: 00000022 EDI: ffffffff EBP: 00000000 ESP: 77b3210c
[ 36.359594] ESI: 00000022 EDI: ffffffff EBP: 00000000 ESP: 77b3210c
[ 36.363729] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b
[ 36.363729] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b
[ 36.366290] Code: 74 a9 8b 4b 04 eb a4 39 df 0f 47 fb 2b 7d e4 89 fa 89 f8 8b 7d f0 2b 47 14 23 45 e0 29 c2 39 55 e8 89 d0 76 02 0f 0b 39 d1 76 07 <0f> 0b b8 f4 ff ff ff 83 c4 20 5b 5e 5f 5d c3 55 89 e5 56 53 89
[ 36.366290] Code: 74 a9 8b 4b 04 eb a4 39 df 0f 47 fb 2b 7d e4 89 fa 89 f8 8b 7d f0 2b 47 14 23 45 e0 29 c2 39 55 e8 89 d0 76 02 0f 0b 39 d1 76 07 <0f> 0b b8 f4 ff ff ff 83 c4 20 5b 5e 5f 5d c3 55 89 e5 56 53 89
[ 36.375107] EIP: unmapped_area_topdown+0x131/0x140 SS:ESP: 0068:897d3e6c
[ 36.375107] EIP: unmapped_area_topdown+0x131/0x140 SS:ESP: 0068:897d3e6c
[ 36.378202] ---[ end trace ce5cd97e71feb177 ]---
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Xiaolong
4 years, 10 months
152771fbc3 ("ASoC: Intel: board: Add Geminilake platform .."): BUG: KASAN: global-out-of-bounds in platform_match
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/0day-ci/linux/commits/Pradeep-Tewani/ASoC-Intel-board-...
commit 152771fbc320fbe27114c02268690318af550677
Author: Pradeep Tewani <pradeep.d.tewani(a)intel.com>
AuthorDate: Mon Jul 17 20:45:28 2017 +0530
Commit: 0day robot <fengguang.wu(a)intel.com>
CommitDate: Tue Jul 18 12:24:25 2017 +0800
ASoC: Intel: board: Add Geminilake platform support
Geminilake also features rt298 codec, so use the same machine driver
as Broxton. Geminilake uses SSP2 instead of SSP5.
Signed-off-by: Pradeep Tewani <pradeep.d.tewani(a)intel.com>
2e7c639bf4 Merge remote-tracking branches 'asoc/topic/spear' and 'asoc/topic/twl6040' into asoc-next
152771fbc3 ASoC: Intel: board: Add Geminilake platform support
4edff4bcd1 ASoC: hdac_hdmi: Add the vendor nid for Geminilake HDMI
+--------------------------------+------------+------------+------------+
| | 2e7c639bf4 | 152771fbc3 | 4edff4bcd1 |
+--------------------------------+------------+------------+------------+
| boot_successes | 37 | 0 | 0 |
| boot_failures | 0 | 17 | 17 |
| BUG:KASAN:global-out-of-bounds | 0 | 17 | 17 |
+--------------------------------+------------+------------+------------+
[ 231.525832] no UART detected at 0x1
[ 231.533685] Motu MidiTimePiece on parallel port irq: 7 ioport: 0x378
[ 231.542982] Motu MidiTimePiece on parallel port irq: 7 ioport: 0x378
[ 231.546230] ASIHPI driver 4.14.03
[ 231.563710] ==================================================================
[ 231.564705] BUG: KASAN: global-out-of-bounds in platform_match+0xb0/0x146
[ 231.565500] Read of size 1 at addr ffffffff8380a1a0 by task swapper/0/1
[ 231.566280]
[ 231.566594] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.12.0-00289-g152771f #1
[ 231.567526] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 231.568730] Call Trace:
[ 231.569128] dump_stack+0xf8/0x14a
[ 231.569615] print_address_description+0x57/0x1e4
[ 231.570216] ? driver_probe_device+0x814/0x814
[ 231.570798] kasan_report+0x1cb/0x1eb
[ 231.571302] ? platform_match+0xb0/0x146
[ 231.571833] __asan_load1+0x45/0x47
[ 231.572324] platform_match+0xb0/0x146
[ 231.572843] ? platform_uevent+0x73/0x73
[ 231.573370] __driver_attach+0x47/0x16a
[ 231.573890] bus_for_each_dev+0x11a/0x15c
[ 231.574422] ? bus_remove_file+0x57/0x57
[ 231.574951] ? do_raw_spin_unlock+0xc3/0xe0
[ 231.575501] driver_attach+0x2b/0x2e
[ 231.576002] bus_add_driver+0x25e/0x3c5
[ 231.576520] ? set_debug_rodata+0x20/0x20
[ 231.584776] driver_register+0x13e/0x19d
[ 231.585305] __platform_driver_register+0x6c/0x71
[ 231.585908] ? skl_driver_init+0x20/0x20
[ 231.586436] broxton_audio_init+0x17/0x19
[ 231.586976] do_one_initcall+0x11a/0x221
[ 231.587499] ? start_kernel+0x525/0x525
[ 231.588020] ? lock_downgrade+0x281/0x2ec
[ 231.588557] ? trace_hardirqs_on_caller+0x223/0x267
[ 231.589169] ? _raw_spin_unlock_irqrestore+0x49/0x55
[ 231.589791] ? set_debug_rodata+0x20/0x20
[ 231.590324] kernel_init_freeable+0x1fd/0x2b0
[ 231.590891] ? rest_init+0x17c/0x17c
[ 231.591384] kernel_init+0x11/0x157
[ 231.591876] ? rest_init+0x17c/0x17c
[ 231.592371] ret_from_fork+0x2a/0x40
[ 231.592865]
[ 231.593166] The buggy address belongs to the variable:
[ 231.593806] bxt_board_ids+0x40/0x9e0
[ 231.594304]
[ 231.594608] Memory state around the buggy address:
[ 231.595209] ffffffff8380a080: fa fa fa fa 00 03 fa fa fa fa fa fa 00 01 fa fa
[ 231.596129] ffffffff8380a100: fa fa fa fa 00 00 fa fa fa fa fa fa 00 00 00 00
[ 231.597050] >ffffffff8380a180: 00 00 00 00 fa fa fa fa 00 07 fa fa fa fa fa fa
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 02249309be5313215918883175256e5a64a483c5 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 --
git bisect bad b9f2216013d0c5374f8dcb52a16432901bfb550f # 05:04 B 0 10 22 0 Merge 'linux-review/Elaine-Zhang/soc-rockchip-Modify-power-domain-driver-for-rk3366-SoC/20170715-015741' into devel-hourly-2017072120
git bisect good 2b51a594679a44dc7abdd8ab22f009221a87bc0f # 05:24 G 11 0 0 0 Merge 'linux-review/Oleksij-Rempel/crypto-caam-set-hwrng-quality-level/20170720-221318' into devel-hourly-2017072120
git bisect good 44d10ae56a98405f25e75e148c5f8f23c768aab8 # 05:44 G 11 0 0 0 Merge 'linux-review/Viresh-Kumar/cpufreq-schedutil-Update-last_update-from-sugov_set_iowait_boost/20170719-004652' into devel-hourly-2017072120
git bisect good a6e251db107b218348d508350908b2bd8ac16026 # 06:15 G 11 0 0 1 Merge 'linux-review/Mike-Kravetz/mm-hugetlb-Define-system-call-hugetlb-size-encodings-in-single-file/20170718-160030' into devel-hourly-2017072120
git bisect good 9396b2f83af406a1271bd91058ca7acff8577f31 # 09:22 G 11 0 0 0 Merge 'linux-review/Linus-Walleij/machintosh-select-defaults-for-cooling/20170715-041153' into devel-hourly-2017072120
git bisect bad caa9b004bd3c37bc44b3c2d35174dbfe6c5b2475 # 09:22 B 0 6 18 0 Merge 'linux-review/Nikolay-Aleksandrov/net-bridge-fix-dest-lookup-when-vlan-proto-doesn-t-match/20170714-091504' into devel-hourly-2017072120
git bisect bad f8f9d10236dbd49b47dfe7abc7b215786e4d4968 # 09:27 B 0 6 18 0 Merge 'linux-review/Dou-Liyang/Unify-the-interrupt-delivery-mode-and-do-its-setup-in-advance/20170715-030117' into devel-hourly-2017072120
git bisect good 453d298c52319591eab925663e2877b0e1392452 # 09:58 G 11 0 0 0 Merge 'linux-review/Suganath-Prabu-S/mpt3sas-driver-NVMe-support/20170715-033232' into devel-hourly-2017072120
git bisect good 7fa11e091c2e24b597ae3ec26d780286e94b2a9a # 10:06 G 11 0 0 0 Merge 'linux-review/Rami-Rosen/net-packet-remove-unused-PGV_FROM_VMALLOC-definition/20170719-174803' into devel-hourly-2017072120
git bisect bad eb1a87740add8e14ceb664134ae17e3bf2a7a3cf # 10:35 B 0 9 21 0 Merge 'linux-review/Pradeep-Tewani/ASoC-Intel-board-Add-Geminilake-platform-support/20170718-122424' into devel-hourly-2017072120
git bisect bad 4edff4bcd1c356a82e0a600f421ccf87e567ee3c # 10:52 B 0 9 21 0 ASoC: hdac_hdmi: Add the vendor nid for Geminilake HDMI
git bisect bad 152771fbc320fbe27114c02268690318af550677 # 11:31 B 0 11 23 0 ASoC: Intel: board: Add Geminilake platform support
# first bad commit: [152771fbc320fbe27114c02268690318af550677] ASoC: Intel: board: Add Geminilake platform support
git bisect good 2e7c639bf49104a90c439804fd45781cac319e29 # 11:58 G 33 0 0 0 Merge remote-tracking branches 'asoc/topic/spear' and 'asoc/topic/twl6040' into asoc-next
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 152771fbc320fbe27114c02268690318af550677 # 12:15 B 0 10 22 0 ASoC: Intel: board: Add Geminilake platform support
# extra tests on HEAD of linux-devel/devel-hourly-2017072120
git bisect bad 02249309be5313215918883175256e5a64a483c5 # 12:15 B 0 63 94 16 0day head guard for 'devel-hourly-2017072120'
# extra tests on tree/branch linux-review/Pradeep-Tewani/ASoC-Intel-board-Add-Geminilake-platform-support/20170718-122424
git bisect bad 4edff4bcd1c356a82e0a600f421ccf87e567ee3c # 12:17 B 0 17 29 0 ASoC: hdac_hdmi: Add the vendor nid for Geminilake HDMI
# extra tests with first bad commit reverted
git bisect good bb46289b3a59b73289c0c51f896251015f4fb89a # 12:44 G 10 0 0 0 Revert "ASoC: Intel: board: Add Geminilake platform support"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
4 years, 10 months