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]
Date:   Sun, 09 Oct 2016 11:18:49 +0800
From:   kernel test robot <fengguang.wu@...el.com>
To:     Rob Herring <robh@...nel.org>
Cc:     LKP <lkp@...org>, linux-kernel@...r.kernel.org,
        "Greg Kroah-Hartman" <gregkh@...uxfoundation.org>,
        wfg@...ux.intel.com
Subject: [driver core] bea5b158ff:  BUG: unable to handle kernel NULL
 pointer dereference at 00000008

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 bea5b158ff0da9c7246ff391f754f5f38e34577a
Author:     Rob Herring <robh@...nel.org>
AuthorDate: Thu Aug 11 10:20:58 2016 -0500
Commit:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>
CommitDate: Wed Aug 31 15:13:55 2016 +0200

    driver core: add test of driver remove calls during probe
    
    In recent discussions on ksummit-discuss[1], it was suggested to do a
    sequence of probe, remove, probe for testing driver remove paths. This
    adds a kconfig option for said test.
    
    [1] https://lists.linuxfoundation.org/pipermail/ksummit-discuss/2016-August/003459.html
    
    Suggested-by: Arnd Bergmann <arnd@...db.de>
    Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
    Signed-off-by: Rob Herring <robh@...nel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>

+----------------------------------------------+------------+------------+------------+
|                                              | cebf8fd169 | bea5b158ff | 22341813e4 |
+----------------------------------------------+------------+------------+------------+
| boot_successes                               | 66         | 2          | 0          |
| boot_failures                                | 0          | 25         | 13         |
| calltrace:init                               | 0          | 25         | 13         |
| Oops                                         | 0          | 25         | 13         |
| EIP_is_at_cmos_alarm_irq_enable              | 0          | 10         |            |
| calltrace:rtc_timer_do_work                  | 0          | 10         |            |
| Kernel_panic-not_syncing:Fatal_exception     | 0          | 25         | 13         |
| BUG:unable_to_handle_kernel                  | 0          | 24         | 13         |
| EIP_is_at_kobject_get                        | 0          | 14         | 10         |
| WARNING:at_lib/kobject.c:#kobject_get        | 0          | 1          | 3          |
| WARNING:at_include/linux/kref.h:#kobject_get | 0          | 1          | 3          |
| EIP_is_at_kernfs_link_sibling                | 0          | 1          |            |
| EIP_is_at_rb_next                            | 0          | 0          | 3          |
| calltrace:SyS_getdents64                     | 0          | 0          | 3          |
+----------------------------------------------+------------+------------+------------+

[   13.513705] hub 1-0:1.0: 1 port detected
[   13.516309] kobject (8f92f8b4): tried to init an initialized object, something is seriously wrong.
[   13.518358] CPU: 0 PID: 1 Comm: swapper Not tainted 4.8.0-rc4-00003-gbea5b15 #1
[   13.520014] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   13.522207]  8f92f8b4 8f92f8b4 80031d20 88bb56c9 80031d3c 88bb7dd3 898316d4 8f92f8b4
[   13.524132]  8f92f868 899b8c6c 8f92f8ac 80031d4c 88d83cce 8f92f868 8f92f8ac 80031d58
[   13.526087]  88d844bb 8f92f868 80031d84 88ef3c1d 00000000 89863eac 00000000 8004f760
[   13.527980] Call Trace:
[   13.528540]  [<88bb56c9>] dump_stack+0x16/0x1d
[   13.529544]  [<88bb7dd3>] kobject_init+0x73/0x80
[   13.530602]  [<88d83cce>] device_initialize+0x1e/0xe0
[   13.531889]  [<88d844bb>] device_register+0xb/0x20
[   13.532997]  [<88ef3c1d>] usb_add_gadget_udc_release+0x8d/0x270
[   13.534333]  [<88ef3e9a>] usb_add_gadget_udc+0xa/0x10
[   13.535465]  [<88ef775e>] dummy_udc_probe+0x14e/0x1a0
[   13.536623]  [<88d89781>] platform_drv_probe+0x31/0x90
[   13.537830]  [<88d875aa>] ? driver_sysfs_add+0x6a/0x90
[   13.539014]  [<88d87e3a>] driver_probe_device+0x12a/0x490
[   13.540228]  [<88cbc39b>] ? acpi_driver_match_device+0x36/0x50
[   13.541658]  [<88d88307>] __device_attach_driver+0x77/0x110
[   13.542946]  [<8949712d>] ? klist_next+0x6d/0x10c
[   13.544053]  [<88d88290>] ? __driver_attach+0xf0/0xf0
[   13.545180]  [<88d864f7>] bus_for_each_drv+0x47/0x80
[   13.549626]  [<88d87b85>] __device_attach+0xb5/0x130
[   13.550493]  [<88d88290>] ? __driver_attach+0xf0/0xf0
[   13.551517]  [<88d883cd>] device_initial_probe+0xd/0x10
[   13.552485]  [<88d86787>] bus_probe_device+0x77/0x80
[   13.553298]  [<88d8417e>] device_add+0x34e/0x5a0
[   13.554025]  [<88bc4840>] ? kvasprintf_const+0x40/0x90
[   13.554860]  [<88bb7d1b>] ? kobject_set_name_vargs+0x6b/0x90
[   13.555770]  [<88d89e6c>] platform_device_add+0xfc/0x280
[   13.556640]  [<89ad0b84>] init+0x20b/0x2ec
[   13.557317]  [<89ad0979>] ? usb_udc_init+0x3f/0x3f
[   13.558154]  [<89a96c1d>] do_one_initcall+0x7c/0xfb
[   13.558947]  [<89a96d5e>] ? kernel_init_freeable+0xc2/0x15e
[   13.559851]  [<89a96d81>] kernel_init_freeable+0xe5/0x15e
[   13.560726]  [<894974fb>] kernel_init+0xb/0x100
[   13.561705]  [<888c727c>] ? schedule_tail+0xc/0x50
[   13.562786]  [<894a1942>] ret_from_kernel_thread+0xe/0x24
[   13.563993]  [<894974f0>] ? rest_init+0x110/0x110
[   13.566155] usbip_core: USB/IP Core v1.0.0
[   13.567699] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12

git bisect start 22341813e4f22b37a3ce407d38b9bbee2a7078e0 c8d2bc9bc39ebea8437fd974fdbc21847bb897a3 --
git bisect  bad 89f4c4d289e073a2546bc95a7ad6e12fa4061932  # 07:43      0-     13  Merge 'pci/pci/host-artpec' into devel-spot-201610090650
git bisect  bad d37cb675bdd683df0f66aee97bfec998bc53c697  # 07:53      0-     21  Merge 'linux-review/Scott-Branden/pwm-add-depends-COMPILE_TEST-and-default-y-for-brcm-iproc-pwm/20161009-045725' into devel-spot-201610090650
git bisect  bad 8c74fa8cc9ccae63e976236fad42538032b39045  # 08:02      0-      6  Merge 'linux-review/Spencer-E-Olson/staging-comedi-porting-NI_GPCT-constants-from-comedi-org-module/20161009-055916' into devel-spot-201610090650
git bisect good 84e69c27b991cbfff02299c3b54035379e3abb2b  # 08:15     20+      0  0day base guard for 'devel-spot-201610090650'
git bisect  bad 5691f0e9a3e7855832d5fd094801bf600347c2d0  # 08:28      0-      3  Merge tag 'sound-4.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
git bisect  bad 3ddf40e8c31964b744ff10abb48c8e36a83ec6e7  # 08:41      1-     10  mm: filemap: fix mapping->nrpages double accounting in fuse
git bisect  bad 9929780e86854833e649b39b290b5fe921eb1701  # 08:48      0-     11  Merge tag 'driver-core-4.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
git bisect good 12b7bcb43e6ea834ab2f5dc52d971e379a0ca109  # 08:59     22+      0  Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 5e1b834b27fb2c27cde33a0752425f11d10c0b2d  # 09:10     23+      0  Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 1892fc2ee4c08d7ac17adb93f1341d9c3d7bdaf6  # 09:21     23+      0  mei: stop the stall timer worker if not needed
git bisect good 999dcbe2414e15e19cdc1f91497d01f262c6e1cf  # 09:30     23+      0  Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good dd6d7c6f3dc136c1bec6def840f7fa53f84d1fe6  # 09:38     23+      0  mips/octeon/smp: Convert to hotplug state machine
git bisect  bad a1a9e5d29854f69a881b4c1e6ac2d6b54f49dfc6  # 09:42      0-      7  debugfs: propagate release() call result
git bisect  bad 59fffa34069d80662b41438b11130771b4e2a897  # 09:50      0-      9  cpu: clean up register_cpu func
git bisect  bad 85714108e673cdebf1b96abfd50fb02a29e37577  # 09:59      0-     10  drivers: base: dma-mapping: page align the size when unmap_kernel_range
git bisect good cebf8fd16900fdfd58c0028617944f808f97fe50  # 10:10     23+      0  driver core: fix race between creating/querying glue dir and its cleanup
git bisect  bad c90aab9c96c2a7f7bf3f7a54167dc5c0ba2b178c  # 10:22      0-      4  platform driver: fix use-after-free in platform_device_del()
git bisect  bad bea5b158ff0da9c7246ff391f754f5f38e34577a  # 10:35      0-     12  driver core: add test of driver remove calls during probe
# first bad commit: [bea5b158ff0da9c7246ff391f754f5f38e34577a] driver core: add test of driver remove calls during probe
git bisect good cebf8fd16900fdfd58c0028617944f808f97fe50  # 10:38     66+      0  driver core: fix race between creating/querying glue dir and its cleanup
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect  bad bea5b158ff0da9c7246ff391f754f5f38e34577a  # 10:45      0-      8  driver core: add test of driver remove calls during probe
# extra tests on HEAD of linux-devel/devel-spot-201610090650
git bisect  bad 22341813e4f22b37a3ce407d38b9bbee2a7078e0  # 10:45      0-     13  0day head guard for 'devel-spot-201610090650'
# extra tests on tree/branch linus/master
git bisect  bad b66484cd74706fa8681d051840fe4b18a3da40ff  # 10:53      0-      1  Merge branch 'akpm' (patches from Andrew)
# extra tests with first bad commit reverted
git bisect good d1d2ab885ff09dbdccbbc528e1bf7a2a7b467c43  # 11:10     64+      0  Revert "driver core: add test of driver remove calls during probe"
# extra tests on tree/branch linus/master
git bisect  bad b66484cd74706fa8681d051840fe4b18a3da40ff  # 11:10      0-     68  Merge branch 'akpm' (patches from Andrew)
# extra tests on tree/branch linux-next/master
git bisect  bad c802e87fbe2d4dd58982d01b3c39bc5a781223aa  # 11:18      0-     35  Add linux-next specific files for 20161006


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

Download attachment "dmesg-quantal-ivb41-34:20161009023454:i386-randconfig-a0-201641:4.8.0-rc4-00003-gbea5b15:1.gz" of type "application/gzip" (24198 bytes)

View attachment "config-4.8.0-rc4-00003-gbea5b15" of type "text/plain" (99524 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ