diff options
| author | Andrey Konovalov <andreyknvl@google.com> | 2019-09-23 14:43:04 +0200 |
|---|---|---|
| committer | Andrey Konovalov <andreyknvl@gmail.com> | 2019-09-24 15:15:04 +0200 |
| commit | 0942eab8c6e9c236bd99c739fda06f2510a5b190 (patch) | |
| tree | 9377c2b6ae46e7917dcafb28b0b98ba049345278 /pkg/report/testdata/linux | |
| parent | 2cad5aaffae81b1c1981e105c68d383ece999670 (diff) | |
pkg/report: improve USB report titles
Diffstat (limited to 'pkg/report/testdata/linux')
| -rw-r--r-- | pkg/report/testdata/linux/report/422 | 175 | ||||
| -rw-r--r-- | pkg/report/testdata/linux/report/423 | 97 | ||||
| -rw-r--r-- | pkg/report/testdata/linux/report/424 | 91 | ||||
| -rw-r--r-- | pkg/report/testdata/linux/report/425 | 64 |
4 files changed, 427 insertions, 0 deletions
diff --git a/pkg/report/testdata/linux/report/422 b/pkg/report/testdata/linux/report/422 new file mode 100644 index 000000000..0d2cc1dd5 --- /dev/null +++ b/pkg/report/testdata/linux/report/422 @@ -0,0 +1,175 @@ +TITLE: KASAN: use-after-free Read in tty_unregister_device + +[ 54.689586][ T1737] ================================================================== +[ 54.697746][ T1737] BUG: KASAN: use-after-free in __mutex_lock+0xf23/0x1360 +[ 54.704832][ T1737] Read of size 8 at addr ffff8881d6b6b458 by task kworker/1:4/1737 +[ 54.712691][ T1737] +[ 54.715001][ T1737] CPU: 1 PID: 1737 Comm: kworker/1:4 Not tainted 5.3.0+ #0 +[ 54.722165][ T1737] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 +[ 54.732206][ T1737] Workqueue: usb_hub_wq hub_event +[ 54.737215][ T1737] Call Trace: +[ 54.740484][ T1737] dump_stack+0xca/0x13e +[ 54.744706][ T1737] ? __mutex_lock+0xf23/0x1360 +[ 54.749450][ T1737] ? __mutex_lock+0xf23/0x1360 +[ 54.754198][ T1737] print_address_description+0x6a/0x32c +[ 54.759718][ T1737] ? __mutex_lock+0xf23/0x1360 +[ 54.764454][ T1737] ? __mutex_lock+0xf23/0x1360 +[ 54.769201][ T1737] __kasan_report.cold+0x1a/0x33 +[ 54.774121][ T1737] ? __mutex_lock+0xf23/0x1360 +[ 54.778870][ T1737] kasan_report+0xe/0x12 +[ 54.783094][ T1737] __mutex_lock+0xf23/0x1360 +[ 54.787674][ T1737] ? find_held_lock+0x2d/0x110 +[ 54.792415][ T1737] ? device_del+0x9e/0xb10 +[ 54.796805][ T1737] ? mutex_trylock+0x2c0/0x2c0 +[ 54.801547][ T1737] ? lock_downgrade+0x6e0/0x6e0 +[ 54.806384][ T1737] ? refcount_sub_and_test_checked+0x130/0x1c0 +[ 54.812532][ T1737] ? rwlock_bug.part.0+0x90/0x90 +[ 54.817446][ T1737] ? do_raw_spin_unlock+0x50/0x220 +[ 54.822543][ T1737] ? class_create_release+0x20/0x20 +[ 54.827715][ T1737] ? _raw_spin_unlock+0x1f/0x30 +[ 54.832542][ T1737] ? klist_put+0x9c/0x170 +[ 54.836844][ T1737] ? device_del+0x9e/0xb10 +[ 54.841235][ T1737] device_del+0x9e/0xb10 +[ 54.845451][ T1737] ? refcount_dec_not_one+0x1e0/0x1e0 +[ 54.850802][ T1737] ? __device_links_no_driver+0x240/0x240 +[ 54.856494][ T1737] device_destroy+0x96/0xe0 +[ 54.860973][ T1737] ? root_device_unregister+0x80/0x80 +[ 54.866322][ T1737] ? hso_serial_common_create+0x3a3/0x710 +[ 54.872016][ T1737] tty_unregister_device+0x7e/0x1a0 +[ 54.877188][ T1737] hso_probe.cold+0xc8/0x121 +[ 54.881762][ T1737] usb_probe_interface+0x305/0x7a0 +[ 54.886856][ T1737] ? usb_probe_device+0x100/0x100 +[ 54.891866][ T1737] really_probe+0x281/0x6d0 +[ 54.896352][ T1737] driver_probe_device+0x101/0x1b0 +[ 54.901436][ T1737] __device_attach_driver+0x1c2/0x220 +[ 54.906783][ T1737] ? driver_allows_async_probing+0x160/0x160 +[ 54.912746][ T1737] bus_for_each_drv+0x162/0x1e0 +[ 54.917583][ T1737] ? bus_rescan_devices+0x20/0x20 +[ 54.922592][ T1737] ? _raw_spin_unlock_irqrestore+0x3e/0x50 +[ 54.928385][ T1737] ? lockdep_hardirqs_on+0x379/0x580 +[ 54.933655][ T1737] __device_attach+0x217/0x360 +[ 54.938403][ T1737] ? device_bind_driver+0xd0/0xd0 +[ 54.943407][ T1737] ? kobject_uevent_env+0x29e/0x1150 +[ 54.948682][ T1737] ? kobject_uevent_env+0x2a8/0x1150 +[ 54.953947][ T1737] bus_probe_device+0x1e4/0x290 +[ 54.958771][ T1737] ? blocking_notifier_call_chain+0x54/0xa0 +[ 54.964646][ T1737] device_add+0xae6/0x16f0 +[ 54.969042][ T1737] ? uevent_store+0x50/0x50 +[ 54.973533][ T1737] ? _raw_spin_unlock_irqrestore+0x3e/0x50 +[ 54.979312][ T1737] usb_set_configuration+0xdf6/0x1670 +[ 54.984660][ T1737] generic_probe+0x9d/0xd5 +[ 54.989051][ T1737] usb_probe_device+0x99/0x100 +[ 54.993791][ T1737] ? usb_suspend+0x620/0x620 +[ 54.998358][ T1737] really_probe+0x281/0x6d0 +[ 55.002835][ T1737] driver_probe_device+0x101/0x1b0 +[ 55.007923][ T1737] __device_attach_driver+0x1c2/0x220 +[ 55.013277][ T1737] ? driver_allows_async_probing+0x160/0x160 +[ 55.019229][ T1737] bus_for_each_drv+0x162/0x1e0 +[ 55.024052][ T1737] ? bus_rescan_devices+0x20/0x20 +[ 55.029052][ T1737] ? _raw_spin_unlock_irqrestore+0x3e/0x50 +[ 55.034843][ T1737] ? lockdep_hardirqs_on+0x379/0x580 +[ 55.040101][ T1737] __device_attach+0x217/0x360 +[ 55.044841][ T1737] ? device_bind_driver+0xd0/0xd0 +[ 55.050361][ T1737] ? kobject_uevent_env+0x29e/0x1150 +[ 55.055617][ T1737] ? kobject_uevent_env+0x2a8/0x1150 +[ 55.060889][ T1737] bus_probe_device+0x1e4/0x290 +[ 55.065721][ T1737] ? blocking_notifier_call_chain+0x54/0xa0 +[ 55.071591][ T1737] device_add+0xae6/0x16f0 +[ 55.075986][ T1737] ? uevent_store+0x50/0x50 +[ 55.080464][ T1737] usb_new_device.cold+0x6a4/0xe79 +[ 55.085555][ T1737] hub_event+0x1b5c/0x3640 +[ 55.089948][ T1737] ? hub_port_debounce+0x260/0x260 +[ 55.095053][ T1737] ? rcu_read_lock_sched_held+0x9c/0xd0 +[ 55.100583][ T1737] ? rcu_read_lock_bh_held+0xb0/0xb0 +[ 55.105848][ T1737] process_one_work+0x92b/0x1530 +[ 55.110762][ T1737] ? pwq_dec_nr_in_flight+0x310/0x310 +[ 55.116117][ T1737] worker_thread+0x96/0xe20 +[ 55.120618][ T1737] ? process_one_work+0x1530/0x1530 +[ 55.125801][ T1737] kthread+0x318/0x420 +[ 55.129852][ T1737] ? kthread_create_on_node+0xf0/0xf0 +[ 55.135202][ T1737] ret_from_fork+0x24/0x30 +[ 55.139594][ T1737] +[ 55.141905][ T1737] Allocated by task 22: +[ 55.146057][ T1737] save_stack+0x1b/0x80 +[ 55.150198][ T1737] __kasan_kmalloc.constprop.0+0xbf/0xd0 +[ 55.155807][ T1737] tty_register_device_attr+0x1b6/0x6f0 +[ 55.161329][ T1737] hso_serial_common_create+0x113/0x710 +[ 55.166850][ T1737] hso_probe+0xc93/0x1a46 +[ 55.171158][ T1737] usb_probe_interface+0x305/0x7a0 +[ 55.176244][ T1737] really_probe+0x281/0x6d0 +[ 55.180721][ T1737] driver_probe_device+0x101/0x1b0 +[ 55.185811][ T1737] __device_attach_driver+0x1c2/0x220 +[ 55.191162][ T1737] bus_for_each_drv+0x162/0x1e0 +[ 55.196022][ T1737] __device_attach+0x217/0x360 +[ 55.200760][ T1737] bus_probe_device+0x1e4/0x290 +[ 55.205584][ T1737] device_add+0xae6/0x16f0 +[ 55.209977][ T1737] usb_set_configuration+0xdf6/0x1670 +[ 55.215333][ T1737] generic_probe+0x9d/0xd5 +[ 55.219733][ T1737] usb_probe_device+0x99/0x100 +[ 55.224475][ T1737] really_probe+0x281/0x6d0 +[ 55.228974][ T1737] driver_probe_device+0x101/0x1b0 +[ 55.234072][ T1737] __device_attach_driver+0x1c2/0x220 +[ 55.239421][ T1737] bus_for_each_drv+0x162/0x1e0 +[ 55.244245][ T1737] __device_attach+0x217/0x360 +[ 55.248983][ T1737] bus_probe_device+0x1e4/0x290 +[ 55.253808][ T1737] device_add+0xae6/0x16f0 +[ 55.258197][ T1737] usb_new_device.cold+0x6a4/0xe79 +[ 55.263290][ T1737] hub_event+0x1b5c/0x3640 +[ 55.267698][ T1737] process_one_work+0x92b/0x1530 +[ 55.272629][ T1737] worker_thread+0x96/0xe20 +[ 55.277109][ T1737] kthread+0x318/0x420 +[ 55.281218][ T1737] ret_from_fork+0x24/0x30 +[ 55.285606][ T1737] +[ 55.287911][ T1737] Freed by task 22: +[ 55.291707][ T1737] save_stack+0x1b/0x80 +[ 55.295884][ T1737] __kasan_slab_free+0x130/0x180 +[ 55.300799][ T1737] kfree+0xe4/0x2f0 +[ 55.304585][ T1737] device_release+0x71/0x200 +[ 55.309151][ T1737] kobject_put+0x171/0x280 +[ 55.313541][ T1737] device_destroy+0x9e/0xe0 +[ 55.318023][ T1737] tty_unregister_device+0x7e/0x1a0 +[ 55.323197][ T1737] hso_probe.cold+0xc8/0x121 +[ 55.327767][ T1737] usb_probe_interface+0x305/0x7a0 +[ 55.332852][ T1737] really_probe+0x281/0x6d0 +[ 55.337331][ T1737] driver_probe_device+0x101/0x1b0 +[ 55.342423][ T1737] __device_attach_driver+0x1c2/0x220 +[ 55.347787][ T1737] bus_for_each_drv+0x162/0x1e0 +[ 55.352623][ T1737] __device_attach+0x217/0x360 +[ 55.357362][ T1737] bus_probe_device+0x1e4/0x290 +[ 55.362188][ T1737] device_add+0xae6/0x16f0 +[ 55.366593][ T1737] usb_set_configuration+0xdf6/0x1670 +[ 55.371944][ T1737] generic_probe+0x9d/0xd5 +[ 55.376343][ T1737] usb_probe_device+0x99/0x100 +[ 55.381094][ T1737] really_probe+0x281/0x6d0 +[ 55.385584][ T1737] driver_probe_device+0x101/0x1b0 +[ 55.390675][ T1737] __device_attach_driver+0x1c2/0x220 +[ 55.396029][ T1737] bus_for_each_drv+0x162/0x1e0 +[ 55.400870][ T1737] __device_attach+0x217/0x360 +[ 55.405606][ T1737] bus_probe_device+0x1e4/0x290 +[ 55.410438][ T1737] device_add+0xae6/0x16f0 +[ 55.414844][ T1737] usb_new_device.cold+0x6a4/0xe79 +[ 55.419938][ T1737] hub_event+0x1b5c/0x3640 +[ 55.424328][ T1737] process_one_work+0x92b/0x1530 +[ 55.429246][ T1737] worker_thread+0x96/0xe20 +[ 55.433723][ T1737] kthread+0x318/0x420 +[ 55.437777][ T1737] ret_from_fork+0x24/0x30 +[ 55.442176][ T1737] +[ 55.444488][ T1737] The buggy address belongs to the object at ffff8881d6b6b300 +[ 55.444488][ T1737] which belongs to the cache kmalloc-2k of size 2048 +[ 55.458526][ T1737] The buggy address is located 344 bytes inside of +[ 55.458526][ T1737] 2048-byte region [ffff8881d6b6b300, ffff8881d6b6bb00) +[ 55.471967][ T1737] The buggy address belongs to the page: +[ 55.477583][ T1737] page:ffffea00075ada00 refcount:1 mapcount:0 mapping:ffff8881da00c000 index:0x0 compound_mapcount: 0 +[ 55.488512][ T1737] flags: 0x200000000010200(slab|head) +[ 55.493888][ T1737] raw: 0200000000010200 0000000000000000 0000000b00000001 ffff8881da00c000 +[ 55.502449][ T1737] raw: 0000000000000000 00000000800f000f 00000001ffffffff 0000000000000000 +[ 55.511026][ T1737] page dumped because: kasan: bad access detected +[ 55.517411][ T1737] +[ 55.519718][ T1737] Memory state around the buggy address: +[ 55.525344][ T1737] ffff8881d6b6b300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb +[ 55.533390][ T1737] ffff8881d6b6b380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb +[ 55.541433][ T1737] >ffff8881d6b6b400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb +[ 55.549479][ T1737] ^ +[ 55.556404][ T1737] ffff8881d6b6b480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb +[ 55.564452][ T1737] ffff8881d6b6b500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb +[ 55.572485][ T1737] ================================================================== diff --git a/pkg/report/testdata/linux/report/423 b/pkg/report/testdata/linux/report/423 new file mode 100644 index 000000000..a14068d45 --- /dev/null +++ b/pkg/report/testdata/linux/report/423 @@ -0,0 +1,97 @@ +TITLE: KASAN: use-after-free Read in mcba_usb_disconnect + +[ 723.789406][ T102] ================================================================== +[ 723.790974][ T102] BUG: KASAN: use-after-free in __lock_acquire+0x3377/0x3eb0 +[ 723.792263][ T102] Read of size 8 at addr ffff88803b8d8f48 by task kworker/0:2/102 +[ 723.793777][ T102] +[ 723.794247][ T102] CPU: 0 PID: 102 Comm: kworker/0:2 Not tainted 5.3.0+ #296 +[ 723.795572][ T102] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 +[ 723.797369][ T102] Workqueue: usb_hub_wq hub_event +[ 723.798502][ T102] Call Trace: +[ 723.799161][ T102] dump_stack+0xca/0x13e +[ 723.800048][ T102] ? __lock_acquire+0x3377/0x3eb0 +[ 723.801210][ T102] ? __lock_acquire+0x3377/0x3eb0 +[ 723.802097][ T102] print_address_description+0x6a/0x32c +[ 723.803112][ T102] ? __lock_acquire+0x3377/0x3eb0 +[ 723.804061][ T102] ? __lock_acquire+0x3377/0x3eb0 +[ 723.805027][ T102] __kasan_report.cold+0x1a/0x33 +[ 723.805958][ T102] ? __lock_acquire+0x3377/0x3eb0 +[ 723.806908][ T102] kasan_report+0xe/0x12 +[ 723.807638][ T102] __lock_acquire+0x3377/0x3eb0 +[ 723.808527][ T102] ? mark_held_locks+0x9f/0xe0 +[ 723.809449][ T102] ? lockdep_hardirqs_on+0x379/0x580 +[ 723.810520][ T102] ? quarantine_put+0xb2/0x150 +[ 723.811487][ T102] ? mark_held_locks+0xe0/0xe0 +[ 723.812419][ T102] lock_acquire+0x127/0x320 +[ 723.813276][ T102] ? usb_kill_anchored_urbs+0x1e/0x110 +[ 723.814303][ T102] ? kobject_put+0x18c/0x280 +[ 723.815153][ T102] _raw_spin_lock_irq+0x2d/0x40 +[ 723.816075][ T102] ? usb_kill_anchored_urbs+0x1e/0x110 +[ 723.817142][ T102] usb_kill_anchored_urbs+0x1e/0x110 +[ 723.818155][ T102] mcba_usb_disconnect+0xd6/0xe4 +[ 723.819116][ T102] usb_unbind_interface+0x1bd/0x8a0 +[ 723.820138][ T102] ? usb_autoresume_device+0x60/0x60 +[ 723.821222][ T102] device_release_driver_internal+0x42f/0x500 +[ 723.822362][ T102] bus_remove_device+0x2dc/0x4a0 +[ 723.823285][ T102] device_del+0x420/0xb10 +[ 723.824082][ T102] ? __device_links_no_driver+0x240/0x240 +[ 723.825190][ T102] ? usb_remove_ep_devs+0x3e/0x80 +[ 723.826128][ T102] ? remove_intf_ep_devs+0x13f/0x1d0 +[ 723.827128][ T102] usb_disable_device+0x211/0x690 +[ 723.828095][ T102] usb_disconnect+0x284/0x8d0 +[ 723.829025][ T102] hub_event+0x1454/0x3640 +[ 723.829820][ T102] ? find_held_lock+0x2d/0x110 +[ 723.830985][ T102] ? mark_held_locks+0xe0/0xe0 +[ 723.832271][ T102] ? hub_port_debounce+0x260/0x260 +[ 723.833628][ T102] ? rcu_read_lock_sched_held+0x9c/0xd0 +[ 723.835108][ T102] ? rcu_read_lock_bh_held+0xb0/0xb0 +[ 723.836502][ T102] process_one_work+0x92b/0x1530 +[ 723.837830][ T102] ? pwq_dec_nr_in_flight+0x310/0x310 +[ 723.839199][ T102] ? do_raw_spin_lock+0x11a/0x280 +[ 723.840346][ T102] worker_thread+0x96/0xe20 +[ 723.841423][ T102] ? process_one_work+0x1530/0x1530 +[ 723.842603][ T102] kthread+0x318/0x420 +[ 723.843538][ T102] ? kthread_create_on_node+0xf0/0xf0 +[ 723.844787][ T102] ret_from_fork+0x24/0x30 +[ 723.845813][ T102] +[ 723.846365][ T102] Allocated by task 15859: +[ 723.847393][ T102] save_stack+0x1b/0x80 +[ 723.848366][ T102] __kasan_kmalloc.constprop.0+0xbf/0xd0 +[ 723.849722][ T102] kmem_cache_alloc+0xd6/0x2d0 +[ 723.850953][ T102] getname_flags+0xd2/0x5b0 +[ 723.851992][ T102] user_path_at_empty+0x2a/0x50 +[ 723.853144][ T102] vfs_statx+0x113/0x1e0 +[ 723.854137][ T102] __do_sys_newstat+0x96/0x120 +[ 723.855225][ T102] do_syscall_64+0xb7/0x580 +[ 723.855986][ T102] entry_SYSCALL_64_after_hwframe+0x49/0xbe +[ 723.856973][ T102] +[ 723.857422][ T102] Freed by task 15859: +[ 723.858353][ T102] save_stack+0x1b/0x80 +[ 723.859313][ T102] __kasan_slab_free+0x130/0x180 +[ 723.860452][ T102] kmem_cache_free+0xb9/0x380 +[ 723.861601][ T102] putname+0xe1/0x120 +[ 723.862539][ T102] filename_lookup+0x28f/0x3f0 +[ 723.863628][ T102] vfs_statx+0x113/0x1e0 +[ 723.864560][ T102] __do_sys_newstat+0x96/0x120 +[ 723.865437][ T102] do_syscall_64+0xb7/0x580 +[ 723.866198][ T102] entry_SYSCALL_64_after_hwframe+0x49/0xbe +[ 723.867164][ T102] +[ 723.867553][ T102] The buggy address belongs to the object at ffff88803b8d8000 +[ 723.867553][ T102] which belongs to the cache names_cache of size 4096 +[ 723.869885][ T102] The buggy address is located 3912 bytes inside of +[ 723.869885][ T102] 4096-byte region [ffff88803b8d8000, ffff88803b8d9000) +[ 723.872392][ T102] The buggy address belongs to the page: +[ 723.873386][ T102] page:ffffea0000ee3600 refcount:1 mapcount:0 mapping:ffff88806c515900 index:0x0 compound_mapcount: 0 +[ 723.875262][ T102] flags: 0x100000000010200(slab|head) +[ 723.876181][ T102] raw: 0100000000010200 dead000000000100 dead000000000122 ffff88806c515900 +[ 723.877662][ T102] raw: 0000000000000000 0000000000070007 00000001ffffffff 0000000000000000 +[ 723.879114][ T102] page dumped because: kasan: bad access detected +[ 723.880269][ T102] +[ 723.880699][ T102] Memory state around the buggy address: +[ 723.881688][ T102] ffff88803b8d8e00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb +[ 723.883049][ T102] ffff88803b8d8e80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb +[ 723.884598][ T102] >ffff88803b8d8f00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb +[ 723.886061][ T102] ^ +[ 723.887248][ T102] ffff88803b8d8f80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb +[ 723.888739][ T102] ffff88803b8d9000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc +[ 723.890329][ T102] ================================================================== diff --git a/pkg/report/testdata/linux/report/424 b/pkg/report/testdata/linux/report/424 new file mode 100644 index 000000000..897e84cf9 --- /dev/null +++ b/pkg/report/testdata/linux/report/424 @@ -0,0 +1,91 @@ +TITLE: KASAN: use-after-free Read in chaoskey_disconnect + +[ 744.592276][ T3173] ================================================================== +[ 744.593789][ T3173] BUG: KASAN: use-after-free in refcount_inc_not_zero_checked+0x72/0x1e0 +[ 744.595200][ T3173] Read of size 4 at addr ffff88805b8f1820 by task kworker/1:3/3173 +[ 744.596644][ T3173] +[ 744.597052][ T3173] CPU: 1 PID: 3173 Comm: kworker/1:3 Not tainted 5.3.0+ #296 +[ 744.598324][ T3173] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 +[ 744.600029][ T3173] Workqueue: usb_hub_wq hub_event +[ 744.600890][ T3173] Call Trace: +[ 744.601452][ T3173] dump_stack+0xca/0x13e +[ 744.602183][ T3173] ? refcount_inc_not_zero_checked+0x72/0x1e0 +[ 744.603262][ T3173] ? refcount_inc_not_zero_checked+0x72/0x1e0 +[ 744.604902][ T3173] print_address_description+0x6a/0x32c +[ 744.606397][ T3173] ? refcount_inc_not_zero_checked+0x72/0x1e0 +[ 744.608297][ T3173] ? refcount_inc_not_zero_checked+0x72/0x1e0 +[ 744.610301][ T3173] __kasan_report.cold+0x1a/0x33 +[ 744.611499][ T3173] ? refcount_inc_not_zero_checked+0x72/0x1e0 +[ 744.612670][ T3173] kasan_report+0xe/0x12 +[ 744.613400][ T3173] check_memory_region+0x128/0x190 +[ 744.614340][ T3173] refcount_inc_not_zero_checked+0x72/0x1e0 +[ 744.615279][ T3173] ? refcount_dec_and_mutex_lock+0x80/0x80 +[ 744.616362][ T3173] ? rcu_read_lock_sched_held+0x9c/0xd0 +[ 744.617766][ T3173] ? rcu_read_lock_bh_held+0xb0/0xb0 +[ 744.619091][ T3173] refcount_inc_checked+0x12/0x60 +[ 744.620362][ T3173] kthread_stop+0x6c/0x600 +[ 744.621363][ T3173] hwrng_unregister+0x190/0x210 +[ 744.622111][ T3173] chaoskey_disconnect+0x1b2/0x200 +[ 744.622919][ T3173] usb_unbind_interface+0x1bd/0x8a0 +[ 744.623650][ T3173] ? usb_autoresume_device+0x60/0x60 +[ 744.624395][ T3173] device_release_driver_internal+0x42f/0x500 +[ 744.625254][ T3173] bus_remove_device+0x2dc/0x4a0 +[ 744.625979][ T3173] device_del+0x420/0xb10 +[ 744.626624][ T3173] ? __device_links_no_driver+0x240/0x240 +[ 744.627430][ T3173] ? usb_remove_ep_devs+0x3e/0x80 +[ 744.628144][ T3173] ? remove_intf_ep_devs+0x13f/0x1d0 +[ 744.628872][ T3173] usb_disable_device+0x211/0x690 +[ 744.629575][ T3173] usb_disconnect+0x284/0x8d0 +[ 744.630221][ T3173] hub_event+0x1454/0x3640 +[ 744.630862][ T3173] ? find_held_lock+0x2d/0x110 +[ 744.631538][ T3173] ? mark_held_locks+0xe0/0xe0 +[ 744.632216][ T3173] ? hub_port_debounce+0x260/0x260 +[ 744.632952][ T3173] ? rcu_read_lock_sched_held+0x9c/0xd0 +[ 744.633728][ T3173] ? rcu_read_lock_bh_held+0xb0/0xb0 +[ 744.634492][ T3173] process_one_work+0x92b/0x1530 +[ 744.635201][ T3173] ? pwq_dec_nr_in_flight+0x310/0x310 +[ 744.636011][ T3173] ? do_raw_spin_lock+0x11a/0x280 +[ 744.636939][ T3173] worker_thread+0x7ab/0xe20 +[ 744.637678][ T3173] ? process_one_work+0x1530/0x1530 +[ 744.638485][ T3173] kthread+0x318/0x420 +[ 744.639125][ T3173] ? kthread_create_on_node+0xf0/0xf0 +[ 744.639979][ T3173] ret_from_fork+0x24/0x30 +[ 744.640583][ T3173] +[ 744.640979][ T3173] Allocated by task 2: +[ 744.641607][ T3173] save_stack+0x1b/0x80 +[ 744.642312][ T3173] __kasan_kmalloc.constprop.0+0xbf/0xd0 +[ 744.643170][ T3173] kmem_cache_alloc_node+0xdc/0x310 +[ 744.643950][ T3173] copy_process+0x41ad/0x6410 +[ 744.644704][ T3173] _do_fork+0x129/0xec0 +[ 744.645338][ T3173] kernel_thread+0xaa/0xe0 +[ 744.646005][ T3173] kthreadd+0x4a2/0x680 +[ 744.646735][ T3173] ret_from_fork+0x24/0x30 +[ 744.647364][ T3173] +[ 744.647767][ T3173] Freed by task 16: +[ 744.648407][ T3173] save_stack+0x1b/0x80 +[ 744.649181][ T3173] __kasan_slab_free+0x130/0x180 +[ 744.650073][ T3173] kmem_cache_free+0xb9/0x380 +[ 744.650744][ T3173] __put_task_struct+0x1e2/0x4a0 +[ 744.651540][ T3173] delayed_put_task_struct+0x1b4/0x2c0 +[ 744.652409][ T3173] rcu_core+0x630/0x1ca0 +[ 744.653028][ T3173] __do_softirq+0x221/0x912 +[ 744.653886][ T3173] +[ 744.654366][ T3173] The buggy address belongs to the object at ffff88805b8f1800 +[ 744.654366][ T3173] which belongs to the cache task_struct of size 5888 +[ 744.657365][ T3173] The buggy address is located 32 bytes inside of +[ 744.657365][ T3173] 5888-byte region [ffff88805b8f1800, ffff88805b8f2f00) +[ 744.659960][ T3173] The buggy address belongs to the page: +[ 744.660975][ T3173] page:ffffea00016e3c00 refcount:1 mapcount:0 mapping:ffff88806c50e000 index:0x0 compound_mapcount: 0 +[ 744.662922][ T3173] flags: 0x100000000010200(slab|head) +[ 744.663844][ T3173] raw: 0100000000010200 dead000000000100 dead000000000122 ffff88806c50e000 +[ 744.665448][ T3173] raw: 0000000000000000 0000000000050005 00000001ffffffff 0000000000000000 +[ 744.667066][ T3173] page dumped because: kasan: bad access detected +[ 744.668216][ T3173] +[ 744.668632][ T3173] Memory state around the buggy address: +[ 744.669623][ T3173] ffff88805b8f1700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc +[ 744.671167][ T3173] ffff88805b8f1780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc +[ 744.672588][ T3173] >ffff88805b8f1800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb +[ 744.674006][ T3173] ^ +[ 744.674964][ T3173] ffff88805b8f1880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb +[ 744.676699][ T3173] ffff88805b8f1900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb +[ 744.678359][ T3173] ================================================================== diff --git a/pkg/report/testdata/linux/report/425 b/pkg/report/testdata/linux/report/425 new file mode 100644 index 000000000..9b862dd39 --- /dev/null +++ b/pkg/report/testdata/linux/report/425 @@ -0,0 +1,64 @@ +TITLE: WARNING in pvr2_i2c_core_done + +[ 274.845466][ T107] ------------[ cut here ]------------ +[ 274.846771][ T107] sysfs group 'power' not found for kobject 'i2c-0' +[ 274.848200][ T107] WARNING: CPU: 0 PID: 107 at fs/sysfs/group.c:278 sysfs_remove_group+0x155/0x1b0 +[ 274.850359][ T107] Kernel panic - not syncing: panic_on_warn set ... +[ 274.852042][ T107] CPU: 0 PID: 107 Comm: pvrusb2-context Not tainted 5.3.0+ #296 +[ 274.853827][ T107] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 +[ 274.856018][ T107] Call Trace: +[ 274.856795][ T107] dump_stack+0xca/0x13e +[ 274.857524][ T107] ? sysfs_remove_group+0x70/0x1b0 +[ 274.858399][ T107] panic+0x2a3/0x6da +[ 274.859055][ T107] ? add_taint.cold+0x16/0x16 +[ 274.859904][ T107] ? __probe_kernel_read+0x188/0x1d0 +[ 274.860804][ T107] ? __warn.cold+0x5/0x4a +[ 274.861530][ T107] ? __warn+0xe3/0x1e0 +[ 274.862212][ T107] ? sysfs_remove_group+0x155/0x1b0 +[ 274.863299][ T107] __warn.cold+0x20/0x4a +[ 274.863952][ T3185] usb 8-1: Invalid ep0 maxpacket: 512 +[ 274.864037][ T107] ? sysfs_remove_group+0x155/0x1b0 +[ 274.865995][ T107] report_bug+0x262/0x2a0 +[ 274.866727][ T107] do_error_trap+0x12b/0x1e0 +[ 274.867497][ T107] ? sysfs_remove_group+0x155/0x1b0 +[ 274.868382][ T107] do_invalid_op+0x32/0x40 +[ 274.869130][ T107] ? sysfs_remove_group+0x155/0x1b0 +[ 274.870123][ T107] invalid_op+0x23/0x30 +[ 274.871036][ T107] RIP: 0010:sysfs_remove_group+0x155/0x1b0 +[ 274.872188][ T107] Code: 48 89 d9 49 8b 14 24 48 b8 00 00 00 00 00 fc ff df 48 c1 e9 03 80 3c 01 00 75 41 48 8b 33 48 c7 c7 a0 d0 d0 85 e8 d0 9a 8a ff <0f> 0b eb 95 e8 f2 c7 db ff e9 d2 fe ff ff 48 89 df e8 e5 c7 db ff +[ 274.875503][ T107] RSP: 0018:ffff888068157c40 EFLAGS: 00010282 +[ 274.876694][ T107] RAX: 0000000000000000 RBX: ffffffff85f30ee0 RCX: 0000000000000000 +[ 274.878439][ T107] RDX: 0000000000000000 RSI: ffffffff8128d9ad RDI: ffffed100d02af7a +[ 274.879815][ T107] RBP: 0000000000000000 R08: ffff888068b96000 R09: ffffed100d943ee7 +[ 274.881155][ T107] R10: ffffed100d943ee6 R11: ffff88806ca1f737 R12: ffff888048704338 +[ 274.882520][ T107] R13: ffffffff85f31480 R14: ffff888048704900 R15: ffff888068b96000 +[ 274.884117][ T107] ? vprintk_func+0x7d/0x113 +[ 274.885246][ T107] dpm_sysfs_remove+0x97/0xb0 +[ 274.886360][ T107] device_del+0x12a/0xb10 +[ 274.887409][ T107] ? __pm_runtime_disable+0x148/0x3d0 +[ 274.888691][ T107] ? __device_links_no_driver+0x240/0x240 +[ 274.890013][ T107] ? pm_runtime_barrier+0x260/0x260 +[ 274.891249][ T107] ? lockdep_init_map+0x1b0/0x5e0 +[ 274.892466][ T107] ? lockdep_init_map+0x1b0/0x5e0 +[ 274.893684][ T107] device_unregister+0x11/0x30 +[ 274.894165][ T3109] usbhid 3-1:0.0: can't add hid device: -71 +[ 274.894843][ T107] i2c_del_adapter+0x42b/0x590 +[ 274.894868][ T107] ? del_timer_sync+0x11e/0x130 +[ 274.896739][ T3109] usbhid: probe of 3-1:0.0 failed with error -71 +[ 274.897766][ T107] pvr2_i2c_core_done+0x69/0xb6 +[ 274.897791][ T107] pvr2_hdw_destroy+0x179/0x370 +[ 274.902671][ T107] pvr2_context_destroy+0x84/0x230 +[ 274.903544][ T107] pvr2_context_thread_func+0x657/0x860 +[ 274.904501][ T107] ? lock_acquire+0x127/0x320 +[ 274.905283][ T107] ? pvr2_context_destroy+0x230/0x230 +[ 274.906178][ T107] ? finish_wait+0x260/0x260 +[ 274.907068][ T107] ? lockdep_hardirqs_on+0x379/0x580 +[ 274.908371][ T107] ? __kthread_parkme+0x10a/0x1c0 +[ 274.909556][ T107] ? pvr2_context_destroy+0x230/0x230 +[ 274.910853][ T107] kthread+0x318/0x420 +[ 274.911842][ T107] ? kthread_create_on_node+0xf0/0xf0 +[ 274.913116][ T107] ret_from_fork+0x24/0x30 +[ 274.914738][ T107] Dumping ftrace buffer: +[ 274.915783][ T107] (ftrace buffer empty) +[ 274.916544][ T107] Kernel Offset: disabled +[ 274.917280][ T107] Rebooting in 1 seconds.. |
