Skip to content

Commit a4381d4

Browse files
committed
pkg/report: regenerate test with tail reports and ContextIDs
1 parent 0c64558 commit a4381d4

File tree

19 files changed

+1365
-26
lines changed

19 files changed

+1365
-26
lines changed

pkg/report/testdata/gvisor/report/0

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,50 @@ REPORT:
8181
panic: runtime error: invalid memory address or nil pointer dereference
8282
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x811ac1]
8383

84+
goroutine 9707990 [running]:
85+
panic(0xaddd00, 0x10d2b90)
86+
GOROOT/src/runtime/panic.go:551 +0x3c1 fp=0xc4205d15b0 sp=0xc4205d1510 pc=0x428fa1
87+
runtime.panicmem()
88+
GOROOT/src/runtime/panic.go:63 +0x5e fp=0xc4205d15d0 sp=0xc4205d15b0 pc=0x427e7e
89+
runtime.sigpanic()
90+
GOROOT/src/runtime/signal_unix.go:388 +0x17a fp=0xc4205d1620 sp=0xc4205d15d0 pc=0x43e59a
91+
gvisor.googlesource.com/gvisor/pkg/sentry/fs/gofer.(*handleReadWriter).WriteFromBlocks(0xc420ef06e0, 0x7fe2a3453200, 0xffffffffffffffff, 0x0, 0x61, 0x0, 0x0, 0x0)
92+
pkg/sentry/fs/gofer/handles.go:133 +0x41 fp=0xc4205d1698 sp=0xc4205d1620 pc=0x811ac1
93+
gvisor.googlesource.com/gvisor/pkg/sentry/fs/gofer.(*inodeFileState).WriteFromBlocksAt(0xc4204e24d0, 0xc94d20, 0xc4203fdcc8, 0x7fe2a3453200, 0xffffffffffffffff, 0x0, 0x61, 0x200, 0x0, 0x0, ...)
94+
pkg/sentry/fs/gofer/inode.go:204 +0xfe fp=0xc4205d1710 sp=0xc4205d1698 pc=0x81239e
95+
gvisor.googlesource.com/gvisor/pkg/sentry/fs/fsutil.(*inodeReadWriter).WriteFromBlocks(0xc421cdcf40, 0x7fe2a3453200, 0xffffffffffffffff, 0x0, 0x61, 0x0, 0x0, 0x0)
96+
pkg/sentry/fs/fsutil/inode_cached.go:605 +0x35d fp=0xc4205d1848 sp=0xc4205d1710 pc=0x660f8d
97+
gvisor.googlesource.com/gvisor/pkg/sentry/safemem.(Writer).WriteFromBlocks-fm(0x7fe2a3453200, 0xffffffffffffffff, 0x0, 0x61, 0x20000261, 0x7fe2a3453200, 0xffffffffffffffff)
98+
pkg/sentry/mm/io.go:309 +0x57 fp=0xc4205d1898 sp=0xc4205d1848 pc=0x6bacd7
99+
gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).withInternalMappings(0xc4214a6580, 0xc94d20, 0xc4203fdcc8, 0x20000200, 0x20000261, 0x1, 0xc420ef0b40, 0x10fd8e0, 0x6e5a33137f9f62, 0xc420ef0a88)
100+
pkg/sentry/mm/io.go:464 +0x72c fp=0xc4205d1998 sp=0xc4205d1898 pc=0x694c4c
101+
gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).withVecInternalMappings(0xc4214a6580, 0xc94d20, 0xc4203fdcc8, 0x0, 0x1, 0x20000200, 0x61, 0xc400000001, 0xc420ef0b40, 0x1538c53a716d7b9c, ...)
102+
pkg/sentry/mm/io.go:533 +0x7f1 fp=0xc4205d1a90 sp=0xc4205d1998 pc=0x6954c1
103+
gvisor.googlesource.com/gvisor/pkg/sentry/mm.(*MemoryManager).CopyInTo(0xc4214a6580, 0xc94d20, 0xc4203fdcc8, 0x0, 0x1, 0x20000200, 0x61, 0xc87960, 0xc421cdcf40, 0x0, ...)
104+
pkg/sentry/mm/io.go:309 +0x17c fp=0xc4205d1b68 sp=0xc4205d1a90 pc=0x69370c
105+
gvisor.googlesource.com/gvisor/pkg/sentry/usermem.IOSequence.CopyInTo(0xc93580, 0xc4214a6580, 0x0, 0x1, 0x20000200, 0x61, 0x0, 0xc94d20, 0xc4203fdcc8, 0xc87960, ...)
106+
pkg/sentry/usermem/usermem.go:528 +0xad fp=0xc4205d1be0 sp=0xc4205d1b68 pc=0x590a4d
107+
gvisor.googlesource.com/gvisor/pkg/sentry/fs/fsutil.(*CachingInodeOperations).Write(0xc4202ed800, 0xc94d20, 0xc4203fdcc8, 0xc93580, 0xc4214a6580, 0x0, 0x1, 0x20000200, 0x61, 0x0, ...)
108+
pkg/sentry/fs/fsutil/inode_cached.go:474 +0x19e fp=0xc4205d1ca0 sp=0xc4205d1be0 pc=0x66037e
109+
gvisor.googlesource.com/gvisor/pkg/sentry/fs/gofer.(*fileOperations).Write(0xc421fcd1d0, 0xc94d20, 0xc4203fdcc8, 0xc4205e9000, 0xc93580, 0xc4214a6580, 0x0, 0x1, 0x20000200, 0x61, ...)
110+
pkg/sentry/fs/gofer/file.go:192 +0x271 fp=0xc4205d1d78 sp=0xc4205d1ca0 pc=0x80dbf1
111+
gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*overlayFileOperations).Write(0xc421fcd200, 0xc94d20, 0xc4203fdcc8, 0xc4205e9080, 0xc93580, 0xc4214a6580, 0x0, 0x1, 0x20000200, 0x61, ...)
112+
pkg/sentry/fs/file_overlay.go:222 +0x9b fp=0xc4205d1e00 sp=0xc4205d1d78 pc=0x61d95b
113+
gvisor.googlesource.com/gvisor/pkg/sentry/fs.(*File).Pwritev(0xc4205e9080, 0xc94d20, 0xc4203fdcc8, 0xc93580, 0xc4214a6580, 0x0, 0x1, 0x20000200, 0x61, 0x0, ...)
114+
pkg/sentry/fs/file.go:269 +0x1c2 fp=0xc4205d1ea8 sp=0xc4205d1e00 pc=0x61b532
115+
gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.performCallback(0xc421b91b00, 0xc4205e9080, 0x20000280, 0xc4204a8a80, 0xc93580, 0xc4214a6580, 0x0, 0x1, 0x20000200, 0x61, ...)
116+
pkg/sentry/syscalls/linux/sys_aio.go:264 +0x2a4 fp=0xc4205d1f38 sp=0xc4205d1ea8 pc=0x8c2144
117+
gvisor.googlesource.com/gvisor/pkg/sentry/syscalls/linux.submitCallback.func1()
118+
pkg/sentry/syscalls/linux/sys_aio.go:342 +0x7c fp=0xc4205d1fb0 sp=0xc4205d1f38 pc=0x8ef8bc
119+
gvisor.googlesource.com/gvisor/pkg/sentry/fs.Async.func1(0xc420172b60)
120+
pkg/sentry/fs/fs.go:82 +0x4f fp=0xc4205d1fd8 sp=0xc4205d1fb0 pc=0x63408f
121+
runtime.goexit()
122+
bazel-out/k8-fastbuild/bin/external/io_bazel_rules_go/linux_amd64_pure_stripped/stdlib~/src/runtime/asm_amd64.s:2361 +0x1 fp=0xc4205d1fe0 sp=0xc4205d1fd8 pc=0x455f11
123+
created by gvisor.googlesource.com/gvisor/pkg/sentry/fs.Async
124+
pkg/sentry/fs/fs.go:80 +0x58
125+
TAIL REPORTS:
126+
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x811ac1]
127+
84128
goroutine 9707990 [running]:
85129
panic(0xaddd00, 0x10d2b90)
86130
GOROOT/src/runtime/panic.go:551 +0x3c1 fp=0xc4205d15b0 sp=0xc4205d1510 pc=0x428fa1

pkg/report/testdata/gvisor/report/7

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,3 +167,13 @@ Previous write at 0x00c4211413e0 by goroutine 45:
167167
pkg/sentry/kernel/task_run.go:217 +0x157c
168168
gvisor.googlesource.com/gvisor/pkg/sentry/kernel.(*Task).run()
169169
pkg/sentry/kernel/task_run.go:95 +0x264
170+
TAIL REPORTS:
171+
W0618 15:50:34.276259 112427 x:0] FATAL ERROR: error running container: err waiting on container "syz-1": EOF
172+
error running container: err waiting on container "syz-1": EOF
173+
W0618 15:50:34.276259 112492 x:0] FATAL ERROR: error getting processes for container: error executing in sandbox: EOF
174+
error getting processes for container: error executing in sandbox: EOF
175+
176+
<<<<<<<<<<<<<<< tail report >>>>>>>>>>>>>>>
177+
W0618 15:50:34.276259 112492 x:0] FATAL ERROR: error getting processes for container: error executing in sandbox: EOF
178+
error getting processes for container: error executing in sandbox: EOF
179+

pkg/report/testdata/linux/report/345

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,35 @@ Dumping ftrace buffer:
8383
(ftrace buffer empty)
8484
Kernel Offset: disabled
8585
Rebooting in 86400 seconds..
86+
TAIL REPORTS:
87+
Kernel panic - not syncing: panic_on_warn set ...
88+
CPU: 2 PID: 1194 Comm: kworker/u12:4 Not tainted 4.20.0-next-20190102+ #5
89+
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
90+
Workqueue: netns cleanup_net
91+
Call Trace:
92+
dump_stack+0x1db/0x2d0
93+
panic+0x2cb/0x65c
94+
__warn.cold+0x20/0x48
95+
report_bug+0x263/0x2b0
96+
do_error_trap+0x11b/0x200
97+
do_invalid_op+0x37/0x50
98+
invalid_op+0x14/0x20
99+
RIP: 0010:xfrm_state_fini+0x440/0x5c0
100+
Code: c3 e8 d4 94 be fa 0f 0b e9 d5 fd ff ff e8 c8 94 be fa 0f 0b e9 9d fe ff ff e8 bc 94 be fa 0f 0b e9 65 ff ff ff e8 b0 94 be fa <0f> 0b e9 d1 fc ff ff e8 94 87 02 fb e9 f4 fc ff ff 48 89 85 08 ff
101+
RSP: 0018:ffff888068c37718 EFLAGS: 00010293
102+
RAX: ffff888068c28300 RBX: ffff88805fec4340 RCX: 0000000000000000
103+
RDX: 0000000000000000 RSI: ffffffff86c36c50 RDI: 1ffff1100d186ee9
104+
RBP: ffff888068c37810 R08: 0000000000000007 R09: ffff888068c28bf0
105+
R10: ffff888068c28300 R11: 0000000000000000 R12: 1ffff1100d186ee5
106+
R13: ffff888068c377e8 R14: ffff88805fec5e40 R15: ffff88801f9cb0e0
107+
xfrm_net_exit+0x25/0x70
108+
ops_exit_list.isra.0+0xb0/0x160
109+
cleanup_net+0x51d/0xb10
110+
process_one_work+0xd0c/0x1ce0
111+
worker_thread+0x143/0x14a0
112+
kthread+0x357/0x430
113+
ret_from_fork+0x3a/0x50
114+
Dumping ftrace buffer:
115+
(ftrace buffer empty)
116+
Kernel Offset: disabled
117+
Rebooting in 86400 seconds..

pkg/report/testdata/linux/report/346

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,63 @@ Dumping ftrace buffer:
9999
(ftrace buffer empty)
100100
Kernel Offset: disabled
101101
Rebooting in 86400 seconds..
102+
TAIL REPORTS:
103+
INFO: rcu_sched detected stalls on CPUs/tasks:
104+
(detected by 1, t=105002 jiffies, g=687946, c=687945, q=520)
105+
All QSes seen, last rcu_sched kthread activity 103964 (4298143477-4298039513), jiffies_till_next_fqs=3, root ->qsmask 0x0
106+
syz-executor0 R running task on cpu 1 0 315571 315308 0x0000000e 3375506638533
107+
Call Trace:
108+
<IRQ> [<ffffffff816efb87>] _sched_show_task+0x31a/0x325
109+
[<ffffffff816f030c>] sched_show_task+0x10/0x12
110+
[<ffffffff816fabed>] rcu_check_callbacks.cold.76+0xbfa/0xc77
111+
[<ffffffff814f5cdf>] update_process_times+0x3f/0x70
112+
[<ffffffff8151f1ea>] tick_sched_handle.isra.16+0x5a/0x100
113+
[<ffffffff8151f89a>] tick_sched_timer+0x7a/0x130
114+
[<ffffffff814f8e15>] __hrtimer_run_queues+0x3a5/0xc50
115+
[<ffffffff814fa03e>] hrtimer_interrupt+0x18e/0x400
116+
[<ffffffff8129a744>] local_apic_timer_interrupt+0x74/0x90
117+
[<ffffffff81012dff>] smp_apic_timer_interrupt+0xdf/0x130
118+
[<ffffffff81011c72>] smp_apic_timer_interrupt_entry_after_kaiser_bti+0x20/0x2e
119+
<EOI> [<ffffffff815bcdb1>] ? __sanitizer_cov_trace_pc+0x21/0x60
120+
[<ffffffff8152dedc>] smp_call_function_single+0x26c/0x330
121+
[<ffffffff8152eaa5>] smp_cfm_core+0x6a5/0x7e0
122+
[<ffffffff8152ee6b>] on_each_cpu+0x6b/0x120
123+
[<ffffffff812dd836>] flush_tlb_kernel_range+0x86/0xe0
124+
[<ffffffff817ea3cc>] __purge_vmap_area_lazy+0x3ec/0xf40
125+
[<ffffffff817eb5df>] free_vmap_area_noflush+0x1bf/0x200
126+
[<ffffffff817ee77e>] remove_vm_area+0x13e/0x1c0
127+
[<ffffffff817ee849>] __vunmap+0x49/0x330
128+
[<ffffffff817eebf5>] vfree+0x55/0xe0
129+
[<ffffffff8177bc6b>] kvfree+0x3b/0x60
130+
[<ffffffff82430b98>] uhaul_rx_release+0x268/0x5a0
131+
<<<<<<<<<<<<<<< tail report >>>>>>>>>>>>>>>
132+
Kernel panic - not syncing: panic_on_warn set ...
133+
CPU: 2 PID: 1194 Comm: kworker/u12:4 Not tainted 4.20.0-next-20190102+ #5
134+
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
135+
Workqueue: netns cleanup_net
136+
Call Trace:
137+
dump_stack+0x1db/0x2d0
138+
panic+0x2cb/0x65c
139+
__warn.cold+0x20/0x48
140+
report_bug+0x263/0x2b0
141+
do_error_trap+0x11b/0x200
142+
do_invalid_op+0x37/0x50
143+
invalid_op+0x14/0x20
144+
RIP: 0010:xfrm_state_fini+0x440/0x5c0
145+
RSP: 0018:ffff888068c37718 EFLAGS: 00010293
146+
RAX: ffff888068c28300 RBX: ffff88805fec4340 RCX: 0000000000000000
147+
RDX: 0000000000000000 RSI: ffffffff86c36c50 RDI: 1ffff1100d186ee9
148+
RBP: ffff888068c37810 R08: 0000000000000007 R09: ffff888068c28bf0
149+
R10: ffff888068c28300 R11: 0000000000000000 R12: 1ffff1100d186ee5
150+
R13: ffff888068c377e8 R14: ffff88805fec5e40 R15: ffff88801f9cb0e0
151+
xfrm_net_exit+0x25/0x70
152+
ops_exit_list.isra.0+0xb0/0x160
153+
cleanup_net+0x51d/0xb10
154+
process_one_work+0xd0c/0x1ce0
155+
worker_thread+0x143/0x14a0
156+
kthread+0x357/0x430
157+
ret_from_fork+0x3a/0x50
158+
Dumping ftrace buffer:
159+
(ftrace buffer empty)
160+
Kernel Offset: disabled
161+
Rebooting in 86400 seconds..

pkg/report/testdata/linux/report/347

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,30 @@ Dumping ftrace buffer:
107107
(ftrace buffer empty)
108108
Kernel Offset: disabled
109109
Rebooting in 86400 seconds..
110+
TAIL REPORTS:
111+
Kernel panic - not syncing: panic_on_warn set ...
112+
CPU: 2 PID: 1194 Comm: kworker/u12:4 Not tainted 4.20.0-next-20190102+ #5
113+
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
114+
Workqueue: netns cleanup_net
115+
Call Trace:
116+
dump_stack+0x1db/0x2d0
117+
do_invalid_op+0x37/0x50
118+
invalid_op+0x14/0x20
119+
RIP: 0010:xfrm_state_fini+0x440/0x5c0
120+
RSP: 0018:ffff888068c37718 EFLAGS: 00010293
121+
RAX: ffff888068c28300 RBX: ffff88805fec4340 RCX: 0000000000000000
122+
RDX: 0000000000000000 RSI: ffffffff86c36c50 RDI: 1ffff1100d186ee9
123+
RBP: ffff888068c37810 R08: 0000000000000007 R09: ffff888068c28bf0
124+
R10: ffff888068c28300 R11: 0000000000000000 R12: 1ffff1100d186ee5
125+
R13: ffff888068c377e8 R14: ffff88805fec5e40 R15: ffff88801f9cb0e0
126+
xfrm_net_exit+0x25/0x70
127+
ops_exit_list.isra.0+0xb0/0x160
128+
cleanup_net+0x51d/0xb10
129+
process_one_work+0xd0c/0x1ce0
130+
worker_thread+0x143/0x14a0
131+
kthread+0x357/0x430
132+
ret_from_fork+0x3a/0x50
133+
Dumping ftrace buffer:
134+
(ftrace buffer empty)
135+
Kernel Offset: disabled
136+
Rebooting in 86400 seconds..

pkg/report/testdata/linux/report/348

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,30 @@ Dumping ftrace buffer:
8787
(ftrace buffer empty)
8888
Kernel Offset: disabled
8989
Rebooting in 86400 seconds..
90+
TAIL REPORTS:
91+
Kernel panic - not syncing: panic_on_warn set ...
92+
CPU: 2 PID: 1194 Comm: kworker/u12:4 Not tainted 4.20.0-next-20190102+ #5
93+
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
94+
Workqueue: netns cleanup_net
95+
Call Trace:
96+
dump_stack+0x1db/0x2d0
97+
do_invalid_op+0x37/0x50
98+
invalid_op+0x14/0x20
99+
RIP: 0010:xfrm_state_fini+0x440/0x5c0
100+
RSP: 0018:ffff888068c37718 EFLAGS: 00010293
101+
RAX: ffff888068c28300 RBX: ffff88805fec4340 RCX: 0000000000000000
102+
RDX: 0000000000000000 RSI: ffffffff86c36c50 RDI: 1ffff1100d186ee9
103+
RBP: ffff888068c37810 R08: 0000000000000007 R09: ffff888068c28bf0
104+
R10: ffff888068c28300 R11: 0000000000000000 R12: 1ffff1100d186ee5
105+
R13: ffff888068c377e8 R14: ffff88805fec5e40 R15: ffff88801f9cb0e0
106+
xfrm_net_exit+0x25/0x70
107+
ops_exit_list.isra.0+0xb0/0x160
108+
cleanup_net+0x51d/0xb10
109+
process_one_work+0xd0c/0x1ce0
110+
worker_thread+0x143/0x14a0
111+
kthread+0x357/0x430
112+
ret_from_fork+0x3a/0x50
113+
Dumping ftrace buffer:
114+
(ftrace buffer empty)
115+
Kernel Offset: disabled
116+
Rebooting in 86400 seconds..

pkg/report/testdata/linux/report/349

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,22 @@ INFO: task jbd2/sda-8:3563 blocked for more than 140 seconds.
222222
Not tainted 4.20.0-next-20190102+ #5
223223
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
224224
jbd2/sda-8 D22600 3563 2 0x80000000
225+
Call Trace:
226+
__schedule+0x897/0x1e60
227+
schedule+0xfe/0x350
228+
io_schedule+0x1c/0x70
229+
bit_wait_io+0x17/0x90
230+
__wait_on_bit+0xb3/0x130
231+
out_of_line_wait_on_bit+0x1f4/0x3b0
232+
__wait_on_buffer+0x6f/0x90
233+
jbd2_journal_commit_transaction+0x658a/0x8ee4
234+
kjournald2+0x20f/0xb90
235+
kthread+0x357/0x430
236+
ret_from_fork+0x3a/0x50
237+
TAIL REPORTS:
238+
Not tainted 4.20.0-next-20190102+ #5
239+
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
240+
jbd2/sda-8 D22600 3563 2 0x80000000
225241
Call Trace:
226242
__schedule+0x897/0x1e60
227243
schedule+0xfe/0x350
@@ -239,6 +255,33 @@ INFO: task kworker/u12:5:1980 blocked for more than 140 seconds.
239255
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
240256
kworker/u12:5 D21864 1980 2 0x80000000
241257
Workqueue: writeback wb_workfn (flush-8:0)
258+
Call Trace:
259+
__schedule+0x897/0x1e60
260+
schedule+0xfe/0x350
261+
io_schedule+0x1c/0x70
262+
rq_qos_wait+0x2f2/0x600
263+
wbt_wait+0x266/0x430
264+
__rq_qos_throttle+0x58/0xb0
265+
blk_mq_make_request+0x424/0x1e10
266+
generic_make_request+0x902/0x17f0
267+
submit_bio+0xba/0x480
268+
ext4_io_submit+0x197/0x230
269+
ext4_writepages+0x139d/0x4180
270+
do_writepages+0x99/0x1a0
271+
__writeback_single_inode+0x1c5/0x1620
272+
writeback_sb_inodes+0x762/0x1260
273+
__writeback_inodes_wb+0x16d/0x3d0
274+
wb_writeback+0xa2d/0xf70
275+
wb_workfn+0xccc/0x16f0
276+
process_one_work+0xd0c/0x1ce0
277+
worker_thread+0x143/0x14a0
278+
kthread+0x357/0x430
279+
ret_from_fork+0x3a/0x50
280+
<<<<<<<<<<<<<<< tail report >>>>>>>>>>>>>>>
281+
Not tainted 4.20.0-next-20190102+ #5
282+
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
283+
kworker/u12:5 D21864 1980 2 0x80000000
284+
Workqueue: writeback wb_workfn (flush-8:0)
242285
Call Trace:
243286
__schedule+0x897/0x1e60
244287
schedule+0xfe/0x350
@@ -294,6 +337,39 @@ RDX: 0000000020000040 RSI: 0000000000000005 RDI: 0000000000000005
294337
RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000
295338
R10: 00008080fffffffe R11: 0000000000000246 R12: 00007f66fbce46d4
296339
R13: 00000000004abcac R14: 00000000006eb9b8 R15: 00000000ffffffff
340+
<<<<<<<<<<<<<<< tail report >>>>>>>>>>>>>>>
341+
Not tainted 4.20.0-next-20190102+ #5
342+
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
343+
syz-executor2 D19624 6677 22450 0x00000004
344+
Call Trace:
345+
__schedule+0x897/0x1e60
346+
schedule+0xfe/0x350
347+
io_schedule+0x1c/0x70
348+
wait_on_page_bit_common+0xad5/0x1370
349+
__filemap_fdatawait_range+0x614/0x890
350+
file_write_and_wait_range+0xd1/0x100
351+
ext4_sync_file+0x2da/0x14d0
352+
vfs_fsync_range+0x144/0x230
353+
ext4_file_write_iter+0x683/0x1400
354+
do_iter_readv_writev+0x902/0xbc0
355+
do_iter_write+0x184/0x610
356+
vfs_iter_write+0x77/0xb0
357+
iter_file_splice_write+0x885/0xfc0
358+
direct_splice_actor+0x126/0x1a0
359+
splice_direct_to_actor+0x3be/0x9d0
360+
do_splice_direct+0x2c7/0x420
361+
do_sendfile+0x61a/0xe60
362+
__x64_sys_sendfile64+0x15a/0x240
363+
do_syscall_64+0x1a3/0x800
364+
entry_SYSCALL_64_after_hwframe+0x49/0xbe
365+
RIP: 0033:0x4576a9
366+
Code: 3b 41 10 76 7d 48 81 ec 88 00 00 00 48 89 ac 24 80 00 00 00 48 8d ac 24 80 00 00 00 48 8b 59 20 48 85 db 75 67 48 8b b4 24 a0 <00> 00 00 8b 8c 24 a8 00 00 00 48 89 e7 f3 a4 48 8b 94 24 98 00 00
367+
RSP: 002b:00007f66fbce3c88 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
368+
RAX: ffffffffffffffda RBX: 000000000071bf00 RCX: 00000000004576a9
369+
RDX: 0000000020000040 RSI: 0000000000000005 RDI: 0000000000000005
370+
RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000
371+
R10: 00008080fffffffe R11: 0000000000000246 R12: 00007f66fbce46d4
372+
R13: 00000000004abcac R14: 00000000006eb9b8 R15: 00000000ffffffff
297373
INFO: task syz-executor2:6693 blocked for more than 140 seconds.
298374
Not tainted 4.20.0-next-20190102+ #5
299375
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
@@ -419,3 +495,67 @@ RDX: 0000000000000400 RSI: 00000000008d3ce0 RDI: 0000000000000002
419495
RBP: 00000000008d3ce0 R08: 00000000008d408d R09: 00007fc30b3ffe07
420496
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
421497
R13: 00007fc30a024410 R14: 00007fc304002a50 R15: 00000000008d3ac0
498+
<<<<<<<<<<<<<<< tail report >>>>>>>>>>>>>>>
499+
R10: 0001000000020000 R11: 0000000000000246 R12: 00007f66fbcc36d4
500+
R13: 00000000004abcac R14: 00000000006eb9b8 R15: 00000000ffffffff
501+
Showing all locks held in the system:
502+
1 lock held by khungtaskd/1054:
503+
#0: 00000000c542499d (rcu_read_lock){....}, at: debug_show_all_locks+0xc6/0x41d
504+
1 lock held by rsyslogd/5859:
505+
#0: 00000000567e80cf (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1b3/0x1f0
506+
2 locks held by getty/5951:
507+
#0: 000000003b0dfac2 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40
508+
#1: 00000000281ebc43 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0
509+
2 locks held by getty/5952:
510+
#0: 00000000f0d48c91 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40
511+
#1: 00000000cff3c1fb (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0
512+
2 locks held by getty/5953:
513+
#0: 00000000cb353a8f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40
514+
#1: 00000000373ded25 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0
515+
2 locks held by getty/5954:
516+
#0: 000000005c8be537 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40
517+
#1: 00000000d7aec815 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0
518+
2 locks held by getty/5955:
519+
#0: 00000000eda8138a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40
520+
#1: 00000000f4fd60a6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0
521+
2 locks held by getty/5956:
522+
#0: 000000000745b5fb (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40
523+
#1: 00000000a4c3442a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0
524+
2 locks held by getty/5957:
525+
#0: 000000002cb7c49e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40
526+
#1: 000000009258e26f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x30a/0x1eb0
527+
4 locks held by kworker/u12:5/1980:
528+
#0: 000000005e902bc8 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0xbc7/0x1ce0
529+
#1: 0000000056cd520a ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0xc1d/0x1ce0
530+
#2: 00000000146ba37b (&type->s_umount_key#30){++++}, at: trylock_super+0x22/0x110
531+
#3: 00000000fec9c2c2 (&sbi->s_journal_flag_rwsem){.+.+}, at: do_writepages+0x99/0x1a0
532+
1 lock held by syz-executor2/6677:
533+
#0: 000000007b67e744 (sb_writers#3){.+.+}, at: do_sendfile+0xad7/0xe60
534+
1 lock held by syz-executor2/6693:
535+
#0: 000000007b67e744 (sb_writers#3){.+.+}, at: do_sendfile+0xad7/0xe60
536+
=============================================
537+
NMI backtrace for cpu 3
538+
CPU: 3 PID: 1054 Comm: khungtaskd Not tainted 4.20.0-next-20190102+ #5
539+
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
540+
Call Trace:
541+
dump_stack+0x1db/0x2d0
542+
nmi_cpu_backtrace.cold+0x63/0xa4
543+
nmi_trigger_cpumask_backtrace+0x1be/0x236
544+
arch_trigger_cpumask_backtrace+0x14/0x20
545+
watchdog+0xbbb/0x1170
546+
kthread+0x357/0x430
547+
ret_from_fork+0x3a/0x50
548+
Sending NMI from CPU 3 to CPUs 0-2:
549+
Kernel panic - not syncing: hung_task: blocked tasks
550+
CPU: 3 PID: 1054 Comm: khungtaskd Not tainted 4.20.0-next-20190102+ #5
551+
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
552+
Call Trace:
553+
dump_stack+0x1db/0x2d0
554+
panic+0x2cb/0x65c
555+
watchdog+0xbcc/0x1170
556+
kthread+0x357/0x430
557+
ret_from_fork+0x3a/0x50
558+
Dumping ftrace buffer:
559+
(ftrace buffer empty)
560+
Kernel Offset: disabled
561+
Rebooting in 86400 seconds..

0 commit comments

Comments
 (0)