diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-11-28 15:30:37 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-11-29 10:45:55 +0100 |
| commit | 736169d38b707e0932233379c056145a0c2ecf32 (patch) | |
| tree | 2d980176cc07636bb680de00ee1cca3f7c73223e /pkg/report/testdata/linux | |
| parent | 7a53a9d93f72f95e21d7c54af1421f2b508ff397 (diff) | |
pkg/report: add few more UBSAN reports
Update #1523
Diffstat (limited to 'pkg/report/testdata/linux')
| -rw-r--r-- | pkg/report/testdata/linux/report/455 | 44 | ||||
| -rw-r--r-- | pkg/report/testdata/linux/report/456 | 31 | ||||
| -rw-r--r-- | pkg/report/testdata/linux/report/457 | 27 |
3 files changed, 102 insertions, 0 deletions
diff --git a/pkg/report/testdata/linux/report/455 b/pkg/report/testdata/linux/report/455 new file mode 100644 index 000000000..604aa0ce1 --- /dev/null +++ b/pkg/report/testdata/linux/report/455 @@ -0,0 +1,44 @@ +TITLE: UBSAN: undefined-behaviour in xprt_calc_majortimeo + +[ 173.675058][ T8575] ================================================================================ +[ 173.699127][ T8575] UBSAN: Undefined behaviour in net/sunrpc/xprt.c:597:14 +[ 173.700242][ T8575] shift exponent 536871040 is too large for 64-bit type 'long unsigned int' +[ 173.701708][ T8575] CPU: 2 PID: 8575 Comm: syz-executor.0 Not tainted 5.4.0-next-20191128+ #3 +[ 173.702885][ T8575] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 +[ 173.704304][ T8575] Call Trace: +[ 173.704780][ T8575] dump_stack+0x1b1/0x22a +[ 173.705379][ T8575] ubsan_epilogue+0xe/0x2b +[ 173.705994][ T8575] __ubsan_handle_shift_out_of_bounds.cold.14+0x178/0x1f2 +[ 173.709119][ T8575] xprt_calc_majortimeo+0x210/0x280 +[ 173.709849][ T8575] xprt_do_reserve+0x4d2/0x720 +[ 173.710498][ T8575] xprt_reserve+0x11a/0x1e0 +[ 173.711889][ T8575] call_reserve+0x69/0x80 +[ 173.712499][ T8575] __rpc_execute+0x253/0xe10 +[ 173.713162][ T8575] rpc_execute+0x2a1/0x3e0 +[ 173.713174][ T8575] rpc_run_task+0x575/0x700 +[ 173.713188][ T8575] rpc_call_sync+0xd6/0x1a0 +[ 173.717639][ T8575] rpc_create_xprt+0x384/0x520 +[ 173.720364][ T8575] rpc_create+0x3cd/0x750 +[ 173.723860][ T8575] nfs_create_rpc_client+0x519/0x6d0 +[ 173.725320][ T8575] nfs_init_client+0x74/0xf0 +[ 173.725955][ T8575] nfs_get_client+0x10c6/0x14b0 +[ 173.728045][ T8575] nfs_init_server+0x2a8/0xee0 +[ 173.729406][ T8575] nfs_create_server+0x17a/0x750 +[ 173.730771][ T8575] nfs_try_mount+0x191/0xa50 +[ 173.739213][ T8575] nfs_fs_mount+0xd1d/0x2610 +[ 173.748342][ T8575] legacy_get_tree+0x10a/0x230 +[ 173.749711][ T8575] vfs_get_tree+0x8e/0x370 +[ 173.750328][ T8575] do_mount+0x14d3/0x1ab0 +[ 173.755313][ T8575] ksys_mount+0x114/0x130 +[ 173.755919][ T8575] __x64_sys_mount+0xbe/0x150 +[ 173.756574][ T8575] do_syscall_64+0xfa/0x7d0 +[ 173.757208][ T8575] entry_SYSCALL_64_after_hwframe+0x49/0xbe +[ 173.758018][ T8575] RIP: 0033:0x465fe9 +[ 173.758554][ T8575] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 +[ 173.761249][ T8575] RSP: 002b:00007fdf4b8f3c68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 +[ 173.762393][ T8575] RAX: ffffffffffffffda RBX: 000000000052bf00 RCX: 0000000000465fe9 +[ 173.763480][ T8575] RDX: 0000000020000100 RSI: 0000000020000180 RDI: 0000000020000240 +[ 173.764574][ T8575] RBP: 00000000ffffffff R08: 0000000020000000 R09: 0000000000000000 +[ 173.765677][ T8575] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004a643a +[ 173.766765][ T8575] R13: 00000000004ede98 R14: 00000000004ad077 R15: 00007fdf4b8f46bc +[ 173.768756][ T8575] ================================================================================ diff --git a/pkg/report/testdata/linux/report/456 b/pkg/report/testdata/linux/report/456 new file mode 100644 index 000000000..48bf0d0a2 --- /dev/null +++ b/pkg/report/testdata/linux/report/456 @@ -0,0 +1,31 @@ +TITLE: UBSAN: undefined-behaviour in f2fs_fill_super + +[ 55.446365][ T6377] ================================================================================ +[ 55.447852][ T6377] UBSAN: Undefined behaviour in fs/f2fs/super.c:2563:16 +[ 55.448947][ T6377] shift exponent 1275068428 is too large for 32-bit type 'int' +[ 55.457726][ T6377] CPU: 2 PID: 6377 Comm: syz-executor.4 Not tainted 5.4.0-next-20191128+ #3 +[ 55.458959][ T6377] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 +[ 55.460201][ T6377] Call Trace: +[ 55.460679][ T6377] dump_stack+0x1b1/0x22a +[ 55.461294][ T6377] ubsan_epilogue+0xe/0x2b +[ 55.461928][ T6377] __ubsan_handle_shift_out_of_bounds.cold.14+0x178/0x1f2 +[ 55.464350][ T6377] f2fs_fill_super.cold.79+0x403/0x5e0 +[ 55.469849][ T6377] mount_bdev+0x300/0x3d0 +[ 55.471728][ T6377] f2fs_mount+0x34/0x40 +[ 55.473103][ T6377] legacy_get_tree+0x10a/0x230 +[ 55.474426][ T6377] vfs_get_tree+0x8e/0x370 +[ 55.475015][ T6377] do_mount+0x14d3/0x1ab0 +[ 55.479873][ T6377] ksys_mount+0x114/0x130 +[ 55.480459][ T6377] __x64_sys_mount+0xbe/0x150 +[ 55.481144][ C3] perf: interrupt took too long (66639 > 66480), lowering kernel.perf_event_max_sample_rate to 3000 +[ 55.481725][ T6377] do_syscall_64+0xfa/0x7d0 +[ 55.483735][ T6377] entry_SYSCALL_64_after_hwframe+0x49/0xbe +[ 55.484505][ T6377] RIP: 0033:0x46736a +[ 55.485026][ T6377] Code: 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 +[ 55.487622][ T6377] RSP: 002b:00007fedb6acfa78 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 +[ 55.488759][ T6377] RAX: ffffffffffffffda RBX: 00007fedb6acfaf0 RCX: 000000000046736a +[ 55.489861][ T6377] RDX: 00007fedb6acfad0 RSI: 0000000020000340 RDI: 00007fedb6acfaf0 +[ 55.490978][ T6377] RBP: 00007fedb6acfad0 R08: 00007fedb6acfb30 R09: 00007fedb6acfad0 +[ 55.491997][ T6377] R10: 0000000000000000 R11: 0000000000000202 R12: 00007fedb6acfb30 +[ 55.493017][ T6377] R13: 00000000004b1c60 R14: 00000000004aff22 R15: 00007fedb6ad06bc +[ 55.510433][ T6377] ================================================================================ diff --git a/pkg/report/testdata/linux/report/457 b/pkg/report/testdata/linux/report/457 new file mode 100644 index 000000000..b47d76ad5 --- /dev/null +++ b/pkg/report/testdata/linux/report/457 @@ -0,0 +1,27 @@ +TITLE: UBSAN: undefined-behaviour in decode_data + +[ 97.633355][ T6275] ================================================================================ +[ 97.635153][ T6275] UBSAN: Undefined behaviour in drivers/net/hamradio/6pack.c:843:16 +[ 97.636358][ T6275] index 402 is out of range for type 'unsigned char [400]' +[ 97.637509][ T6275] CPU: 2 PID: 6275 Comm: kworker/u8:5 Not tainted 5.4.0-next-20191128+ #3 +[ 97.638735][ T6275] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 +[ 97.640034][ T6275] Workqueue: events_unbound flush_to_ldisc +[ 97.640897][ T6275] Call Trace: +[ 97.641347][ T6275] dump_stack+0x1b1/0x22a +[ 97.641952][ T6275] ubsan_epilogue+0xe/0x2b +[ 97.642591][ T6275] __ubsan_handle_out_of_bounds.cold.13+0x39/0x44 +[ 97.643482][ T6275] decode_data+0x308/0x3a0 +[ 97.644100][ T6275] sixpack_receive_buf+0xbc2/0x1110 +[ 97.644871][ T6275] ? sixpack_write_wakeup+0x330/0x330 +[ 97.645655][ T6275] tty_ldisc_receive_buf+0x14d/0x190 +[ 97.646402][ T6275] tty_port_default_receive_buf+0x7b/0xb0 +[ 97.647445][ T6275] flush_to_ldisc+0x219/0x390 +[ 97.648167][ T6275] process_one_work+0x9bd/0x1850 +[ 97.648887][ T6275] ? pwq_dec_nr_in_flight+0x370/0x370 +[ 97.649659][ T6275] ? lock_acquire+0x194/0x440 +[ 97.650343][ T6275] worker_thread+0x8b/0xd20 +[ 97.650993][ T6275] ? process_one_work+0x1850/0x1850 +[ 97.651720][ T6275] kthread+0x365/0x450 +[ 97.652306][ T6275] ? kthread_mod_delayed_work+0x1b0/0x1b0 +[ 97.653133][ T6275] ret_from_fork+0x24/0x30 +[ 97.654931][ T6275] ================================================================================ |
