Re: [syzbot] [arm] BUG: bad usercopy in fpa_set

From: syzbot
Date: Fri Apr 05 2024 - 07:44:11 EST


Hello,

syzbot tried to test the proposed patch but the build/boot failed:

/include/linux/stddef.h:16:33: error: invalid use of undefined type 'struct task_struct'
/arch/arm/include/asm/processor.h:44:24: error: invalid application of 'sizeof' to incomplete type 'struct thread_info'


Tested on:

commit: 8cb4a9a8 x86/cpufeatures: Add CPUID_LNX_5 to track rec..
git tree: upstream
kernel config: https://syzkaller.appspot.com/x/.config?x=f0bf9b3a0ca93c59
dashboard link: https://syzkaller.appspot.com/bug?extid=cb76c2983557a07cdb14
compiler: arm-linux-gnueabi-gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm
patch: https://syzkaller.appspot.com/x/patch.diff?x=157e1bb5180000