Linux-mm Archive mirror
 help / color / mirror / Atom feed
* upstream build error (11)
@ 2020-10-28  8:31 syzbot
  2021-01-09 20:41 ` Dmitry Vyukov
  0 siblings, 1 reply; 4+ messages in thread
From: syzbot @ 2020-10-28  8:31 UTC (permalink / raw
  To: akpm, linux-kernel, linux-mm, syzkaller-bugs

Hello,

syzbot found the following issue on:

HEAD commit:    4d09c1d9 Merge tag 'devicetree-fixes-for-5.10-1' of git://..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=1615899c500000
kernel config:  https://syzkaller.appspot.com/x/.config?x=a5c844e56cc50cdb
dashboard link: https://syzkaller.appspot.com/bug?extid=5b0d0de84d6c65b8dd2b
compiler:       gcc (GCC) 10.1.0-syz 20200507

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+5b0d0de84d6c65b8dd2b@syzkaller.appspotmail.com

mm/process_vm_access.c:277:5: error: implicit declaration of function 'in_compat_syscall'; did you mean 'in_ia32_syscall'? [-Werror=implicit-function-declaration]

---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: upstream build error (11)
  2020-10-28  8:31 upstream build error (11) syzbot
@ 2021-01-09 20:41 ` Dmitry Vyukov
  2021-01-09 22:34   ` Andrew Morton
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Vyukov @ 2021-01-09 20:41 UTC (permalink / raw
  To: syzbot; +Cc: Andrew Morton, LKML, Linux-MM, syzkaller-bugs

On Wed, Oct 28, 2020 at 9:31 AM syzbot
<syzbot+5b0d0de84d6c65b8dd2b@syzkaller.appspotmail.com> wrote:
>
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit:    4d09c1d9 Merge tag 'devicetree-fixes-for-5.10-1' of git://..
> git tree:       upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=1615899c500000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=a5c844e56cc50cdb
> dashboard link: https://syzkaller.appspot.com/bug?extid=5b0d0de84d6c65b8dd2b
> compiler:       gcc (GCC) 10.1.0-syz 20200507
>
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+5b0d0de84d6c65b8dd2b@syzkaller.appspotmail.com
>
> mm/process_vm_access.c:277:5: error: implicit declaration of function 'in_compat_syscall'; did you mean 'in_ia32_syscall'? [-Werror=implicit-function-declaration]

Other build failures are piling behind this.

#syz fix: mm/process_vm_access: Add missing #include <linux/compat.h>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: upstream build error (11)
  2021-01-09 20:41 ` Dmitry Vyukov
@ 2021-01-09 22:34   ` Andrew Morton
  2021-01-10  8:44     ` Dmitry Vyukov
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2021-01-09 22:34 UTC (permalink / raw
  To: Dmitry Vyukov; +Cc: syzbot, LKML, Linux-MM, syzkaller-bugs

On Sat, 9 Jan 2021 21:41:23 +0100 Dmitry Vyukov <dvyukov@google.com> wrote:

> On Wed, Oct 28, 2020 at 9:31 AM syzbot
> <syzbot+5b0d0de84d6c65b8dd2b@syzkaller.appspotmail.com> wrote:
> >
> > Hello,
> >
> > syzbot found the following issue on:
> >
> > HEAD commit:    4d09c1d9 Merge tag 'devicetree-fixes-for-5.10-1' of git://..
> > git tree:       upstream
> > console output: https://syzkaller.appspot.com/x/log.txt?x=1615899c500000
> > kernel config:  https://syzkaller.appspot.com/x/.config?x=a5c844e56cc50cdb
> > dashboard link: https://syzkaller.appspot.com/bug?extid=5b0d0de84d6c65b8dd2b
> > compiler:       gcc (GCC) 10.1.0-syz 20200507
> >
> > IMPORTANT: if you fix the issue, please add the following tag to the commit:
> > Reported-by: syzbot+5b0d0de84d6c65b8dd2b@syzkaller.appspotmail.com
> >
> > mm/process_vm_access.c:277:5: error: implicit declaration of function 'in_compat_syscall'; did you mean 'in_ia32_syscall'? [-Werror=implicit-function-declaration]
> 
> Other build failures are piling behind this.
> 
> #syz fix: mm/process_vm_access: Add missing #include <linux/compat.h>

For some reason I cant reproduce this with that .config, but presumably
this is the fix?


From: Andrew Morton <akpm@linux-foundation.org>
Subject: mm/process_vm_access.c: include compat.h

mm/process_vm_access.c:277:5: error: implicit declaration of function 'in_compat_syscall'; did you mean 'in_ia32_syscall'? [-Werror=implicit-function-declaration]

Fixes: 38dc5079da7081e "Fix compat regression in process_vm_rw()"
Reported-by: syzbot+5b0d0de84d6c65b8dd2b@syzkaller.appspotmail.com
Cc: Kyle Huey <me@kylehuey.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/process_vm_access.c |    1 +
 1 file changed, 1 insertion(+)

--- a/mm/process_vm_access.c~a
+++ a/mm/process_vm_access.c
@@ -9,6 +9,7 @@
 #include <linux/mm.h>
 #include <linux/uio.h>
 #include <linux/sched.h>
+#include <linux/compat.h>
 #include <linux/sched/mm.h>
 #include <linux/highmem.h>
 #include <linux/ptrace.h>
_



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: upstream build error (11)
  2021-01-09 22:34   ` Andrew Morton
@ 2021-01-10  8:44     ` Dmitry Vyukov
  0 siblings, 0 replies; 4+ messages in thread
From: Dmitry Vyukov @ 2021-01-10  8:44 UTC (permalink / raw
  To: Andrew Morton; +Cc: syzbot, LKML, Linux-MM, syzkaller-bugs

On Sat, Jan 9, 2021 at 11:34 PM Andrew Morton <akpm@linux-foundation.org> wrote:
>
> On Sat, 9 Jan 2021 21:41:23 +0100 Dmitry Vyukov <dvyukov@google.com> wrote:
>
> > On Wed, Oct 28, 2020 at 9:31 AM syzbot
> > <syzbot+5b0d0de84d6c65b8dd2b@syzkaller.appspotmail.com> wrote:
> > >
> > > Hello,
> > >
> > > syzbot found the following issue on:
> > >
> > > HEAD commit:    4d09c1d9 Merge tag 'devicetree-fixes-for-5.10-1' of git://..
> > > git tree:       upstream
> > > console output: https://syzkaller.appspot.com/x/log.txt?x=1615899c500000
> > > kernel config:  https://syzkaller.appspot.com/x/.config?x=a5c844e56cc50cdb
> > > dashboard link: https://syzkaller.appspot.com/bug?extid=5b0d0de84d6c65b8dd2b
> > > compiler:       gcc (GCC) 10.1.0-syz 20200507
> > >
> > > IMPORTANT: if you fix the issue, please add the following tag to the commit:
> > > Reported-by: syzbot+5b0d0de84d6c65b8dd2b@syzkaller.appspotmail.com
> > >
> > > mm/process_vm_access.c:277:5: error: implicit declaration of function 'in_compat_syscall'; did you mean 'in_ia32_syscall'? [-Werror=implicit-function-declaration]
> >
> > Other build failures are piling behind this.
> >
> > #syz fix: mm/process_vm_access: Add missing #include <linux/compat.h>

/\/\/\/\/\/\/\/\

This was already fixed by this commit:
https://www.spinics.net/lists/linux-mm/msg232500.html



> For some reason I cant reproduce this with that .config, but presumably
> this is the fix?
>
>
> From: Andrew Morton <akpm@linux-foundation.org>
> Subject: mm/process_vm_access.c: include compat.h
>
> mm/process_vm_access.c:277:5: error: implicit declaration of function 'in_compat_syscall'; did you mean 'in_ia32_syscall'? [-Werror=implicit-function-declaration]
>
> Fixes: 38dc5079da7081e "Fix compat regression in process_vm_rw()"
> Reported-by: syzbot+5b0d0de84d6c65b8dd2b@syzkaller.appspotmail.com
> Cc: Kyle Huey <me@kylehuey.com>
> Cc: Jens Axboe <axboe@kernel.dk>
> Cc: Al Viro <viro@zeniv.linux.org.uk>
> Cc: Christoph Hellwig <hch@lst.de>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
>
>  mm/process_vm_access.c |    1 +
>  1 file changed, 1 insertion(+)
>
> --- a/mm/process_vm_access.c~a
> +++ a/mm/process_vm_access.c
> @@ -9,6 +9,7 @@
>  #include <linux/mm.h>
>  #include <linux/uio.h>
>  #include <linux/sched.h>
> +#include <linux/compat.h>
>  #include <linux/sched/mm.h>
>  #include <linux/highmem.h>
>  #include <linux/ptrace.h>
> _
>
> --
> You received this message because you are subscribed to the Google Groups "syzkaller-bugs" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller-bugs+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-bugs/20210109143410.eed9923407f73c00535bb450%40linux-foundation.org.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-10  8:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-28  8:31 upstream build error (11) syzbot
2021-01-09 20:41 ` Dmitry Vyukov
2021-01-09 22:34   ` Andrew Morton
2021-01-10  8:44     ` Dmitry Vyukov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).