syzbot


kernel BUG at include/linux/mm.h:LINE!

Status: upstream: reported C repro on 2019/04/17 12:33
Reported-by: syzbot+2346ff55f747e04b424e@syzkaller.appspotmail.com
First crash: 2046d, last: 743d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG at include/linux/mm.h:LINE! (3) fs C 14 2095d 2095d 0/28 closed as invalid on 2019/02/27 20:54
upstream kernel BUG at include/linux/mm.h:LINE! kernel syz 68 2360d 2397d 5/28 fixed on 2018/06/07 13:52
upstream kernel BUG at include/linux/mm.h:LINE! (2) net C 1009 2095d 2359d 11/28 fixed on 2019/02/26 22:09
upstream kernel BUG at include/linux/mm.h:LINE! (5) net C done done 129 2019d 2089d 15/28 fixed on 2020/01/08 01:07
upstream kernel BUG at include/linux/mm.h:LINE! (6) mm C error error 98 764d 1677d 0/28 auto-obsoleted due to no activity on 2023/06/22 14:14
linux-4.14 kernel BUG at include/linux/mm.h:LINE! 1 1808d 1808d 0/1 auto-closed as invalid on 2020/04/08 20:20
upstream kernel BUG at include/linux/mm.h:LINE! (4) fs 2 2093d 2092d 0/28 closed as invalid on 2019/03/02 20:05
Fix bisection attempts (13)
Created Duration User Patch Repo Result
2022/03/02 02:58 0m bisect fix linux-4.19.y error job log
2021/03/31 14:17 22m bisect fix linux-4.19.y OK (0) job log log
2021/02/22 01:16 21m bisect fix linux-4.19.y OK (0) job log log
2021/02/18 12:15 19m bisect fix linux-4.19.y error job log
2021/02/10 17:20 1m bisect fix linux-4.19.y error job log
2020/12/31 12:58 22m bisect fix linux-4.19.y OK (0) job log log
2020/12/01 12:28 30m bisect fix linux-4.19.y OK (0) job log log
2020/10/08 08:11 25m bisect fix linux-4.19.y OK (0) job log log
2020/09/08 07:14 28m bisect fix linux-4.19.y OK (0) job log log
2020/07/16 03:55 25m bisect fix linux-4.19.y OK (0) job log log
2020/06/16 02:39 26m bisect fix linux-4.19.y OK (0) job log log
2020/03/15 19:19 27m bisect fix linux-4.19.y OK (0) job log log
2020/01/18 10:56 25m bisect fix linux-4.19.y OK (0) job log log

Sample crash report:
flags: 0xfff00000000000()
raw: 00fff00000000000 ffffea0002c0a408 ffffea0002520208 0000000000000000
raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
page dumped because: VM_BUG_ON_PAGE(((unsigned int) page_ref_count(page) + 127u <= 127u))
------------[ cut here ]------------
kernel BUG at include/linux/mm.h:936!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 8115 Comm: syz-executor383 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:get_page include/linux/mm.h:936 [inline]
RIP: 0010:do_tcp_sendpages+0x154e/0x1910 net/ipv4/tcp.c:1027
Code: 74 24 48 41 89 86 24 09 00 00 e8 9d e9 04 00 e9 db ee ff ff e8 53 53 8a fa 48 8b 7c 24 78 48 c7 c6 80 e2 55 89 e8 02 e5 b1 fa <0f> 0b e8 3b 53 8a fa 49 8d 44 24 ff 48 89 44 24 78 e9 86 f5 ff ff
RSP: 0018:ffff888092637668 EFLAGS: 00010293
RAX: ffff888092e26080 RBX: ffff88809826ad40 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff86d8322e RDI: ffffea0002c59e38
RBP: 000000000000007f R08: 0000000000000059 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffffea0002c59e34
R13: dffffc0000000000 R14: ffff88809c7b4040 R15: 00000000000009f8
FS:  00007f78378fb700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000048 CR3: 00000000a0125000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 tls_push_sg+0x1e6/0x7c0 net/tls/tls_main.c:118
 tls_push_record+0xb4e/0x1370 net/tls/tls_sw.c:245
 tls_handle_open_record net/tls/tls_main.c:156 [inline]
 tls_sk_proto_close+0x8cf/0xc20 net/tls/tls_main.c:271
 inet_release+0xd7/0x1e0 net/ipv4/af_inet.c:427
 inet6_release+0x4c/0x70 net/ipv6/af_inet6.c:472
 __sock_release+0xcd/0x2a0 net/socket.c:599
 sock_close+0x15/0x20 net/socket.c:1214
 __fput+0x2ce/0x890 fs/file_table.c:278
 task_work_run+0x148/0x1c0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0xbf3/0x2be0 kernel/exit.c:870
 do_group_exit+0x125/0x310 kernel/exit.c:967
 get_signal+0x3f2/0x1f70 kernel/signal.c:2589
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f783796b7a9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 41 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f78378fb218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f78379f44d8 RCX: 00007f783796b7a9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f78379f44d8
RBP: 00007f78379f44d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f78379f44dc
R13: 00007fffde637d6f R14: 00007f78378fb300 R15: 0000000000022000
Modules linked in:
---[ end trace bcb1dca3ec45a63f ]---
RIP: 0010:get_page include/linux/mm.h:936 [inline]
RIP: 0010:do_tcp_sendpages+0x154e/0x1910 net/ipv4/tcp.c:1027
Code: 74 24 48 41 89 86 24 09 00 00 e8 9d e9 04 00 e9 db ee ff ff e8 53 53 8a fa 48 8b 7c 24 78 48 c7 c6 80 e2 55 89 e8 02 e5 b1 fa <0f> 0b e8 3b 53 8a fa 49 8d 44 24 ff 48 89 44 24 78 e9 86 f5 ff ff
RSP: 0018:ffff888092637668 EFLAGS: 00010293
RAX: ffff888092e26080 RBX: ffff88809826ad40 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff86d8322e RDI: ffffea0002c59e38
RBP: 000000000000007f R08: 0000000000000059 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffffea0002c59e34
R13: dffffc0000000000 R14: ffff88809c7b4040 R15: 00000000000009f8
FS:  00007f78378fb700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000048 CR3: 00000000a1088000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (308):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/09 16:48 linux-4.19.y 3f8a27f9e27b bebca8b7 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in do_tcp_sendpages
2019/04/17 12:38 linux-4.19.y 4b0e041c9dad b0e8efcb .config console log report syz C ci2-linux-4-19
2019/04/17 12:06 linux-4.19.y 4b0e041c9dad b0e8efcb .config console log report syz C ci2-linux-4-19
2022/06/02 14:22 linux-4.19.y 3f8a27f9e27b 6e12f05f .config console log report syz ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2021/04/24 21:34 linux-4.19.y 2965db2e004c 17f0b706 .config console log report syz ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/11/09 14:56 linux-4.19.y 3f8a27f9e27b bebca8b7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in do_tcp_sendpages
2022/11/09 02:46 linux-4.19.y 3f8a27f9e27b 5fa28208 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/06/07 00:23 linux-4.19.y 3f8a27f9e27b c8857892 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/06/02 12:45 linux-4.19.y 3f8a27f9e27b 6e12f05f .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/04/25 23:26 linux-4.19.y 3f8a27f9e27b 152baedd .config console log report info ci2-linux-4-19 kernel BUG in do_tcp_sendpages
2022/04/12 03:18 linux-4.19.y 3f8a27f9e27b af01ee7d .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/04/11 13:52 linux-4.19.y 3f8a27f9e27b e22c3da3 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/04/02 11:53 linux-4.19.y 3f8a27f9e27b 79a2a8fc .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/03/27 20:46 linux-4.19.y 3f8a27f9e27b 89bc8608 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/03/20 02:22 linux-4.19.y 3f8a27f9e27b e2d91b1d .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/03/13 06:50 linux-4.19.y 3f8a27f9e27b 9e8eaa75 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/03/06 13:55 linux-4.19.y 3f8a27f9e27b 7bdd8b2c .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/31 02:01 linux-4.19.y 3f8a27f9e27b 495e00c5 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/27 01:23 linux-4.19.y 3f8a27f9e27b 2cbffd88 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/25 19:26 linux-4.19.y 3f8a27f9e27b 2cbffd88 .config console log report info ci2-linux-4-19 kernel BUG in do_tcp_sendpages
2022/01/24 15:13 linux-4.19.y 3f8a27f9e27b 214351e1 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/21 05:22 linux-4.19.y 3f8a27f9e27b ab3d9f17 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/20 23:41 linux-4.19.y 3f8a27f9e27b b838eb76 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/20 09:13 linux-4.19.y 3f8a27f9e27b 5da9499f .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/20 05:48 linux-4.19.y 3f8a27f9e27b 5da9499f .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/19 21:30 linux-4.19.y 3f8a27f9e27b 5da9499f .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/19 08:54 linux-4.19.y 3f8a27f9e27b 0620189b .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/19 03:29 linux-4.19.y 3f8a27f9e27b 731a2d23 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/19 00:47 linux-4.19.y 3f8a27f9e27b 731a2d23 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/18 21:48 linux-4.19.y 3f8a27f9e27b 731a2d23 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/18 19:58 linux-4.19.y 3f8a27f9e27b 731a2d23 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/18 13:33 linux-4.19.y 3f8a27f9e27b 731a2d23 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/18 00:57 linux-4.19.y 3f8a27f9e27b 731a2d23 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/17 21:31 linux-4.19.y 3f8a27f9e27b 731a2d23 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/17 16:53 linux-4.19.y 3f8a27f9e27b 731a2d23 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/17 10:46 linux-4.19.y 3f8a27f9e27b 731a2d23 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/17 08:33 linux-4.19.y 3f8a27f9e27b 723cfaf0 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/17 07:23 linux-4.19.y 3f8a27f9e27b 723cfaf0 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/17 05:13 linux-4.19.y 3f8a27f9e27b 723cfaf0 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/17 02:44 linux-4.19.y 3f8a27f9e27b 723cfaf0 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/16 22:05 linux-4.19.y 3f8a27f9e27b 723cfaf0 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/16 20:11 linux-4.19.y 3f8a27f9e27b 723cfaf0 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/16 18:55 linux-4.19.y 3f8a27f9e27b 723cfaf0 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/16 17:52 linux-4.19.y 3f8a27f9e27b 723cfaf0 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/16 16:51 linux-4.19.y 3f8a27f9e27b 723cfaf0 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/16 14:51 linux-4.19.y 3f8a27f9e27b 723cfaf0 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/16 12:08 linux-4.19.y 3f8a27f9e27b 723cfaf0 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/16 09:51 linux-4.19.y 3f8a27f9e27b 723cfaf0 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/16 07:30 linux-4.19.y 3f8a27f9e27b 723cfaf0 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/16 04:42 linux-4.19.y 3f8a27f9e27b 723cfaf0 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/15 23:39 linux-4.19.y 3f8a27f9e27b 723cfaf0 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2022/01/15 21:40 linux-4.19.y 3f8a27f9e27b 723cfaf0 .config console log report info ci2-linux-4-19 kernel BUG in tcp_write_queue_purge
2021/09/01 03:17 linux-4.19.y e23d55af0e1f 7eb7e152 .config console log report info ci2-linux-4-19 kernel BUG in vmalloc
2021/07/28 08:41 linux-4.19.y 4938296e03bd 17d6ab15 .config console log report info ci2-linux-4-19 kernel BUG in ___pmd_free_tlb
2021/06/26 22:32 linux-4.19.y eb575cd5d7f6 9d2ab5df .config console log report info ci2-linux-4-19 kernel BUG in entry_SYSCALL_64_after_hwframe
2021/01/11 17:20 linux-4.19.y 610bdbf6a174 2c1f2513 .config console log report info ci2-linux-4-19
* Struck through repros no longer work on HEAD.