Hello, syzbot has tested the proposed patch and the reproducer did not trigger crash:
Reported-and-tested-by: syzbot+c96e4dfb32f8987fd...@syzkaller.appspotmail.com Tested on: commit: 152c6a4d genetlink: get rid of family->attrbuf git tree: https://github.com/congwang/linux.git net kernel config: https://syzkaller.appspot.com/x/.config?x=20c907630cbdbe5 dashboard link: https://syzkaller.appspot.com/bug?extid=c96e4dfb32f8987fdeed compiler: clang version 10.0.0 (https://github.com/llvm/llvm-project/ c2443155a0fb245c8f17f2c1c72b6ea391e86e81) Note: testing is done by a robot and is best-effort only.