lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180930032055.GJ15893@shao2-debian>
Date:   Sun, 30 Sep 2018 11:20:55 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Petar Penkov <ppenkov@...gle.com>
Cc:     Alexei Starovoitov <ast@...nel.org>,
        Willem de Bruijn <willemb@...gle.com>,
        LKML <linux-kernel@...r.kernel.org>,
        Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...org
Subject: [LKP] [flow_dissector] d58e468b11: BUG:unable_to_handle_kernel

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

commit: d58e468b1112dcd1d5193c0a89ff9f98b5a3e8b9 ("flow_dissector: implements flow dissector BPF hook")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

in testcase: test_bpf
with following parameters:

	test: jit



on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 2G

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


+------------------------------------------+------------+------------+
|                                          | 1edb6e035e | d58e468b11 |
+------------------------------------------+------------+------------+
| boot_successes                           | 16         | 0          |
| boot_failures                            | 0          | 4          |
| BUG:unable_to_handle_kernel              | 0          | 4          |
| Oops:#[##]                               | 0          | 4          |
| RIP:__skb_flow_dissect                   | 0          | 4          |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 4          |
+------------------------------------------+------------+------------+



[   11.372447] BUG: unable to handle kernel paging request at 0000000000001288
[   11.375142] PGD 0 P4D 0 
[   11.375884] Oops: 0000 [#1] SMP PTI
[   11.376822] CPU: 1 PID: 446 Comm: modprobe Not tainted 4.19.0-rc2-00341-gd58e468 #1
[   11.378646] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[   11.380605] RIP: 0010:__skb_flow_dissect+0x8e/0x1690
[   11.381777] Code: 05 f7 d3 79 7e 4d 8d 14 07 41 0f b7 44 24 06 66 89 85 3e ff ff ff 48 85 db 0f 84 12 02 00 00 48 8b 43 10 48 8b 80 e8 04 00 00 <48> 8b 90 88 12 00 00 48 85 d2 0f 84 f7 01 00 00 48 8d 4d 92 31 c0
[   11.385799] RSP: 0018:ffffc900008c7a80 EFLAGS: 00010286
[   11.387040] RAX: 0000000000000000 RBX: ffff88007e80d600 RCX: 0000000000000000
[   11.388612] RDX: ffffc900008c7bb4 RSI: ffffffff828b3cc0 RDI: ffff88007e80d600
[   11.390178] RBP: ffffc900008c7b80 R08: 0000000000000000 R09: 000000000000000e
[   11.391747] R10: ffffc900008c7bb4 R11: ffff88007ea34c00 R12: ffffffff828b3cc0
[   11.393315] R13: 0000000000000008 R14: 000000000000001e R15: ffffc900008c7bb4
[   11.394870] FS:  00007f64be17e700(0000) GS:ffff880072900000(0000) knlGS:0000000000000000
[   11.396785] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   11.398112] CR2: 0000000000001288 CR3: 000000007ee8e002 CR4: 00000000000606e0
[   11.399693] Call Trace:
[   11.400425]  ? vsnprintf+0xf2/0x4b0
[   11.401335]  ? up+0x12/0x60
[   11.402116]  ? _cond_resched+0x19/0x30
[   11.403069]  ? skb_get_poff+0x4b/0xa0
[   11.404010]  ? __kmalloc_reserve+0x2e/0x80
[   11.405145]  skb_get_poff+0x4b/0xa0
[   11.406050]  bpf_skb_get_pay_offset+0xa/0x10
[   11.407117]  ? test_bpf_init+0x496/0x7d2 [test_bpf]
[   11.408386]  ? shmem_getpage_gfp+0x8d6/0xca0
[   11.409425]  ? test_bpf_init+0x7d2/0x7d2 [test_bpf]
[   11.410693]  ? test_bpf_init+0x7d2/0x7d2 [test_bpf]
[   11.411968]  ? do_one_initcall+0x46/0x1e4
[   11.412974]  ? _cond_resched+0x19/0x30
[   11.413931]  ? kmem_cache_alloc_trace+0x3e/0x1e0
[   11.415043]  ? do_init_module+0x5b/0x200
[   11.416029]  ? load_module+0x183c/0x1ce0
[   11.417014]  ? ima_post_read_file+0xe2/0x120
[   11.418061]  ? __do_sys_finit_module+0xe9/0x110
[   11.419160]  ? __do_sys_finit_module+0xe9/0x110
[   11.420266]  ? do_syscall_64+0x5b/0x180
[   11.421241]  ? entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   11.422471] Modules linked in: test_bpf(+) sr_mod cdrom sg ata_generic pata_acpi sb_edac crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc ppdev aesni_intel crypto_simd cryptd glue_helper ata_piix serio_raw snd_pcm snd_timer snd soundcore pcspkr libata parport_pc i2c_piix4 floppy parport ip_tables
[   11.428351] CR2: 0000000000001288
[   11.429237] ---[ end trace dcd739f33f17d026 ]---


To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email



Thanks,
Rong Chen

View attachment "config-4.19.0-rc2-00341-gd58e468" of type "text/plain" (167715 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ