syzbot


WARNING in sock_map_close

Status: upstream: reported C repro on 2024/04/04 17:51
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+6c7d6e3a6d55e4d34f42@syzkaller.appspotmail.com
First crash: 220d, last: 66d
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2024/06/22 upstream (ToT) 563a50672d8a C [report] SYZFAIL: NL802154_CMD_SET_SHORT_ADDR failed
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in sock_map_close origin:upstream missing-backport C inconclusive 1 151d 211d 0/3 auto-obsoleted due to no activity on 2024/10/03 08:16
upstream WARNING in sock_map_close (2) bpf net C done 3 81d 80d 28/28 fixed on 2024/10/22 11:57
upstream WARNING in sock_map_close bpf net C error 182 153d 216d 25/28 fixed on 2024/06/11 03:41
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2024/10/15 00:56 0m bisect fix linux-6.1.y error job log
2024/09/05 21:15 1h26m bisect fix linux-6.1.y OK (0) job log log
2024/08/01 11:54 1h03m bisect fix linux-6.1.y OK (0) job log log
2024/06/13 19:34 1h50m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3657 at net/core/sock_map.c:1644 sock_map_close+0x29b/0x2d0
Modules linked in:
CPU: 0 PID: 3657 Comm: syz-executor366 Not tainted 6.1.90-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:sock_map_close+0x29b/0x2d0 net/core/sock_map.c:1644
Code: 89 df e8 38 7d 49 f9 48 8b 1b 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 1f 7d 49 f9 4c 8b 33 eb 8b e8 d5 05 f2 f8 <0f> 0b 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 bf 05 f2 f8
RSP: 0018:ffffc900040ffc90 EFLAGS: 00010293
RAX: ffffffff8898877b RBX: ffffffff920e3580 RCX: ffff88807bea8000
RDX: 0000000000000000 RSI: ffffffff8aec01c0 RDI: ffffffff8b3d43e0
RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff2093658
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807b58a800
R13: 1ffff1100e12f603 R14: ffffffff889884e0 R15: ffffffff8898850c
FS:  000055555628e380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000007ca8d000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 unix_release+0x7e/0xc0 net/unix/af_unix.c:1038
 __sock_release net/socket.c:654 [inline]
 sock_close+0xcd/0x230 net/socket.c:1400
 __fput+0x3b7/0x890 fs/file_table.c:320
 task_work_run+0x246/0x300 kernel/task_work.c:179
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303
 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fe086e5d3a0
Code: ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 80 3d e1 8c 07 00 00 74 17 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c
RSP: 002b:00007ffe24a9cf68 EFLAGS: 00000202 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007fe086e5d3a0
RDX: 0000000000000010 RSI: 00000000200004c0 RDI: 0000000000000004
RBP: 0000000000000000 R08: 000000005628f610 R09: 000000005628f610
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (60):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/14 18:18 linux-6.1.y 909ba1f1b414 fdb4c10c .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/05/12 18:13 linux-6.1.y 909ba1f1b414 9026e142 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/05/12 08:39 linux-6.1.y 909ba1f1b414 9026e142 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/05/11 22:25 linux-6.1.y 909ba1f1b414 9026e142 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/05/10 08:58 linux-6.1.y 909ba1f1b414 de979bc2 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/05/09 19:53 linux-6.1.y 909ba1f1b414 05079661 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/05/09 14:54 linux-6.1.y 909ba1f1b414 05079661 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/05/08 14:28 linux-6.1.y 909ba1f1b414 4cf3f9b3 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/05/06 20:41 linux-6.1.y 909ba1f1b414 d884b519 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/05/06 07:36 linux-6.1.y 909ba1f1b414 610f2a54 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/05/05 20:24 linux-6.1.y 909ba1f1b414 610f2a54 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/05/05 16:33 linux-6.1.y 909ba1f1b414 610f2a54 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/05/05 06:03 linux-6.1.y 909ba1f1b414 610f2a54 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/05/05 01:54 linux-6.1.y 909ba1f1b414 610f2a54 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/05/04 16:35 linux-6.1.y 909ba1f1b414 610f2a54 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/05/04 09:36 linux-6.1.y 909ba1f1b414 610f2a54 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/05/03 16:57 linux-6.1.y 909ba1f1b414 dd26401e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/05/02 11:12 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/05/02 07:16 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/05/01 19:45 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/30 19:01 linux-6.1.y dcbc050cb0d3 3ce4924c .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/30 10:37 linux-6.1.y dcbc050cb0d3 f10afd69 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/30 06:57 linux-6.1.y dcbc050cb0d3 f10afd69 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/30 02:23 linux-6.1.y dcbc050cb0d3 f10afd69 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/29 06:09 linux-6.1.y f2295faba5e8 07b455f9 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/29 00:48 linux-6.1.y f2295faba5e8 07b455f9 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/28 17:59 linux-6.1.y f2295faba5e8 07b455f9 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/28 11:34 linux-6.1.y f2295faba5e8 07b455f9 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/28 07:03 linux-6.1.y f2295faba5e8 07b455f9 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/28 01:49 linux-6.1.y f2295faba5e8 07b455f9 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/27 22:07 linux-6.1.y f2295faba5e8 07b455f9 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/27 13:57 linux-6.1.y 6741e066ec76 07b455f9 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/27 01:20 linux-6.1.y 6741e066ec76 059e9963 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/26 07:12 linux-6.1.y 6741e066ec76 8bdc0f22 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/25 13:21 linux-6.1.y 6741e066ec76 8bdc0f22 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/25 09:30 linux-6.1.y 6741e066ec76 8bdc0f22 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/24 10:36 linux-6.1.y 6741e066ec76 21339d7b .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/24 02:15 linux-6.1.y 6741e066ec76 21339d7b .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/23 22:26 linux-6.1.y 6741e066ec76 21339d7b .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/23 03:35 linux-6.1.y 6741e066ec76 36c961ad .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/22 23:42 linux-6.1.y 6741e066ec76 36c961ad .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/21 11:04 linux-6.1.y 6741e066ec76 af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/20 16:41 linux-6.1.y 6741e066ec76 af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/20 07:25 linux-6.1.y 6741e066ec76 af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/20 00:58 linux-6.1.y 6741e066ec76 af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/19 21:18 linux-6.1.y 6741e066ec76 af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/19 13:19 linux-6.1.y 6741e066ec76 af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/19 07:59 linux-6.1.y 6741e066ec76 af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/19 00:07 linux-6.1.y 6741e066ec76 af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/18 03:30 linux-6.1.y 6741e066ec76 acc528cb .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/17 20:04 linux-6.1.y 6741e066ec76 acc528cb .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/17 07:45 linux-6.1.y cd5d98c0556c 18f6e127 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/17 03:32 linux-6.1.y cd5d98c0556c 18f6e127 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/13 02:59 linux-6.1.y bf1e3b1cb1e0 c8349e48 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/05 09:36 linux-6.1.y 347385861c50 0ee3535e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/05 05:04 linux-6.1.y 347385861c50 0ee3535e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/05 00:49 linux-6.1.y 347385861c50 0ee3535e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/04/04 17:50 linux-6.1.y 347385861c50 0ee3535e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in sock_map_close
2024/05/07 18:11 linux-6.1.y 909ba1f1b414 cb2dcc0e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in sock_map_close
2024/04/16 20:45 linux-6.1.y cd5d98c0556c 18f6e127 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in sock_map_close
* Struck through repros no longer work on HEAD.