syzbot


BUG: Bad rss-counter state (3)

Status: fixed on 2020/01/31 18:49
Reported-by: syzbot+f2a1633f249cece865fe@syzkaller.appspotmail.com
Fix commit: 173d9d9fd3dd mm/huge_memory: splitting set mapping+index before unfreeze
First crash: 2428d, last: 1942d
Cause bisection: introduced by (bisect log) [merge commit]:
commit 639a53da7c8cea7e476fed5e9ce6b1fa1bcce05a
Author: Daniel Borkmann <daniel@iogearbox.net>
Date: Fri Mar 23 16:38:57 2018 +0000

  Merge branch 'bpf-print-insns-api'

Crash: BUG: Bad rss-counter state (log)
Repro: C syz .config
  
Fix bisection: fixed by (bisect log) :
commit 173d9d9fd3ddae84c110fea8aedf1f26af6be9ec
Author: Hugh Dickins <hughd@google.com>
Date: Fri Nov 30 22:10:16 2018 +0000

  mm/huge_memory: splitting set mapping+index before unfreeze

  
Discussions (1)
Title Replies (including bot) Last reply
BUG: Bad rss-counter state (3) 1 (3) 2019/12/09 01:38
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: Bad rss-counter state syz 20 2614d 2577d 0/28 closed as invalid on 2017/10/31 09:42
upstream BUG: Bad rss-counter state (2) kernel 11 2528d 2529d 0/28 closed as invalid on 2018/02/01 12:07
linux-4.19 BUG: Bad rss-counter state C error 18 1147d 1693d 0/1 upstream: reported C repro on 2020/04/03 02:55
upstream BUG: Bad rss-counter state (4) C done unreliable 124 556d 1648d 0/28 auto-obsoleted due to no activity on 2023/08/23 09:04
linux-4.14 BUG: Bad rss-counter state (2) 4 1349d 1446d 0/1 auto-closed as invalid on 2021/07/10 23:34
linux-4.14 BUG: Bad rss-counter state 1 1805d 1805d 0/1 auto-closed as invalid on 2020/04/11 05:38
upstream BUG: Bad rss-counter state (5) bcachefs C done 840 2d01h 191d 0/28 upstream: reported C repro on 2024/05/13 10:19
android-54 BUG: Bad rss-counter state C 5 13d 1655d 0/2 upstream: reported C repro on 2020/05/11 02:06
android-49 BUG: Bad rss-counter state 11325 1813d 2047d 0/3 auto-closed as invalid on 2020/03/03 11:04

Sample crash report:
BUG: Bad rss-counter state mm:00000000d5737ed7 idx:1 val:1
BUG: Bad rss-counter state mm:00000000d5737ed7 idx:3 val:-1

Crashes (438):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/04/18 21:56 upstream a27fc14219f2 829f0234 .config console log report syz C ci-upstream-kasan-gce
2018/04/28 15:33 upstream 46dc111dfe47 d5a5d045 .config console log report syz C ci-upstream-kasan-gce-386
2018/09/02 05:41 https://github.com/google/kmsan.git master 28f0ca98eadf a4718693 .config console log report syz C ci-upstream-kmsan-gce
2018/08/30 07:04 https://github.com/google/kmsan.git master 2dca2cbde67a 6c7e9d3d .config console log report syz C ci-upstream-kmsan-gce
2018/08/18 21:50 https://github.com/google/kmsan.git master 0cc51dc9a291 de20bcbb .config console log report syz C ci-upstream-kmsan-gce
2018/07/23 17:17 https://github.com/google/kmsan.git master d1c2a46a46f6 f69c5fcd .config console log report syz C ci-upstream-kmsan-gce
2018/07/23 14:07 https://github.com/google/kmsan.git master d1c2a46a46f6 f69c5fcd .config console log report syz C ci-upstream-kmsan-gce
2018/07/18 13:05 https://github.com/google/kmsan.git master 80ecacc456c1 809256c3 .config console log report syz C ci-upstream-kmsan-gce
2018/07/16 22:40 https://github.com/google/kmsan.git master 80ecacc456c1 40cb0c9a .config console log report syz C ci-upstream-kmsan-gce
2018/07/15 14:04 https://github.com/google/kmsan.git master 80ecacc456c1 92a49505 .config console log report syz C ci-upstream-kmsan-gce
2018/07/13 22:46 https://github.com/google/kmsan.git master e74f81fe9c5d 92a49505 .config console log report syz C ci-upstream-kmsan-gce
2018/07/13 12:36 https://github.com/google/kmsan.git master e74f81fe9c5d 92a49505 .config console log report syz C ci-upstream-kmsan-gce
2019/07/28 06:53 upstream 5168afe6ef59 c85e1c5b .config console log report syz ci-upstream-kasan-gce
2019/07/19 04:06 upstream 22051d9c4a57 7bb222f7 .config console log report syz ci-upstream-kasan-gce-selinux-root
2019/07/19 03:43 upstream 22051d9c4a57 7bb222f7 .config console log report syz ci-upstream-kasan-gce
2019/07/19 03:22 upstream 22051d9c4a57 7bb222f7 .config console log report syz ci-upstream-kasan-gce-root
2019/07/29 08:28 upstream a9815a4fa2fd c85e1c5b .config console log report ci-upstream-kasan-gce
2019/07/29 00:34 upstream a9815a4fa2fd c85e1c5b .config console log report ci-upstream-kasan-gce-root
2019/07/28 16:29 upstream a9815a4fa2fd c85e1c5b .config console log report ci-upstream-kasan-gce-selinux-root
2019/07/28 15:09 upstream a9815a4fa2fd c85e1c5b .config console log report ci-upstream-kasan-gce-selinux-root
2019/07/28 14:02 upstream 5168afe6ef59 c85e1c5b .config console log report ci-upstream-kasan-gce-selinux-root
2019/07/28 12:53 upstream 5168afe6ef59 c85e1c5b .config console log report ci-upstream-kasan-gce-selinux-root
2019/07/28 11:15 upstream 5168afe6ef59 c85e1c5b .config console log report ci-upstream-kasan-gce-selinux-root
2019/07/28 09:40 upstream 5168afe6ef59 c85e1c5b .config console log report ci-upstream-kasan-gce
2019/07/28 08:26 upstream 5168afe6ef59 c85e1c5b .config console log report ci-upstream-kasan-gce-selinux-root
2019/07/28 06:42 upstream 5168afe6ef59 c85e1c5b .config console log report ci-upstream-kasan-gce
2019/07/27 15:15 upstream 3ea54d9b0d65 c85e1c5b .config console log report ci-upstream-kasan-gce
2019/07/27 14:08 upstream 3ea54d9b0d65 c85e1c5b .config console log report ci-upstream-kasan-gce-smack-root
2019/07/27 12:02 upstream 3ea54d9b0d65 c85e1c5b .config console log report ci-upstream-kasan-gce-root
2019/07/27 08:23 upstream 3ea54d9b0d65 c85e1c5b .config console log report ci-upstream-kasan-gce-selinux-root
2019/07/27 06:25 upstream 3ea54d9b0d65 c85e1c5b .config console log report ci-upstream-kasan-gce
2019/07/27 04:44 upstream 3ea54d9b0d65 c85e1c5b .config console log report ci-upstream-kasan-gce-selinux-root
2019/07/26 16:58 upstream 6789f873ed37 3e5d1beb .config console log report ci-upstream-kasan-gce
2019/07/26 15:01 upstream 6789f873ed37 3e5d1beb .config console log report ci-upstream-kasan-gce
2019/07/26 05:29 upstream 6789f873ed37 732bc5a0 .config console log report ci-upstream-kasan-gce-root
2019/07/26 01:59 upstream 6789f873ed37 732bc5a0 .config console log report ci-upstream-kasan-gce-root
2019/07/25 20:53 upstream 6789f873ed37 732bc5a0 .config console log report ci-upstream-kasan-gce-smack-root
2019/07/25 15:26 upstream bed38c3e2dca 32329ceb .config console log report ci-upstream-kasan-gce-root
2019/07/25 14:04 upstream bed38c3e2dca 32329ceb .config console log report ci-upstream-kasan-gce-selinux-root
2019/07/25 13:34 upstream bed38c3e2dca 32329ceb .config console log report ci-upstream-kasan-gce-root
2019/07/25 12:31 upstream bed38c3e2dca 32329ceb .config console log report ci-upstream-kasan-gce
2019/07/25 01:39 upstream bed38c3e2dca 32329ceb .config console log report ci-upstream-kasan-gce-selinux-root
2019/07/24 23:15 upstream bed38c3e2dca 32329ceb .config console log report ci-upstream-kasan-gce-smack-root
2019/07/24 09:43 upstream abdfd52a295f de453f34 .config console log report ci-upstream-kasan-gce
2019/07/24 08:18 upstream abdfd52a295f de453f34 .config console log report ci-upstream-kasan-gce
2019/07/24 06:23 upstream abdfd52a295f de453f34 .config console log report ci-upstream-kasan-gce
2019/07/24 02:27 upstream c6dd78fcb8ee de453f34 .config console log report ci-upstream-kasan-gce-selinux-root
2019/07/24 01:06 upstream abdfd52a295f de453f34 .config console log report ci-upstream-kasan-gce
2019/07/23 23:18 upstream abdfd52a295f de453f34 .config console log report ci-upstream-kasan-gce
2019/07/23 22:05 upstream abdfd52a295f de453f34 .config console log report ci-upstream-kasan-gce
2019/07/23 19:27 upstream abdfd52a295f de453f34 .config console log report ci-upstream-kasan-gce
2019/07/23 08:59 upstream abdfd52a295f 55e0c077 .config console log report ci-upstream-kasan-gce
2019/07/22 19:19 upstream abdfd52a295f b3c615f5 .config console log report ci-upstream-kasan-gce
2019/07/22 16:31 upstream c6dd78fcb8ee b3c615f5 .config console log report ci-upstream-kasan-gce-root
2018/03/29 17:35 upstream 0b412605ef5f d47f0ed6 .config console log report ci-upstream-kasan-gce-root
2019/07/29 06:48 upstream a9815a4fa2fd c85e1c5b .config console log report ci-upstream-kasan-gce-386
2019/07/27 09:24 upstream 3ea54d9b0d65 c85e1c5b .config console log report ci-upstream-kasan-gce-386
2019/07/26 23:25 upstream 6789f873ed37 3e5d1beb .config console log report ci-upstream-kasan-gce-386
2019/07/26 20:34 upstream 6789f873ed37 3e5d1beb .config console log report ci-upstream-kasan-gce-386
2019/07/26 12:36 upstream 6789f873ed37 3e5d1beb .config console log report ci-upstream-kasan-gce-386
2019/07/26 09:26 upstream 6789f873ed37 3e5d1beb .config console log report ci-upstream-kasan-gce-386
2019/07/26 00:47 upstream 6789f873ed37 732bc5a0 .config console log report ci-upstream-kasan-gce-386
2019/07/23 10:04 upstream abdfd52a295f 55e0c077 .config console log report ci-upstream-kasan-gce-386
2019/07/23 03:57 upstream abdfd52a295f 55e0c077 .config console log report ci-upstream-kasan-gce-386
2018/11/26 17:44 net-next-old 4bffc669d624 ac912200 .config console log report ci-upstream-net-kasan-gce
2019/07/24 04:23 linux-next 6d21a41b7b1f de453f34 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/07/24 03:00 linux-next 6d21a41b7b1f de453f34 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/07/23 00:47 linux-next 6d21a41b7b1f 55e0c077 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.