lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20180806005030.GA18936@shao2-debian>
Date:   Mon, 6 Aug 2018 08:50:30 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Alexei Starovoitov <ast@...nel.org>
Cc:     linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
        LKP <lkp@...org>
Subject: [LKP] d2ba09c17a [ 8.644676] BUG: unable to handle kernel paging
 request at cd8dcf6c

Greetings,

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

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

commit d2ba09c17a0647f899d6c20a11bab9e6d3382f07
Author:     Alexei Starovoitov <ast@...nel.org>
AuthorDate: Mon May 21 19:22:30 2018 -0700
Commit:     David S. Miller <davem@...emloft.net>
CommitDate: Wed May 23 13:23:40 2018 -0400

    net: add skeleton of bpfilter kernel module
    
    bpfilter.ko consists of bpfilter_kern.c (normal kernel module code)
    and user mode helper code that is embedded into bpfilter.ko
    
    The steps to build bpfilter.ko are the following:
    - main.c is compiled by HOSTCC into the bpfilter_umh elf executable file
    - with quite a bit of objcopy and Makefile magic the bpfilter_umh elf file
      is converted into bpfilter_umh.o object file
      with _binary_net_bpfilter_bpfilter_umh_start and _end symbols
      Example:
      $ nm ./bld_x64/net/bpfilter/bpfilter_umh.o
      0000000000004cf8 T _binary_net_bpfilter_bpfilter_umh_end
      0000000000004cf8 A _binary_net_bpfilter_bpfilter_umh_size
      0000000000000000 T _binary_net_bpfilter_bpfilter_umh_start
    - bpfilter_umh.o and bpfilter_kern.o are linked together into bpfilter.ko
    
    bpfilter_kern.c is a normal kernel module code that calls
    the fork_usermode_blob() helper to execute part of its own data
    as a user mode process.
    
    Notice that _binary_net_bpfilter_bpfilter_umh_start - end
    is placed into .init.rodata section, so it's freed as soon as __init
    function of bpfilter.ko is finished.
    As part of __init the bpfilter.ko does first request/reply action
    via two unix pipe provided by fork_usermode_blob() helper to
    make sure that umh is healthy. If not it will kill it via pid.
    
    Later bpfilter_process_sockopt() will be called from bpfilter hooks
    in get/setsockopt() to pass iptable commands into umh via bpfilter.ko
    
    If admin does 'rmmod bpfilter' the __exit code bpfilter.ko will
    kill umh as well.
    
    Signed-off-by: Alexei Starovoitov <ast@...nel.org>
    Signed-off-by: David S. Miller <davem@...emloft.net>

449325b52b  umh: introduce fork_usermode_blob() helper
d2ba09c17a  net: add skeleton of bpfilter kernel module
0b5b1f9a78  Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
116b181bb6  Add linux-next specific files for 20180803
+------------------------------------------+------------+------------+------------+---------------+
|                                          | 449325b52b | d2ba09c17a | 0b5b1f9a78 | next-20180803 |
+------------------------------------------+------------+------------+------------+---------------+
| boot_successes                           | 265        | 69         | 77         | 10            |
| boot_failures                            | 59         | 38         | 28         | 19            |
| BUG:workqueue_lockup-pool                | 56         | 20         | 24         |               |
| invoked_oom-killer:gfp_mask=0x           | 2          | 2          | 1          |               |
| Mem-Info                                 | 3          | 4          | 2          |               |
| EIP:__put_user_4                         | 1          |            |            |               |
| BUG:unable_to_handle_kernel              | 0          | 14         | 2          | 19            |
| Oops:#[##]                               | 0          | 14         | 2          | 19            |
| EIP:fput                                 | 0          | 14         | 2          | 19            |
| Kernel_panic-not_syncing:Fatal_exception | 0          | 14         | 2          | 19            |
| EIP:iov_iter_fault_in_readable           | 0          | 1          |            |               |
| Out_of_memory:Kill_process               | 0          | 0          | 1          |               |
+------------------------------------------+------------+------------+------------+---------------+

[    8.622364] NET: Registered protocol family 10
[    8.624402] Segment Routing with IPv6
[    8.625167] mip6: Mobile IPv6
[    8.641639] kworker/u2:2 (99) used greatest stack depth: 7120 bytes left
[    8.642851] kworker/u2:2 (98) used greatest stack depth: 7092 bytes left
[    8.644676] BUG: unable to handle kernel paging request at cd8dcf6c
[    8.645008] *pde = 0f7d5067 *pte = 0d8dc060 
[    8.645008] Oops: 0002 [#1] DEBUG_PAGEALLOC
[    8.645008] Modules linked in:
[    8.645008] CPU: 0 PID: 1 Comm: swapper Tainted: G                T 4.17.0-rc6-01470-gd2ba09c #1
[    8.645008] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    8.645008] EIP: fput+0x0/0x90
[    8.645008] EFLAGS: 00210246 CPU: 0
[    8.645008] EAX: cd8dcec0 EBX: cd8dcec0 ECX: 00000001 EDX: 00000000
[    8.645008] ESI: 000c5e20 EDI: fffffff8 EBP: cf079f2c ESP: cf079f0c
[    8.645008]  DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[    8.645008] CR0: 80050033 CR2: cd8dcf6c CR3: 020d1000 CR4: 001406d0
[    8.645008] Call Trace:
[    8.645008]  ? fork_usermode_blob+0x6a/0xb0
[    8.645008]  ? ipv6_exthdrs_offload_init+0x42/0x42
[    8.645008]  load_umh+0x1d/0x5f
[    8.645008]  do_one_initcall+0x40/0x17e
[    8.645008]  ? do_early_param+0x73/0x73
[    8.645008]  kernel_init_freeable+0xdd/0x15c
[    8.645008]  ? rest_init+0xd0/0xd0
[    8.645008]  kernel_init+0x8/0xe0
[    8.645008]  ret_from_fork+0x2e/0x38
[    8.645008] Code: f5 c1 89 da e8 12 db fe ff 5b 5d c3 8d b4 26 00 00 00 00 e8 e3 de f0 ff a1 20 80 f5 c1 89 da e8 f7 da fe ff 5b 5d c3 8d 74 26 00 <ff> 88 ac 00 00 00 74 08 c3 8d b4 26 00 00 00 00 55 8b 15 1c b6 
[    8.645008] EIP: fput+0x0/0x90 SS:ESP: 0068:cf079f0c
[    8.645008] CR2: 00000000cd8dcf6c
[    8.645008] ---[ end trace 5661140b357de987 ]---
[    8.645008] Kernel panic - not syncing: Fatal exception

                                                          # HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start acb1872577b346bd15ab3a3f8dff780d6cca4b70 v4.17 --
git bisect  bad 9d2e34897d8dfe8b85603ee0a5d4f0481e991824  # 16:15  B      1     4    1   1  Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
git bisect  bad 5e4e290d3751607726a62f0b49e11261a0a9345e  # 16:44  B      0     2   17   0  ARM: disable KCOV for trusted foundations code
git bisect  bad a8a4021b776b4475e8a4657185a718cdfc07b88c  # 17:05  B      0     3   18   0  Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good ec064d3c6b40697fd72f4b1eeabbf293b7947a04  # 17:24  G    121     0   56  56  Merge tag 'driver-core-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
git bisect  bad 3a979e8c07e3ee9933016368db0a55943b00a089  # 17:46  B      0     2   17   0  Merge tag 'mailbox-v4.18' of git://git.linaro.org/landing-teams/working/fujitsu/integration
git bisect good 10b1eb7d8ce5635a7deb273f8291d8a0a7681de1  # 18:14  G    118     0   53  55  Merge branch 'next-general' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
git bisect  bad 70f2ae1f002b0ed4b4382210df8e4b6e54079012  # 18:29  B      0     2   17   0  Merge tag 'ovl-fixes-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs
git bisect good 5eb6eed7e0fe880dc8de8da203cc888716bbf196  # 18:56  G    118     0   43  43  Merge tag 'trace-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
git bisect  bad 1c8c5a9d38f607c0b6fd12c91cbe1a4418762a21  # 19:16  B      0     2   18   0  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
git bisect good 285767604576148fc1be7fcd112e4a90eb0d6ad2  # 19:36  G    120     0   62  62  Merge tag 'overflow-v4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
git bisect good 10f678683e4026e43524b0492068a371d00fdeed  # 19:57  G    117     0   50  50  Merge branch 'xdp_xmit-bulking'
git bisect  bad a45675796a0763f5e0ffb75496c3865e961560d3  # 20:06  B      0     1   16   0  8139too: Remove unnecessary netif_napi_del()
git bisect good ec932fbda7ba6ac10dba59fd20c736be9a6976e4  # 20:30  G    121     0   47  47  mlxsw: use devlink helper to generate physical port name
git bisect  bad 5a867abdf6db501af37004c331a7dbe81d4fe0b2  # 20:46  B     28     3   10  10  Merge branch 'qca8k-QCA8334-switch-support'
git bisect good 9b10df596bd4d38f2a58cf87e0780510acc53d8d  # 21:01  G    117     0   41  41  i40e: use WARN_ONCE to replace the commented BUG_ON size check
git bisect  bad a0d163f4327febeae2c98c4b1aaff3552e5b1667  # 21:18  B      1     1    0   0  nfp: add shared buffer configuration
git bisect good 9c803cfd5fe211cb7d3a7157b489209f8cc527a2  # 21:45  G    117     0   36  36  Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue
git bisect good 8673daf4f55bf3b918dec78aee2132d191225106  # 22:10  G    123     0   40  40  qedf: Add get_generic_tlv_data handler.
git bisect good 449325b52b7a6208f65ed67d3484fd7b7184477b  # 22:30  G    117     0   34  34  umh: introduce fork_usermode_blob() helper
git bisect  bad e95a5f548945c1c212b92e3b88cfb571a7bb95ca  # 22:40  B      5     2    1   1  Merge branch 'bpfilter'
git bisect  bad d2ba09c17a0647f899d6c20a11bab9e6d3382f07  # 22:51  B      5     5    2   2  net: add skeleton of bpfilter kernel module
# first bad commit: [d2ba09c17a0647f899d6c20a11bab9e6d3382f07] net: add skeleton of bpfilter kernel module
git bisect good 449325b52b7a6208f65ed67d3484fd7b7184477b  # 23:06  G    354     0   92 128  umh: introduce fork_usermode_blob() helper
# extra tests with debug options
git bisect  bad d2ba09c17a0647f899d6c20a11bab9e6d3382f07  # 23:17  B      2     6    2   2  net: add skeleton of bpfilter kernel module
# extra tests on HEAD of linux-devel/devel-hourly-2018080409
git bisect  bad 03bcc90a4082341dae8a4a540af17a0d79cf07af  # 23:17  B     16     4    0  31  0day head guard for 'devel-hourly-2018080409'
# extra tests on tree/branch linus/master
git bisect  bad 0b5b1f9a78b5e1bb3c3972fcd27dc013367550f8  # 23:34  B      1     1    1   1  Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
# extra tests on tree/branch linux-next/master
git bisect  bad 116b181bb646afedd770985de20a68721bdb2648  # 23:45  B      0     2   17   0  Add linux-next specific files for 20180803

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

Download attachment "dmesg-yocto-ivb41-105:20180804225411:i386-randconfig-sb0-08041433:4.17.0-rc6-01470-gd2ba09c:1.gz" of type "application/gzip" (11659 bytes)

Download attachment "dmesg-yocto-ivb41-100:20180804225827:i386-randconfig-sb0-08041433:4.17.0-rc6-01469-g449325b:1.gz" of type "application/gzip" (16188 bytes)

View attachment "reproduce-yocto-ivb41-105:20180804225411:i386-randconfig-sb0-08041433:4.17.0-rc6-01470-gd2ba09c:1" of type "text/plain" (920 bytes)

View attachment "config-4.17.0-rc6-01470-gd2ba09c" of type "text/plain" (113751 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ