syzbot


SYZFAIL: tun: ioctl(TUNSETIFF) failed

Status: auto-closed as invalid on 2022/07/02 00:44
Reported-by: syzbot+739fadaa98f5bffd7620@syzkaller.appspotmail.com
First crash: 1086d, last: 968d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
gvisor SYZFAIL: tun: ioctl(TUNSETIFF) failed (3) 110 1h25m 127d 0/26 moderation: reported on 2024/07/22 10:51
gvisor SYZFAIL: tun: ioctl(TUNSETIFF) failed (2) 15 146d 144d 26/26 fixed on 2024/07/05 09:32

Sample crash report:
SYZFAIL: tun: ioctl(TUNSETIFF) failed
 (errno 25: Inappropriate ioctl for device)
loop exited with status 67
D0403 00:43:00.572605  821103 task_exit.go:186] [  14:  26] Transitioning from exit state TaskExitNone to TaskExitInitiated
D0403 00:43:00.572711  821103 task_exit.go:186] [  14:  26] Transitioning from exit state TaskExitInitiated to TaskExitZombie
D0403 00:43:00.572733  821103 task_exit.go:186] [  14:  26] Transitioning from exit state TaskExitZombie to TaskExitDead
D0403 00:43:00.572762  821103 task_signals.go:190] [  14:  18] Signal 9: terminating thread group
I0403 00:43:00.572784  821103 compat.go:135] Uncaught signal: "killed" (9), PID: 14, TID: 18, fault addr: 0x0
D0403 00:43:00.572812  821103 task_exit.go:186] [  14:  18] Transitioning from exit state TaskExitNone to TaskExitInitiated
D0403 00:43:00.572822  821103 task_exit.go:186] [  14:  18] Transitioning from exit state TaskExitInitiated to TaskExitZombie
D0403 00:43:00.572847  821103 task_exit.go:186] [  14:  18] Transitioning from exit state TaskExitZombie to TaskExitDead
D0403 00:43:00.572857  821103 task_signals.go:190] [  14:  15] Signal 9: terminating thread group
I0403 00:43:00.572901  821103 compat.go:135] Uncaught signal: "killed" (9), PID: 14, TID: 15, fault addr: 0x0
D0403 00:43:00.572929  821103 task_exit.go:186] [  14:  15] Transitioning from exit state TaskExitNone to TaskExitInitiated
D0403 00:43:00.572930  821103 task_signals.go:190] [  14:  16] Signal 9: terminating thread group
D0403 00:43:00.572942  821103 task_exit.go:186] [  14:  15] Transitioning from exit state TaskExitInitiated to TaskExitZombie
D0403 00:43:00.572953  821103 task_signals.go:190] [  14:  17] Signal 9: terminating thread group
D0403 00:43:00.572958  821103 task_exit.go:186] [  14:  15] Transitioning from exit state TaskExitZombie to TaskExitDead
D0403 00:43:00.572975  821103 task_signals.go:190] [  14:  19] Signal 9: terminating thread group
I0403 00:43:00.572999  821103 compat.go:135] Uncaught signal: "killed" (9), PID: 14, TID: 19, fault addr: 0x0
D0403 00:43:00.573008  821103 task_signals.go:190] [  14:  20] Signal 9: terminating thread group
I0403 00:43:00.573014  821103 compat.go:135] Uncaught signal: "killed" (9), PID: 14, TID: 20, fault addr: 0x0
D0403 00:43:00.573019  821103 task_exit.go:186] [  14:  19] Transitioning from exit state TaskExitNone to TaskExitInitiated
D0403 00:43:00.572843  821103 task_signals.go:190] [  14:  14] Signal 9: terminating thread group
I0403 00:43:00.573026  821103 compat.go:135] Uncaught signal: "killed" (9), PID: 14, TID: 14, fault addr: 0x0
I0403 00:43:00.573033  821103 compat.go:135] Uncaught signal: "killed" (9), PID: 14, TID: 16, fault addr: 0x0
D0403 00:43:00.573042  821103 task_signals.go:190] [  14:  30] Signal 9: terminating thread group
D0403 00:43:00.573063  821103 task_signals.go:190] [  14:  34] Signal 9: terminating thread group
I0403 00:43:00.573060  821103 compat.go:135] Uncaught signal: "killed" (9), PID: 14, TID: 17, fault addr: 0x0
D0403 00:43:00.573072  821103 task_signals.go:190] [  14:  22] Signal 9: terminating thread group
D0403 00:43:00.573078  821103 task_exit.go:186] [  14:  19] Transitioning from exit state TaskExitInitiated to TaskExitZombie
D0403 00:43:00.573087  821103 task_exit.go:186] [  14:  19] Transitioning from exit state TaskExitZombie to TaskExitDead
D0403 00:43:00.573095  821103 task_signals.go:190] [  14:  23] Signal 9: terminating thread group
I0403 00:43:00.573131  821103 compat.go:135] Uncaught signal: "killed" (9), PID: 14, TID: 23, fault addr: 0x0
D0403 00:43:00.573145  821103 task_exit.go:186] [  14:  20] Transitioning from exit state TaskExitNone to TaskExitInitiated
I0403 00:43:00.573148  821103 compat.go:135] Uncaught signal: "killed" (9), PID: 14, TID: 30, fault addr: 0x0
D0403 00:43:00.573156  821103 task_exit.go:186] [  14:  20] Transitioning from exit state TaskExitInitiated to TaskExitZombie
D0403 00:43:00.573162  821103 task_exit.go:186] [  14:  20] Transitioning from exit state TaskExitZombie to TaskExitDead
D0403 00:43:00.573165  821103 task_signals.go:190] [  14:  32] Signal 9: terminating thread group
I0403 00:43:00.573157  821103 compat.go:135] Uncaught signal: "killed" (9), PID: 14, TID: 34, fault addr: 0x0
D0403 00:43:00.573174  821103 task_exit.go:186] [  14:  23] Transitioning from exit state TaskExitNone to TaskExitInitiated
D0403 00:43:00.573083  821103 task_signals.go:190] [  14:  31] Signal 9: terminating thread group
I0403 00:43:00.573184  821103 compat.go:135] Uncaught signal: "killed" (9), PID: 14, TID: 22, fault addr: 0x0
D0403 00:43:00.573193  821103 task_signals.go:190] [  14:  33] Signal 9: terminating thread group
I0403 00:43:00.573199  821103 compat.go:135] Uncaught signal: "killed" (9), PID: 14, TID: 32, fault addr: 0x0
D0403 00:43:00.573213  821103 task_signals.go:190] [  14:  25] Signal 9: terminating thread group
I0403 00:43:00.573216  821103 compat.go:135] Uncaught signal: "killed" (9), PID: 14, TID: 31, fault addr: 0x0
D0403 00:43:00.573223  821103 task_exit.go:186] [  14:  23] Transitioning from exit state TaskExitInitiated to TaskExitZombie
I0403 00:43:00.573227  821103 compat.go:135] Uncaught signal: "killed" (9), PID: 14, TID: 33, fault addr: 0x0
D0403 00:43:00.573231  821103 task_exit.go:186] [  14:  23] Transitioning from exit state TaskExitZombie to TaskExitDead
D0403 00:43:00.573236  821103 task_signals.go:190] [  14:  27] Signal 9: terminating thread group
I0403 00:43:00.573244  821103 compat.go:135] Uncaught signal: "killed" (9), PID: 14, TID: 27, fault addr: 0x0
D0403 00:43:00.573250  821103 task_exit.go:186] [  14:  27] Transitioning from exit state TaskExitNone to TaskExitInitiated
D0403 00:43:00.573258  821103 task_exit.go:186] [  14:  27] Transitioning from exit state TaskExitInitiated to TaskExitZombie
D0403 00:43:00.573273  821103 task_exit.go:186] [  14:  27] Transitioning from exit state TaskExitZombie to TaskExitDead
I0403 00:43:00.573251  821103 compat.go:135] Uncaught signal: "killed" (9), PID: 14, TID: 25, fault addr: 0x0
D0403 00:43:00.573289  821103 task_signals.go:190] [  14: 6551] Signal 9: terminating thread group
D0403 00:43:00.573296  821103 task_exit.go:186] [  14:  25] Transitioning from exit state TaskExitNone to TaskExitInitiated
D0403 00:43:00.573304  821103 task_signals.go:190] [  14:  29] Signal 9: terminating thread group
I0403 00:43:00.573307  821103 compat.go:135] Uncaught signal: "killed" (9), PID: 14, TID: 6551, fault addr: 0x0
D0403 00:43:00.573321  821103 task_exit.go:186] [  14:  25] Transitioning from exit state TaskExitInitiated to TaskExitZombie
D0403 00:43:00.573327  821103 task_exit.go:186] [  14:  25] Transitioning from exit state TaskExitZombie to TaskExitDead
D0403 00:43:00.573326  821103 task_signals.go:190] [  14:  35] Signal 9: terminating thread group
D0403 00:43:00.573349  821103 task_signals.go:190] [  14:  21] Signal 9: terminating thread group
D0403 00:43:00.573357  821103 task_signals.go:190] [  14: 6553] Signal 9: terminating thread group
D0403 00:43:00.573358  821103 task_exit.go:186] [  14:  30] Transitioning from exit state TaskExitNone to TaskExitInitiated
D0403 00:43:00.573342  821103 task_signals.go:190] [  14: 6552] Signal 9: terminating thread group
I0403 00:43:00.573373  821103 compat.go:135] Uncaught signal: "killed" (9), PID: 14, TID: 29, fault addr: 0x0
I0403 00:43:00.573380  821103 compat.go:135] Uncaught signal: "killed" (9), PID: 14, TID: 6552, fault addr: 0x0
D0403 00:43:00.573381  821103 task_signals.go:190] [  14:  24] Signal 9: terminating thread group
I0403 00:43:00.573394  821103 compat.go:135] Uncaught signal: "killed" (9), PID: 14, TID: 35, fault addr: 0x0
D0403 00:43:00.573397  821103 task_exit.go:186] [  14: 6552] Transitioning from exit state TaskExitNone to TaskExitInitiated
I0403 00:43:00.573409  821103 compat.go:135] Uncaught signal: "killed" (9), PID: 14, TID: 24, fault addr: 0x0
I0403 00:43:00.573418  821103 compat.go:135] Uncaught signal: "killed" (9), PID: 14, TID: 6553, fault addr: 0x0
I0403 00:43:00.573425  821103 compat.go:135] Uncaught signal: "killed" (9), PID: 14, TID: 21, fault addr: 0x0
D0403 00:43:00.573463  821103 task_exit.go:186] [  14: 6552] Transitioning from exit state TaskExitInitiated to TaskExitZombie
D0403 00:43:00.573474  821103 task_exit.go:186] [  14: 6552] Transitioning from exit state TaskExitZombie to TaskExitDead
D0403 00:43:00.573491  821103 task_exit.go:186] [  14: 6551] Transitioning from exit state TaskExitNone to TaskExitInitiated
D0403 00:43:00.573502  821103 task_exit.go:186] [  14: 6551] Transitioning from exit state TaskExitInitiated to TaskExitZombie
D0403 00:43:00.573509  821103 task_exit.go:186] [  14: 6551] Transitioning from exit state TaskExitZombie to TaskExitDead
D0403 00:43:00.573530  821103 task_exit.go:186] [  14:  14] Transitioning from exit state TaskExitNone to TaskExitInitiated
D0403 00:43:00.573551  821103 task_exit.go:186] [  14:  14] Transitioning from exit state TaskExitInitiated to TaskExitZombie
D0403 00:43:00.573561  821103 task_exit.go:186] [  14:  16] Transitioning from exit state TaskExitNone to TaskExitInitiated
D0403 00:43:00.573577  821103 task_exit.go:186] [  14:  16] Transitioning from exit state TaskExitInitiated to TaskExitZombie
D0403 00:43:00.573583  821103 task_exit.go:186] [  14:  16] Transitioning from exit state TaskExitZombie to TaskExitDead
D0403 00:43:00.573593  821103 task_exit.go:186] [  14:  17] Transitioning from exit state TaskExitNone to TaskExitInitiated
D0403 00:43:00.573611  821103 task_exit.go:186] [  14:  17] Transitioning from exit state TaskExitInitiated to TaskExitZombie
D0403 00:43:00.573618  821103 task_exit.go:186] [  14:  17] Transitioning from exit state TaskExitZombie to TaskExitDead
D0403 00:43:00.573630  821103 task_exit.go:186] [  14:  22] Transitioning from exit state TaskExitNone to TaskExitInitiated
D0403 00:43:00.573647  821103 task_exit.go:186] [  14:  22] Transitioning from exit state TaskExitInitiated to TaskExitZombie
D0403 00:43:00.573667  821103 task_exit.go:186] [  14:  22] Transitioning from exit state TaskExitZombie to TaskExitDead
D0403 00:43:00.573683  821103 task_exit.go:186] [  14:  32] Transitioning from exit state TaskExitNone to TaskExitInitiated
D0403 00:43:00.573700  821103 task_exit.go:186] [  14:  32] Transitioning from exit state TaskExitInitiated to TaskExitZombie
D0403 00:43:00.573706  821103 task_exit.go:186] [  14:  32] Transitioning from exit state TaskExitZombie to TaskExitDead
D0403 00:43:00.573724  821103 task_exit.go:186] [  14:  31] Transitioning from exit state TaskExitNone to TaskExitInitiated
D0403 00:43:00.578113  821103 task_exit.go:186] [  14:  31] Transitioning from exit state TaskExitInitiated to TaskExitZombie
D0403 00:43:00.578155  821103 task_exit.go:186] [  14:  31] Transitioning from exit state TaskExitZombie to TaskExitDead
D0403 00:43:00.578167  821103 task_exit.go:186] [  14:  33] Transitioning from exit state TaskExitNone to TaskExitInitiated
D0403 00:43:00.578177  821103 task_exit.go:186] [  14:  29] Transitioning from exit state TaskExitNone to TaskExitInitiated
D0403 00:43:00.578189  821103 task_exit.go:186] [  14:  24] Transitioning from exit state TaskExitNone to TaskExitInitiated
D0403 00:43:00.578209  821103 task_exit.go:186] [  14:  34] Transitioning from exit state TaskExitNone to TaskExitInitiated
D0403 00:43:00.578217  821103 task_exit.go:186] [  14:  35] Transitioning from exit state TaskExitNone to TaskExitInitiated
D0403 00:43:00.578229  821103 task_exit.go:186] [  14: 6553] Transitioning from exit state TaskExitNone to TaskExitInitiated
D0403 00:43:00.578237  821103 task_exit.go:186] [  14:  21] Transitioning from exit state TaskExitNone to TaskExitInitiated
D0403 00:43:00.578258  821103 task_exit.go:186] [  14:  29] Transitioning from exit state TaskExitInitiated to TaskExitZombie
D0403 00:43:00.578263  821103 task_exit.go:186] [  14:  29] Transitioning from exit state TaskExitZombie to TaskExitDead
D0403 00:43:00.578281  821103 task_exit.go:186] [  14:  24] Transitioning from exit state TaskExitInitiated to TaskExitZombie
D0403 00:43:00.578301  821103 task_exit.go:186] [  14:  24] Transitioning from exit state TaskExitZombie to TaskExitDead
D0403 00:43:00.578357  821103 task_exit.go:186] [  14:  34] Transitioning from exit state TaskExitInitiated to TaskExitZombie
D0403 00:43:00.578373  821103 task_exit.go:186] [  14:  34] Transitioning from exit state TaskExitZombie to TaskExitDead
D0403 00:43:00.578383  821103 task_exit.go:186] [  14:  35] Transitioning from exit state TaskExitInitiated to TaskExitZombie
D0403 00:43:00.578399  821103 task_exit.go:186] [  14:  35] Transitioning from exit state TaskExitZombie to TaskExitDead
D0403 00:43:00.578418  821103 task_exit.go:186] [  14: 6553] Transitioning from exit state TaskExitInitiated to TaskExitZombie
D0403 00:43:00.578434  821103 task_exit.go:186] [  14: 6553] Transitioning from exit state TaskExitZombie to TaskExitDead
D0403 00:43:00.578452  821103 task_exit.go:186] [  14:  21] Transitioning from exit state TaskExitInitiated to TaskExitZombie
D0403 00:43:00.578457  821103 task_exit.go:186] [  14:  21] Transitioning from exit state TaskExitZombie to TaskExitDead
D0403 00:43:00.578679  821103 task_exit.go:186] [  14:  30] Transitioning from exit state TaskExitInitiated to TaskExitZombie
D0403 00:43:00.578717  821103 task_exit.go:186] [  14:  30] Transitioning from exit state TaskExitZombie to TaskExitDead
D0403 00:43:00.581513  821103 task_exit.go:186] [  14:  33] Transitioning from exit state TaskExitInitiated to TaskExitZombie
D0403 00:43:00.581557  821103 task_exit.go:186] [  14:  33] Transitioning from exit state TaskExitZombie to TaskExitDead
D0403 00:43:00.581566  821103 task_exit.go:186] [  14:  14] Transitioning from exit state TaskExitZombie to TaskExitDead
D0403 00:43:00.581621  821103 loader.go:1066] updated processes (removal): map[{ci-gvisor-ptrace-2-cover-1 0}:0xc000596e70]
D0403 00:43:00.581705  821103 controller.go:531] containerManager.Wait, cid: ci-gvisor-ptrace-2-cover-1, pid: 14, waitStatus: 0x100, err: <nil>
D0403 00:43:00.581809  821103 urpc.go:568] urpc: successfully marshalled 38 bytes.
D0403 00:43:00.581945  821378 urpc.go:611] urpc: unmarshal success.
I0403 00:43:00.582071  821378 main.go:243] Exiting with status: 256
D0403 00:43:00.648750  821103 urpc.go:611] urpc: unmarshal success.
D0403 00:43:00.648846  821103 controller.go:590] containerManager.Signal: cid: ci-gvisor-ptrace-2-cover-1, PID: 0, signal: 0, mode: Process
D0403 00:43:00.648928  821103 urpc.go:568] urpc: successfully marshalled 37 bytes.
D0403 00:43:00.649288  821103 urpc.go:611] urpc: unmarshal success.
D0403 00:43:01.361705  821103 urpc.go:568] urpc: successfully marshalled 12781924 bytes.
D0403 00:43:01.456710  821103 urpc.go:611] urpc: unmarshal success.
D0403 00:43:01.456816  821103 controller.go:234] containerManager.Processes, cid: ci-gvisor-ptrace-2-cover-1
D0403 00:43:01.456999  821103 urpc.go:568] urpc: successfully marshalled 170 bytes.

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/04/03 00:43 gvisor 37d5dc587779 79a2a8fc .config console log report info ci-gvisor-ptrace-2-cover SYZFAIL: tun: ioctl(TUNSETIFF) failed
2022/03/28 18:04 gvisor b8fa96e201bf ee339263 .config console log report info ci-gvisor-kvm SYZFAIL: tun: ioctl(TUNSETIFF) failed
2022/03/16 18:43 gvisor 334090575d9f 46cc3b21 .config console log report info ci-gvisor-kvm-cover SYZFAIL: tun: ioctl(TUNSETIFF) failed
2022/03/11 13:44 gvisor ee133dbcf204 9e8eaa75 .config console log report info ci-gvisor-ptrace-2-cover SYZFAIL: tun: ioctl(TUNSETIFF) failed
2022/02/23 19:42 gvisor 45835a60fd09 6e821dbf .config console log report info ci-gvisor-ptrace-2-cover SYZFAIL: tun: ioctl(TUNSETIFF) failed
2022/02/14 09:32 gvisor 0f7cbc8ecf62 8b9ca619 .config console log report info ci-gvisor-kvm SYZFAIL: tun: ioctl(TUNSETIFF) failed
2021/12/05 23:04 gvisor 969fb6fb8469 a617004c .config console log report info ci-gvisor-kvm SYZFAIL: tun: ioctl(TUNSETIFF) failed
* Struck through repros no longer work on HEAD.