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  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]
Date:   Thu, 16 May 2019 15:14:05 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Theodore Ts'o <tytso@....edu>
Cc:     linux-kernel@...r.kernel.org, LKP <lkp@...org>
Subject: eb9d1bf079 [   88.881528] EIP: _random_read

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 eb9d1bf079bb438d1a066d72337092935fc770f6
Author:     Theodore Ts'o <tytso@....edu>
AuthorDate: Wed Feb 20 16:06:38 2019 -0500
Commit:     Theodore Ts'o <tytso@....edu>
CommitDate: Wed Apr 17 10:30:21 2019 -0400

    random: only read from /dev/random after its pool has received 128 bits
    
    Immediately after boot, we allow reads from /dev/random before its
    entropy pool has been fully initialized.  Fix this so that we don't
    allow this until the blocking pool has received 128 bits.
    
    We do this by repurposing the initialized flag in the entropy pool
    struct, and use the initialized flag in the blocking pool to indicate
    whether it is safe to pull from the blocking pool.
    
    To do this, we needed to rework when we decide to push entropy from the
    input pool to the blocking pool, since the initialized flag for the
    input pool was used for this purpose.  To simplify things, we no
    longer use the initialized flag for that purpose, nor do we use the
    entropy_total field any more.
    
    Signed-off-by: Theodore Ts'o <tytso@....edu>

764ed189c8  drivers/char/random.c: make primary_crng static
eb9d1bf079  random: only read from /dev/random after its pool has received 128 bits
814137768b  Add gitignore file for samples/vfs/ generated files
+---------------------------------------------------------+------------+------------+------------+
|                                                         | 764ed189c8 | eb9d1bf079 | 814137768b |
+---------------------------------------------------------+------------+------------+------------+
| boot_successes                                          | 3035       | 2712       | 2036       |
| boot_failures                                           | 915        | 887        | 656        |
| BUG:kernel_hang_in_boot-around-mounting-root_stage      | 818        | 720        | 457        |
| BUG:kernel_timeout_in_boot-around-mounting-root_stage   | 55         | 51         | 63         |
| BUG:soft_lockup-CPU##stuck_for#s                        | 26         | 23         | 24         |
| EIP:separate_adjacent_colors                            | 14         | 15         | 5          |
| Kernel_panic-not_syncing:softlockup:hung_tasks          | 25         | 101        | 119        |
| EIP:rb_next                                             | 7          | 3          | 5          |
| EIP:igt_color                                           | 1          |            |            |
| EIP:rb_prev                                             | 2          | 3          | 2          |
| Mem-Info                                                | 17         | 15         | 15         |
| EIP:drm_mm_insert_node_in_range                         | 2          | 1          | 4          |
| invoked_oom-killer:gfp_mask=0x                          | 1          |            |            |
| Out_of_memory_and_no_killable_processes                 | 1          |            |            |
| Kernel_panic-not_syncing:System_is_deadlocked_on_memory | 1          |            |            |
| EIP:__slab_alloc                                        | 0          | 1          |            |
| EIP:debug_lockdep_rcu_enabled                           | 0          | 8          | 16         |
| EIP:lock_is_held_type                                   | 0          | 41         | 63         |
| EIP:_random_read                                        | 0          | 14         | 12         |
| EIP:___might_sleep                                      | 0          | 11         | 7          |
| EIP:xfer_secondary_pool                                 | 0          | 1          |            |
| EIP:rcu_read_lock_sched_held                            | 0          | 3          | 3          |
| BUG:kernel_reboot-without-warning_in_test_stage         | 0          | 0          | 2          |
| EIP:__might_sleep                                       | 0          | 0          | 2          |
+---------------------------------------------------------+------------+------------+------------+

If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp@...el.com>

01 00 00 00 60 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
01 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ff ef ff ff 00 00 00 00 00 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00 47 31 f7 0f 00 00 00 00 1b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0a 00 00 00 00 00 00 00 ac 88 ea 0d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
02 00 00 00 70 00 00 00 37 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 33 c5 01 00 00 00 00 00 00 00 20 00 00 00 00 00 ff ff 00 00 07 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 ff ff 00 00 
00 00 00 00 00 00 00 00 00 00 
[   88.862983] irq event stamp: 294320
[   88.864335] hardirqs last  enabled at (294319): [<c2801237>] trace_hardirqs_on_thunk+0xc/0x10
[   88.867241] hardirqs last disabled at (294320): [<c2801247>] trace_hardirqs_off_thunk+0xc/0x10
[   88.870159] softirqs last  enabled at (290628): [<c2f59cc7>] __do_softirq+0x287/0x2b5
[   88.872933] softirqs last disabled at (290617): [<c2813e32>] do_softirq_own_stack+0x1c/0x22
[   88.875826] CPU: 0 PID: 904 Comm: trinity-c0 Not tainted 5.1.0-rc5-00004-geb9d1bf #196
[   88.878665] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[   88.881528] EIP: _random_read+0xa7/0x31f
[   88.882986] Code: 75 e9 ff 0d 4c 32 30 c3 ff 05 4c 32 30 c3 a1 dc 8c 51 c3 e8 99 30 c2 ff 85 c0 74 2d 80 3d 01 30 51 c3 00 75 24 e8 94 3e c2 ff <85> c0 75 1b b9 7c b8 1c c3 ba 05 01 00 00 b8 90 6c 24 c3 c6 05 01
[   88.888325] EAX: 00000001 EBX: 00000000 ECX: 00000000 EDX: dc525140
[   88.890136] ESI: ffc02100 EDI: c2c591aa EBP: dc365f68 ESP: dc365f1c
[   88.892016] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068 EFLAGS: 00000202
[   88.893927] CR0: 80050033 CR2: 08c99024 CR3: 1c355000 CR4: 003406d0
[   88.895775] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[   88.897651] DR6: fffe0ff0 DR7: 00000400
[   88.899080] Call Trace:
[   88.900279]  ? __wake_up_locked_key+0x17/0x17
[   88.901827]  sys_getrandom+0x35/0x70
[   88.903244]  ? lockdep_hardirqs_on+0x148/0x163
[   88.904810]  do_int80_syscall_32+0x4f/0x116
[   88.906344]  entry_INT80_32+0xe1/0xe1
[   88.907738] EIP: 0x809af42
[   88.908995] Code: 89 c8 c3 90 8d 74 26 00 85 c0 c7 01 01 00 00 00 75 d8 a1 ec bd a7 08 eb d1 66 90 66 90 66 90 66 90 66 90 66 90 66 90 90 cd 80 <c3> 8d b6 00 00 00 00 8d bc 27 00 00 00 00 8b 10 a3 14 be a7 08 85
[   88.914344] EAX: ffffffda EBX: b6f59000 ECX: 001d2000 EDX: 00000002
[   88.916234] ESI: 484b29b7 EDI: ffffff5c EBP: 00200000 ESP: bf88ed58
[   88.918112] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b EFLAGS: 00000292
[   88.920091] Kernel panic - not syncing: softlockup: hung tasks
[   88.921900] CPU: 0 PID: 904 Comm: trinity-c0 Tainted: G             L    5.1.0-rc5-00004-geb9d1bf #196
[   88.925004] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[   88.927916] Call Trace:
[   88.929120]  <IRQ>
[   88.930261]  dump_stack+0x16/0x18
[   88.931622]  panic+0x9f/0x20e
[   88.932931]  watchdog_timer_fn+0x1db/0x200
[   88.934461]  __hrtimer_run_queues+0x1a0/0x297
[   88.936198]  ? __touch_watchdog+0x15/0x15
[   88.937690]  hrtimer_run_queues+0xd1/0xe6
[   88.939177]  run_local_timers+0x8/0x2e
[   88.940582]  update_process_times+0x1b/0x43
[   88.942084]  tick_nohz_handler+0xb2/0xfe
[   88.943558]  timer_interrupt+0xd/0x14
[   88.944965]  __handle_irq_event_percpu+0x9f/0x1ad
[   88.946577]  ? trace_hardirqs_off+0xa3/0xa9
[   88.948079]  handle_irq_event_percpu+0x17/0x3d
[   88.949584]  handle_irq_event+0x29/0x42
[   88.951018]  ? irq_set_chip_and_handler_name+0x24/0x24
[   88.952706]  handle_level_irq+0x82/0xae
[   88.954156]  handle_irq+0x73/0x95
[   88.955492]  </IRQ>
[   88.956648]  do_IRQ+0x36/0x92
[   88.957913]  ? sys_getrandom+0x35/0x70
[   88.959343]  common_interrupt+0xeb/0xf0
[   88.960769] EIP: _random_read+0xa7/0x31f
[   88.962202] Code: 75 e9 ff 0d 4c 32 30 c3 ff 05 4c 32 30 c3 a1 dc 8c 51 c3 e8 99 30 c2 ff 85 c0 74 2d 80 3d 01 30 51 c3 00 75 24 e8 94 3e c2 ff <85> c0 75 1b b9 7c b8 1c c3 ba 05 01 00 00 b8 90 6c 24 c3 c6 05 01
[   88.967549] EAX: 00000001 EBX: 00000000 ECX: 00000000 EDX: dc525140
[   88.969410] ESI: ffc02100 EDI: c2c591aa EBP: dc365f68 ESP: dc365f1c
[   88.971305] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068 EFLAGS: 00000202
[   88.973236]  ? sys_getrandom+0x35/0x70
[   88.974648]  ? autoconfig_16550a+0x241/0x4bd
[   88.976201]  ? __wake_up_locked_key+0x17/0x17
[   88.977724]  sys_getrandom+0x35/0x70
[   88.979094]  ? lockdep_hardirqs_on+0x148/0x163
[   88.980534]  do_int80_syscall_32+0x4f/0x116
[   88.981918]  entry_INT80_32+0xe1/0xe1
[   88.983196] EIP: 0x809af42
[   88.984358] Code: 89 c8 c3 90 8d 74 26 00 85 c0 c7 01 01 00 00 00 75 d8 a1 ec bd a7 08 eb d1 66 90 66 90 66 90 66 90 66 90 66 90 66 90 90 cd 80 <c3> 8d b6 00 00 00 00 8d bc 27 00 00 00 00 8b 10 a3 14 be a7 08 85
[   88.989303] EAX: ffffffda EBX: b6f59000 ECX: 001d2000 EDX: 00000002
[   88.990988] ESI: 484b29b7 EDI: ffffff5c EBP: 00200000 ESP: bf88ed58
[   88.992737] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b EFLAGS: 00000292
[   88.994519] Kernel Offset: 0x1800000 from 0xc1000000 (relocation range: 0xc0000000-0xe07dffff)


                                                          # HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 724086ae5682c612e822727bae3efe01ae13cc41 e93c9c99a629c61837d5a7fc2120cd2b6c70dbdd --
git bisect  bad 87b53080376c675a80ea63b58b9f22670dbb970d  # 01:07  B    200     3    0  88  Merge 'drm-drm-misc/drm-misc-next-fixes' into devel-hourly-2019051401
git bisect  bad 35d593de37a3dc1bb758fa091b5f318cb9fb22e3  # 01:07  B    178     5    0 131  Merge 'jpirko-mlxsw/shalomt_ptp' into devel-hourly-2019051401
git bisect  bad a9fe71b64b806000437b97ead2b436cd194e7449  # 01:07  B    195     5    0 234  Merge 'linux-review/Dan-Carpenter/drm-i915-gvt-Fix-an-error-code-in-ppgtt_populate_spt_by_guest_entry/20190514-001803' into devel-hourly-2019051401
git bisect good 9381a094625c169860695287c827468a18031b43  # 01:38  G    903     0  206 306  Merge 'ljones-mfd/ib-mfd-pinctrl-5.2-2' into devel-hourly-2019051401
git bisect  bad 947a45eff9cae803662bb9e7126e94689ff742eb  # 01:38  B    169     4    0 268  Merge 'block/io_uring-next' into devel-hourly-2019051401
git bisect  bad 80f232121b69cc69a31ccb2b38c1665d770b0710  # 01:39  B    167     5    0 293  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
git bisect good e0dccbdf5ac7ccb9da5612100dedba302f3ebcfe  # 02:08  G    903     0  174 255  Merge tag 'staging-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
git bisect good 5f0d736e7f7db586141f974821b6ca6c1d906d5b  # 02:42  G    900     0  176 247  Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
git bisect good 5abe37954e9a315c35c9490f78d55f307c3c636b  # 03:17  G    901     0  190 313  Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4
git bisect good 6ffe0acc935f344eb0b35da07c034d5122222e77  # 03:50  G    901     0  195 299  Merge tag 'wireless-drivers-next-for-davem-2019-05-03' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next
git bisect good 54516da1ea859dd4f56ebba2e483d2df9d7c8a32  # 04:18  G    905     0  166 255  Merge branch 'r8169-replace-some-magic-with-more-speaking-functions'
git bisect good 23bfaa594002f4bba085e0a1ae3c9847b988d816  # 04:54  G    904     0  196 297  net: phy: improve pause mode reporting in phy_print_status
git bisect  bad 82efe439599439a5e1e225ce5740e6cfb777a7dd  # 04:54  B    167     7    0 136  Merge tag 'devicetree-for-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
git bisect good 6f7dc9a37f2b325fc870d1e1ada6169185f8852c  # 05:27  G    906     0  199 299  of: irq: Remove WARN_ON() for kzalloc() failure
git bisect good a9fbcd6728837268784439ad0b02ede2c024c516  # 05:40  G    900     0   50 353  Merge tag 'fscrypt_for_linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscrypt
git bisect  bad d55535232c3dbde9a523a9d10d68670f5fe5dec3  # 05:44  B    223     1    8 145  random: move rand_initialize() earlier
git bisect good 3bd0b5bf7dc3ea02070fcbcd682ecf628269e8ef  # 07:13  G    910     0  311 726  drivers/char/random.c: remove unused stuct poolinfo::poolbits
git bisect  bad eb9d1bf079bb438d1a066d72337092935fc770f6  # 07:35  B     14     1    5   5  random: only read from /dev/random after its pool has received 128 bits
git bisect good 764ed189c82090c1d85f0e30636156736d8f09a8  # 08:59  G    902     0  276 630  drivers/char/random.c: make primary_crng static
# first bad commit: [eb9d1bf079bb438d1a066d72337092935fc770f6] random: only read from /dev/random after its pool has received 128 bits
git bisect good 764ed189c82090c1d85f0e30636156736d8f09a8  # 09:17  G   1001     0   85 754  drivers/char/random.c: make primary_crng static
# extra tests with debug options
git bisect  bad eb9d1bf079bb438d1a066d72337092935fc770f6  # 09:33  B      1     1    0   0  random: only read from /dev/random after its pool has received 128 bits
# extra tests on HEAD of linux-devel/devel-hourly-2019051401
git bisect  bad 724086ae5682c612e822727bae3efe01ae13cc41  # 09:33  B     77     2    0  35  0day head guard for 'devel-hourly-2019051401'
# extra tests on tree/branch linus/master
git bisect  bad 814137768b5a9504f758aa760e7b1ac355539783  # 11:55  B    115     1   43 345  Add gitignore file for samples/vfs/ generated files
# extra tests with first bad commit reverted
git bisect good 63fc3aff16bb767e89202696f7be3f56252fc091  # 18:34  G    901     0  233 586  Revert "random: only read from /dev/random after its pool has received 128 bits"
# extra tests on tree/branch linux-next/master

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

Download attachment "dmesg-yocto-vm-yocto-122:20190515074044:i386-randconfig-n0-201919:5.1.0-rc5-00004-geb9d1bf:196.gz" of type "application/gzip" (16426 bytes)

Download attachment "dmesg-openwrt-vm-openwrt-201:20190515081710:i386-randconfig-n0-201919:5.1.0-rc5-00003-g764ed18:202.gz" of type "application/gzip" (9744 bytes)

View attachment "reproduce-yocto-vm-yocto-122:20190515074044:i386-randconfig-n0-201919:5.1.0-rc5-00004-geb9d1bf:196" of type "text/plain" (908 bytes)

View attachment "config-5.1.0-rc5-00004-geb9d1bf" of type "text/plain" (121394 bytes)

Powered by blists - more mailing lists