Re: [syzbot] BUG: unable to handle kernel NULL pointer dereference in smack_inode_permission

From: Dmitry Vyukov
Date: Mon Nov 14 2022 - 15:16:12 EST


On Mon, 14 Nov 2022 at 20:20, Richard Cochran <richardcochran@xxxxxxxxx> wrote:
>
> On Sun, Nov 13, 2022 at 04:05:47PM -0800, syzbot wrote:
> > Hello,
> >
> > syzbot found the following issue on:
> >
> > HEAD commit: 56751c56c2a2 Merge branch 'for-next/fixes' into for-kernelci
> > git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
> > console output: https://syzkaller.appspot.com/x/log.txt?x=11fc8b0e880000
> > kernel config: https://syzkaller.appspot.com/x/.config?x=606e57fd25c5c6cc
> > dashboard link: https://syzkaller.appspot.com/bug?extid=0f89bd13eaceccc0e126
> > compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
> > userspace arch: arm64
> > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10a691fa880000
> > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1733c5b9880000
> >
> > Downloadable assets:
> > disk image: https://storage.googleapis.com/syzbot-assets/cf4668c75dea/disk-56751c56.raw.xz
> > vmlinux: https://storage.googleapis.com/syzbot-assets/e1ef82e91ef7/vmlinux-56751c56.xz
> > kernel image: https://storage.googleapis.com/syzbot-assets/3dabe076170f/Image-56751c56.gz.xz
> >
> > IMPORTANT: if you fix the issue, please add the following tag to the commit:
> > Reported-by: syzbot+0f89bd13eaceccc0e126@xxxxxxxxxxxxxxxxxxxxxxxxx
>
> Why was this email addressed to me?

Hi Richard,

You are listed as maintainer for the file this crash was attributed to:

$ ./scripts/get_maintainer.pl -f security/smack/smack_lsm.c
...
Richard Cochran <richardcochran@xxxxxxxxx> (maintainer:PTP HARDWARE
CLOCK SUPPORT)
...

Also see:
https://lore.kernel.org/all/Y279BqPNYAr+5OxC@sol.localdomain/