syzbot


WARNING in page_counter_cancel (2)

Status: auto-closed as invalid on 2021/04/05 00:39
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+77ce5863039267003700@syzkaller.appspotmail.com
First crash: 1376d, last: 1367d
Discussions (1)
Title Replies (including bot) Last reply
WARNING in page_counter_cancel (2) 0 (1) 2020/12/31 13:49
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in page_counter_cancel mm 1 2282d 2282d 0/28 closed as invalid on 2018/07/05 16:25
upstream WARNING in page_counter_cancel (3) mm C done 22 997d 1047d 20/28 fixed on 2022/03/08 16:11
upstream WARNING in page_counter_cancel (4) mm C done 4 792d 808d 0/28 auto-obsoleted due to no activity on 2022/11/26 07:53

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 2 PID: 10280 at mm/page_counter.c:57 page_counter_cancel mm/page_counter.c:57 [inline]
WARNING: CPU: 2 PID: 10280 at mm/page_counter.c:57 page_counter_cancel+0x56/0x70 mm/page_counter.c:50
Modules linked in:
CPU: 2 PID: 10280 Comm: syz-executor.3 Not tainted 5.11.0-rc2-syzkaller #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014
RIP: 0010:page_counter_cancel mm/page_counter.c:57 [inline]
RIP: 0010:page_counter_cancel+0x56/0x70 mm/page_counter.c:50
Code: 89 ef 48 89 c3 48 89 c6 e8 37 fd ff ff 31 ff 48 89 de e8 0d c3 b8 ff 48 85 db 78 09 5b 5d 41 5c e9 6f bc b8 ff e8 6a bc b8 ff <0f> 0b 5b 5d 41 5c e9 5f bc b8 ff 0f 1f 44 00 00 66 2e 0f 1f 84 00
RSP: 0018:ffffc900022d77a8 EFLAGS: 00010012
RAX: 0000000000004be4 RBX: ffffffffffffffb0 RCX: ffffc90029d0f000
RDX: 0000000000040000 RSI: ffffffff81b9bb96 RDI: 0000000000000003
RBP: ffff8880282da120 R08: 0000000000000000 R09: ffff8880109d017f
R10: ffffffff81b9bb83 R11: 0000000000000000 R12: 000000000000010f
R13: 0000000000000200 R14: ffff8880282da000 R15: 0000000000000002
FS:  00007f22f59e1700(0000) GS:ffff88802cc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020008000 CR3: 000000006ce96000 CR4: 0000000000350ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 page_counter_uncharge+0x2e/0x60 mm/page_counter.c:156
 drain_stock+0xc9/0x2c0 mm/memcontrol.c:2314
 refill_stock+0x132/0x270 mm/memcontrol.c:2363
 __sk_mem_reduce_allocated+0x24d/0x550 net/core/sock.c:2711
 sk_mem_uncharge include/net/sock.h:1537 [inline]
 dfrag_uncharge net/mptcp/protocol.c:978 [inline]
 dfrag_clear+0x45e/0x540 net/mptcp/protocol.c:987
 __mptcp_clean_una+0x146/0xc60 net/mptcp/protocol.c:1011
 mptcp_release_cb+0x2d4/0x330 net/mptcp/protocol.c:2939
 release_sock+0xb4/0x1b0 net/core/sock.c:3072
 sk_stream_wait_memory+0x608/0xed0 net/core/stream.c:145
 mptcp_sendmsg+0xd87/0x27b0 net/mptcp/protocol.c:1682
 inet_sendmsg+0x99/0xe0 net/ipv4/af_inet.c:817
 sock_sendmsg_nosec net/socket.c:652 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:672
 __sys_sendto+0x21c/0x320 net/socket.c:1975
 __do_sys_sendto net/socket.c:1987 [inline]
 __se_sys_sendto net/socket.c:1983 [inline]
 __x64_sys_sendto+0xdd/0x1b0 net/socket.c:1983
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45dd69
Code: bd b1 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 8b b1 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f22f59e0c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 000000000045dd69
RDX: 00000000ffffffe7 RSI: 0000000020000100 RDI: 0000000000000003
RBP: 00000000004aaebd R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000c000 R11: 0000000000000246 R12: 000000000075bf60
R13: 00007ffc5f010fdf R14: 00007f22f59c1000 R15: 0000000000000003

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/01/05 00:38 upstream 36bbbd0e234d 2a28ff1f .config console log report info ci-qemu-upstream
2021/01/03 01:56 upstream 3516bd729358 79264ae3 .config console log report info ci-qemu-upstream
2020/12/27 16:11 upstream f838f8d2b694 2242f77f .config console log report info ci-qemu-upstream
2020/12/27 14:41 upstream f838f8d2b694 2242f77f .config console log report info ci-qemu-upstream
2020/12/27 13:50 upstream f838f8d2b694 2242f77f .config console log report info ci-qemu-upstream
2021/01/03 02:34 upstream 3516bd729358 79264ae3 .config console log report info ci-qemu-upstream-386
2020/12/30 18:38 upstream 139711f033f6 ecb8c012 .config console log report info ci-qemu-upstream-386
2020/12/27 19:37 upstream f838f8d2b694 2242f77f .config console log report info ci-qemu-upstream-386
2020/12/27 18:51 upstream f838f8d2b694 2242f77f .config console log report info ci-qemu-upstream-386
2020/12/27 18:03 upstream f838f8d2b694 2242f77f .config console log report info ci-qemu-upstream-386
2020/12/27 15:33 upstream f838f8d2b694 2242f77f .config console log report info ci-qemu-upstream-386
2020/12/27 14:49 upstream f838f8d2b694 2242f77f .config console log report info ci-qemu-upstream-386
2020/12/27 13:41 upstream f838f8d2b694 2242f77f .config console log report info ci-qemu-upstream-386
* Struck through repros no longer work on HEAD.