Hello,syzbot has tested the proposed patch and the reproducer did not trigger crash:
Reported-and-tested-by: syzbot+a57b2aff60832666fc28@xxxxxxxxxxxxxxxxxxxxxxxxx
Tested on: commit: 9a03b23d selinux: fix calling ebitmap_destroy() on null ptr git tree: http://evilpiepirate.org/git/bcachefs.git syzbot-fix kernel config: https://syzkaller.appspot.com/x/.config?x=2f8e9856965eaf03 compiler: gcc (GCC) 9.0.0 20190115 (experimental) Note: testing is done by a robot and is best-effort only.