syzbot


WARNING in ext4_xattr_set_entry
Status: upstream: reported C repro on 2020/12/12 14:13
Reported-by: syzbot+98b881fdd8ebf45ab4ae@syzkaller.appspotmail.com
Fix commit: 6b22489911b7 ext4: do not try to set xattr into ea_inode if value is empty
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-qemu2-riscv64 ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386 ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu2-arm32]
First crash: 229d, last: 142d

Cause bisection: introduced by (bisect log) [no-op commit]:
commit e0cb35095753c038f42d1b6bf68c4cd063b3fd21
Author: Eric Anholt <eric@anholt.net>
Date: Mon Oct 3 18:52:08 2016 +0000

  ARM: bcm2835: Add #define for VCHIQ property message.

Crash: WARNING in nf_unregister_net_hook (log)
Repro: C syz .config
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in ext4_xattr_set_entry C done 12 139d 273d 1/1 fixed on 2021/04/07 11:11
linux-4.14 WARNING in ext4_xattr_set_entry C done 19 141d 297d 1/1 fixed on 2021/04/07 11:21

Sample crash report:

Fix bisection attempts:
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2021/03/05 12:46 upstream 280d542f6ffa 79264ae3 .config log report syz C
ci-upstream-kasan-gce-root 2021/01/31 03:57 upstream 6642d600b541 79264ae3 .config log report syz C
Crashes (7):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2021/01/01 00:36 upstream f6e1ea196492 79264ae3 .config log report syz C
ci-upstream-kasan-gce-root 2021/01/01 00:15 upstream f6e1ea196492 79264ae3 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/12/24 13:03 upstream 58cf05f597b0 c2c1d1dd .config log report syz C
ci-upstream-kasan-gce-selinux-root 2020/12/24 12:27 upstream 58cf05f597b0 c2c1d1dd .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/12/08 14:27 upstream cd796ed33450 51a9082e .config log report syz C
ci-upstream-kasan-gce-smack-root 2020/12/08 14:06 upstream cd796ed33450 51a9082e .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/12/13 16:56 linux-next 14240d4c5b25 bca53db9 .config log report syz C