lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACT4Y+Z=Sc2W-+sq=hayGkJA4X+mkfaUY65y=J220U-rDA23oQ@mail.gmail.com>
Date:   Thu, 28 Dec 2017 08:34:53 +0100
From:   Dmitry Vyukov <dvyukov@...gle.com>
To:     syzbot <syzbot+29c5e7133d56d150a59e@...kaller.appspotmail.com>,
        Michal Hocko <mhocko@...nel.org>,
        Johannes Weiner <hannes@...xchg.org>,
        Randy Dunlap <rdunlap@...radead.org>,
        Andrew Morton <akpm@...ux-foundation.org>,
        Linux-MM <linux-mm@...ck.org>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        syzkaller-bugs@...glegroups.com
Subject: Re: mmots build error (2)

On Thu, Dec 28, 2017 at 8:32 AM, syzbot
<syzbot+29c5e7133d56d150a59e@...kaller.appspotmail.com> wrote:
> Hello,
>
> syzkaller hit the following crash on
> 253f36c7c1aee654871b4f0c5e16ee6c396bff9a
> git://git.cmpxchg.org/linux-mmots.git/master
> compiler: gcc (GCC) 7.1.1 20170620
> .config is attached
> Raw console output is attached.
> Unfortunately, I don't have any reproducer for this bug yet.
>
>
> IMPORTANT: if you fix the bug, please add the following tag to the commit:
> Reported-by: <syzbot+29c5e7133d56d150a59e@...kaller.appspotmail.com>
> It will help syzbot understand when the bug is fixed. See footer for
> details.
> If you forward the report, please keep this part and the footer.


+mm
the build is broken as:

failed to run /usr/bin/make [make bzImage -j 32
CC=/syzkaller/gcc/bin/gcc]: exit status 2
scripts/kconfig/conf  --silentoldconfig Kconfig
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  UPD     include/config/kernel.release
  CHK     include/generated/utsrelease.h
  UPD     include/generated/utsrelease.h
  CC      kernel/bounds.s
  CHK     include/generated/timeconst.h
  CC      scripts/mod/empty.o
  CC      scripts/mod/devicetable-offsets.s
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  CHK     scripts/mod/devicetable-offsets.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTLD  scripts/mod/modpost
  CHK     include/generated/bounds.h
  CC      arch/x86/kernel/asm-offsets.s
In file included from ./arch/x86/include/asm/pgtable_types.h:250:0,
                 from ./arch/x86/include/asm/paravirt_types.h:45,
                 from ./arch/x86/include/asm/ptrace.h:92,
                 from ./arch/x86/include/asm/math_emu.h:5,
                 from ./arch/x86/include/asm/processor.h:12,
                 from ./arch/x86/include/asm/cpufeature.h:5,
                 from ./arch/x86/include/asm/thread_info.h:53,
                 from ./include/linux/thread_info.h:38,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:81,
                 from ./include/linux/spinlock.h:51,
                 from ./include/linux/mmzone.h:8,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:24,
                 from arch/x86/kernel/asm-offsets.c:9:
./arch/x86/include/asm/pgtable_64_types.h:97:1: error: version control
conflict marker in file
 <<<<<<< HEAD
 ^~~~~~~
In file included from ./arch/x86/include/asm/paravirt_types.h:45:0,
                 from ./arch/x86/include/asm/ptrace.h:92,
                 from ./arch/x86/include/asm/math_emu.h:5,
                 from ./arch/x86/include/asm/processor.h:12,
                 from ./arch/x86/include/asm/cpufeature.h:5,
                 from ./arch/x86/include/asm/thread_info.h:53,
                 from ./include/linux/thread_info.h:38,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:81,
                 from ./include/linux/spinlock.h:51,
                 from ./include/linux/mmzone.h:8,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:24,
                 from arch/x86/kernel/asm-offsets.c:9:
./arch/x86/include/asm/pgtable_types.h:266:47: warning: data
definition has no type or storage class
 typedef struct pgprot { pgprotval_t pgprot; } pgprot_t;
                                               ^~~~~~~~
./arch/x86/include/asm/pgtable_types.h:266:47: error: type defaults to
‘int’ in declaration of ‘pgprot_t’ [-Werror=implicit-int]
In file included from ./arch/x86/include/asm/paravirt_types.h:45:0,
                 from ./arch/x86/include/asm/ptrace.h:92,
                 from ./arch/x86/include/asm/math_emu.h:5,
                 from ./arch/x86/include/asm/processor.h:12,
                 from ./arch/x86/include/asm/cpufeature.h:5,
                 from ./arch/x86/include/asm/thread_info.h:53,
                 from ./include/linux/thread_info.h:38,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:81,
                 from ./include/linux/spinlock.h:51,
                 from ./include/linux/mmzone.h:8,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:24,
                 from arch/x86/kernel/asm-offsets.c:9:
./arch/x86/include/asm/pgtable_types.h:441:24: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cachemode2pgprot’
 static inline pgprot_t cachemode2pgprot(enum page_cache_mode pcm)
                        ^~~~~~~~~~~~~~~~
./arch/x86/include/asm/pgtable_types.h:445:53: error: expected
declaration specifiers or ‘...’ before ‘pgprot_t’
 static inline enum page_cache_mode pgprot2cachemode(pgprot_t pgprot)
                                                     ^~~~~~~~
./arch/x86/include/asm/pgtable_types.h:454:24: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgprot_4k_2_large’
 static inline pgprot_t pgprot_4k_2_large(pgprot_t pgprot)
                        ^~~~~~~~~~~~~~~~~
./arch/x86/include/asm/pgtable_types.h:463:24: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgprot_large_2_4k’
 static inline pgprot_t pgprot_large_2_4k(pgprot_t pgprot)
                        ^~~~~~~~~~~~~~~~~
./arch/x86/include/asm/pgtable_types.h:481:29: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgprot_writecombine’
 #define pgprot_writecombine pgprot_writecombine
                             ^
./arch/x86/include/asm/pgtable_types.h:482:17: note: in expansion of
macro ‘pgprot_writecombine’
 extern pgprot_t pgprot_writecombine(pgprot_t prot);
                 ^~~~~~~~~~~~~~~~~~~
./arch/x86/include/asm/pgtable_types.h:484:29: error: expected ‘=’,
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pgprot_writethrough’
 #define pgprot_writethrough pgprot_writethrough
                             ^
./arch/x86/include/asm/pgtable_types.h:485:17: note: in expansion of
macro ‘pgprot_writethrough’
 extern pgprot_t pgprot_writethrough(pgprot_t prot);
                 ^~~~~~~~~~~~~~~~~~~
./arch/x86/include/asm/pgtable_types.h:492:1: error: unknown type name
‘pgprot_t’; did you mean ‘pgprotval_t’?
 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
 ^~~~~~~~
 pgprotval_t
./arch/x86/include/asm/pgtable_types.h:493:51: error: expected
declaration specifiers or ‘...’ before ‘pgprot_t’
                               unsigned long size, pgprot_t vma_prot);
                                                   ^~~~~~~~
In file included from ./arch/x86/include/asm/ptrace.h:92:0,
                 from ./arch/x86/include/asm/math_emu.h:5,
                 from ./arch/x86/include/asm/processor.h:12,
                 from ./arch/x86/include/asm/cpufeature.h:5,
                 from ./arch/x86/include/asm/thread_info.h:53,
                 from ./include/linux/thread_info.h:38,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:81,
                 from ./include/linux/spinlock.h:51,
                 from ./include/linux/mmzone.h:8,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:24,
                 from arch/x86/kernel/asm-offsets.c:9:
./arch/x86/include/asm/paravirt_types.h:296:25: error: expected
declaration specifiers or ‘...’ before ‘pgprot_t’
       phys_addr_t phys, pgprot_t flags);
                         ^~~~~~~~
./arch/x86/include/asm/paravirt_types.h:297:1: warning: no semicolon
at end of struct or union
 } __no_randomize_layout;
 ^
In file included from ./arch/x86/include/asm/msr.h:236:0,
                 from ./arch/x86/include/asm/processor.h:21,
                 from ./arch/x86/include/asm/cpufeature.h:5,
                 from ./arch/x86/include/asm/thread_info.h:53,
                 from ./include/linux/thread_info.h:38,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:81,
                 from ./include/linux/spinlock.h:51,
                 from ./include/linux/mmzone.h:8,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:24,
                 from arch/x86/kernel/asm-offsets.c:9:
./arch/x86/include/asm/paravirt.h:658:23: error: expected declaration
specifiers or ‘...’ before ‘pgprot_t’
     phys_addr_t phys, pgprot_t flags)
                       ^~~~~~~~
In file included from ./include/asm-generic/io.h:767:0,
                 from ./arch/x86/include/asm/io.h:401,
                 from ./arch/x86/include/asm/realmode.h:15,
                 from ./arch/x86/include/asm/acpi.h:33,
                 from ./arch/x86/include/asm/fixmap.h:19,
                 from ./arch/x86/include/asm/apic.h:10,
                 from ./arch/x86/include/asm/smp.h:13,
                 from ./arch/x86/include/asm/mmzone_64.h:11,
                 from ./arch/x86/include/asm/mmzone.h:5,
                 from ./include/linux/mmzone.h:912,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:24,
                 from arch/x86/kernel/asm-offsets.c:9:
./include/linux/vmalloc.h:60:15: error: expected declaration
specifiers or ‘...’ before ‘pgprot_t’
     int node, pgprot_t prot);
               ^~~~~~~~
./include/linux/vmalloc.h:79:60: error: expected declaration
specifiers or ‘...’ before ‘pgprot_t’
 extern void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot);
                                                            ^~~~~~~~
./include/linux/vmalloc.h:82:4: error: expected declaration specifiers
or ‘...’ before ‘pgprot_t’
    pgprot_t prot, unsigned long vm_flags, int node,
    ^~~~~~~~
./include/linux/vmalloc.h:100:25: error: expected declaration
specifiers or ‘...’ before ‘pgprot_t’
    unsigned long flags, pgprot_t prot);
                         ^~~~~~~~
./include/linux/vmalloc.h:137:48: error: expected declaration
specifiers or ‘...’ before ‘pgprot_t’
 extern int map_vm_area(struct vm_struct *area, pgprot_t prot,
                                                ^~~~~~~~
./include/linux/vmalloc.h:141:9: error: expected declaration
specifiers or ‘...’ before ‘pgprot_t’
         pgprot_t prot, struct page **pages);
         ^~~~~~~~
In file included from ./arch/x86/include/asm/apic.h:10:0,
                 from ./arch/x86/include/asm/smp.h:13,
                 from ./arch/x86/include/asm/mmzone_64.h:11,
                 from ./arch/x86/include/asm/mmzone.h:5,
                 from ./include/linux/mmzone.h:912,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:24,
                 from arch/x86/kernel/asm-offsets.c:9:
./arch/x86/include/asm/fixmap.h:151:28: error: expected declaration
specifiers or ‘...’ before ‘pgprot_t’
          phys_addr_t phys, pgprot_t flags);
                            ^~~~~~~~
In file included from ./arch/x86/include/asm/apic.h:10:0,
                 from ./arch/x86/include/asm/smp.h:13,
                 from ./arch/x86/include/asm/mmzone_64.h:11,
                 from ./arch/x86/include/asm/mmzone.h:5,
                 from ./include/linux/mmzone.h:912,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:24,
                 from arch/x86/kernel/asm-offsets.c:9:
./arch/x86/include/asm/fixmap.h:187:22: error: expected declaration
specifiers or ‘...’ before ‘pgprot_t’
    phys_addr_t phys, pgprot_t flags);
                      ^~~~~~~~
In file included from ./include/linux/kasan.h:17:0,
                 from ./include/linux/slab.h:129,
                 from ./include/linux/crypto.h:24,
                 from arch/x86/kernel/asm-offsets.c:9:
./arch/x86/include/asm/pgtable.h:519:42: error: expected declaration
specifiers or ‘...’ before ‘pgprot_t’
 static inline pgprotval_t massage_pgprot(pgprot_t pgprot)
                                          ^~~~~~~~
./arch/x86/include/asm/pgtable.h:529:52: error: expected declaration
specifiers or ‘...’ before ‘pgprot_t’
 static inline pte_t pfn_pte(unsigned long page_nr, pgprot_t pgprot)
                                                    ^~~~~~~~
./arch/x86/include/asm/pgtable.h:535:52: error: expected declaration
specifiers or ‘...’ before ‘pgprot_t’
 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot)
                                                    ^~~~~~~~
./arch/x86/include/asm/pgtable.h:541:52: error: expected declaration
specifiers or ‘...’ before ‘pgprot_t’
 static inline pud_t pfn_pud(unsigned long page_nr, pgprot_t pgprot)
                                                    ^~~~~~~~
./arch/x86/include/asm/pgtable.h:547:43: error: expected declaration
specifiers or ‘...’ before ‘pgprot_t’
 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
                                           ^~~~~~~~
./arch/x86/include/asm/pgtable.h:561:43: error: expected declaration
specifiers or ‘...’ before ‘pgprot_t’
 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot)
                                           ^~~~~~~~
./arch/x86/include/asm/pgtable.h:572:23: error: expected ‘=’, ‘,’,
‘;’, ‘asm’ or ‘__attribute__’ before ‘pgprot_modify’
 #define pgprot_modify pgprot_modify
                       ^
./arch/x86/include/asm/pgtable.h:573:24: note: in expansion of macro
‘pgprot_modify’
 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot)
                        ^~~~~~~~~~~~~
In file included from ./arch/x86/include/asm/pgtable.h:630:0,
                 from ./include/linux/kasan.h:17,
                 from ./include/linux/slab.h:129,
                 from ./include/linux/crypto.h:24,
                 from arch/x86/kernel/asm-offsets.c:9:
./include/linux/mm_types.h:297:2: error: expected
specifier-qualifier-list before ‘pgprot_t’
  pgprot_t vm_page_prot;  /* Access permissions of this VMA. */
  ^~~~~~~~
In file included from ./arch/x86/include/asm/pgtable.h:1292:0,
                 from ./include/linux/kasan.h:17,
                 from ./include/linux/slab.h:129,
                 from ./include/linux/crypto.h:24,
                 from arch/x86/kernel/asm-offsets.c:9:
./include/asm-generic/pgtable.h:773:56: error: expected declaration
specifiers or ‘...’ before ‘pgprot_t’
 extern int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot,
                                                        ^~~~~~~~
./include/asm-generic/pgtable.h:776:58: error: expected declaration
specifiers or ‘...’ before ‘pgprot_t’
 extern void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot,
                                                          ^~~~~~~~
./include/asm-generic/pgtable.h:972:62: error: expected declaration
specifiers or ‘...’ before ‘pgprot_t’
 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot)
                                                              ^~~~~~~~
./include/asm-generic/pgtable.h:982:48: error: expected declaration
specifiers or ‘...’ before ‘pgprot_t’
 int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot);
                                                ^~~~~~~~
./include/asm-generic/pgtable.h:983:48: error: expected declaration
specifiers or ‘...’ before ‘pgprot_t’
 int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot);
                                                ^~~~~~~~
./include/asm-generic/pgtable.h:1034:24: error: expected declaration
specifiers or ‘...’ before ‘pgprot_t’
    unsigned long size, pgprot_t *vma_prot);
                        ^~~~~~~~
In file included from ./include/linux/irq.h:25:0,
                 from ./arch/x86/include/asm/hardirq.h:6,
                 from ./include/linux/hardirq.h:9,
                 from arch/x86/kernel/asm-offsets.c:12:
./include/linux/io.h:37:33: error: expected declaration specifiers or
‘...’ before ‘pgprot_t’
          phys_addr_t phys_addr, pgprot_t prot);
                                 ^~~~~~~~
In file included from ./include/linux/cgroup.h:17:0,
                 from ./include/linux/memcontrol.h:22,
                 from ./include/linux/swap.h:9,
                 from ./include/linux/suspend.h:5,
                 from arch/x86/kernel/asm-offsets.c:13:
./include/linux/fs.h: In function ‘vma_is_dax’:
./include/linux/fs.h:3200:12: error: ‘struct vm_area_struct’ has no
member named ‘vm_file’
  return vma->vm_file && IS_DAX(vma->vm_file->f_mapping->host);
            ^~
In file included from ./include/linux/cgroup.h:17:0,
                 from ./include/linux/memcontrol.h:22,
                 from ./include/linux/swap.h:9,
                 from ./include/linux/suspend.h:5,
                 from arch/x86/kernel/asm-offsets.c:13:
./include/linux/fs.h:3200:35: error: ‘struct vm_area_struct’ has no
member named ‘vm_file’
  return vma->vm_file && IS_DAX(vma->vm_file->f_mapping->host);
                                   ^
./include/linux/fs.h:1901:26: note: in definition of macro ‘IS_DAX’
 #define IS_DAX(inode)  ((inode)->i_flags & S_DAX)
                          ^~~~~
In file included from ./include/linux/cgroup.h:17:0,
                 from ./include/linux/memcontrol.h:22,
                 from ./include/linux/swap.h:9,
                 from ./include/linux/suspend.h:5,
                 from arch/x86/kernel/asm-offsets.c:13:
./include/linux/fs.h: In function ‘vma_is_fsdax’:
./include/linux/fs.h:3207:10: error: ‘struct vm_area_struct’ has no
member named ‘vm_file’
  if (!vma->vm_file)
          ^~
./include/linux/fs.h:3211:24: error: ‘struct vm_area_struct’ has no
member named ‘vm_file’
  inode = file_inode(vma->vm_file);
                        ^~
In file included from ./include/linux/memcontrol.h:29:0,
                 from ./include/linux/swap.h:9,
                 from ./include/linux/suspend.h:5,
                 from arch/x86/kernel/asm-offsets.c:13:
./include/linux/mm.h: At top level:
./include/linux/mm.h:294:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘protection_map’
 extern pgprot_t protection_map[16];
                 ^~~~~~~~~~~~~~
In file included from ./include/linux/mm.h:463:0,
                 from ./include/linux/memcontrol.h:29,
                 from ./include/linux/swap.h:9,
                 from ./include/linux/suspend.h:5,
                 from arch/x86/kernel/asm-offsets.c:13:
./include/linux/huge_mm.h:47:24: error: expected declaration
specifiers or ‘...’ before ‘pgprot_t’
    unsigned long addr, pgprot_t newprot,
                        ^~~~~~~~
./include/linux/huge_mm.h: In function ‘transparent_hugepage_enabled’:
./include/linux/huge_mm.h:97:11: error: ‘struct vm_area_struct’ has no
member named ‘vm_flags’; did you mean ‘vm_start’?
  if (vma->vm_flags & VM_NOHUGEPAGE)
           ^~~~~~~~
           vm_start
./include/linux/huge_mm.h:114:18: error: ‘struct vm_area_struct’ has
no member named ‘vm_flags’; did you mean ‘vm_start’?
   return !!(vma->vm_flags & VM_HUGEPAGE);
                  ^~~~~~~~
                  vm_start
In file included from ./arch/x86/include/asm/atomic.h:5:0,
                 from ./include/linux/atomic.h:5,
                 from ./include/linux/crypto.h:20,
                 from arch/x86/kernel/asm-offsets.c:9:
./include/linux/mm.h: In function ‘maybe_mkwrite’:
./include/linux/mm.h:683:18: error: ‘struct vm_area_struct’ has no
member named ‘vm_flags’; did you mean ‘vm_start’?
  if (likely(vma->vm_flags & VM_WRITE))
                  ^
./include/linux/compiler.h:76:40: note: in definition of macro ‘likely’
 # define likely(x) __builtin_expect(!!(x), 1)
                                        ^
In file included from ./include/linux/memcontrol.h:29:0,
                 from ./include/linux/swap.h:9,
                 from ./include/linux/suspend.h:5,
                 from arch/x86/kernel/asm-offsets.c:13:
./include/linux/mm.h: In function ‘vma_is_anonymous’:
./include/linux/mm.h:1479:15: error: ‘struct vm_area_struct’ has no
member named ‘vm_ops’; did you mean ‘vm_end’?
  return !vma->vm_ops;
               ^~~~~~
               vm_end
./include/linux/mm.h: At top level:
./include/linux/mm.h:1499:29: error: expected declaration specifiers
or ‘...’ before ‘pgprot_t’
          unsigned long end, pgprot_t newprot,
                             ^~~~~~~~
./include/linux/mm.h:1618:55: error: expected declaration specifiers
or ‘...’ before ‘pgprot_t’
 int vma_wants_writenotify(struct vm_area_struct *vma, pgprot_t vm_page_prot);
                                                       ^~~~~~~~
In file included from ./include/linux/memcontrol.h:29:0,
                 from ./include/linux/swap.h:9,
                 from ./include/linux/suspend.h:5,
                 from arch/x86/kernel/asm-offsets.c:13:
./include/linux/mm.h: In function ‘vm_start_gap’:
./include/linux/mm.h:2347:11: error: ‘struct vm_area_struct’ has no
member named ‘vm_flags’; did you mean ‘vm_start’?
  if (vma->vm_flags & VM_GROWSDOWN) {
           ^~~~~~~~
           vm_start
./include/linux/mm.h: In function ‘vm_end_gap’:
./include/linux/mm.h:2359:11: error: ‘struct vm_area_struct’ has no
member named ‘vm_flags’; did you mean ‘vm_start’?
  if (vma->vm_flags & VM_GROWSUP) {
           ^~~~~~~~
           vm_start
./include/linux/mm.h: At top level:
./include/linux/mm.h:2385:1: error: unknown type name ‘pgprot_t’; did
you mean ‘pgprotval_t’?
 pgprot_t vm_get_page_prot(unsigned long vm_flags);
 ^~~~~~~~
 pgprotval_t
./include/linux/mm.h:2405:43: error: expected declaration specifiers
or ‘...’ before ‘pgprot_t’
    unsigned long pfn, unsigned long size, pgprot_t);
                                           ^~~~~~~~
./include/linux/mm.h:2410:23: error: expected declaration specifiers
or ‘...’ before ‘pgprot_t’
    unsigned long pfn, pgprot_t pgprot);
                       ^~~~~~~~
In file included from ./arch/x86/include/asm/desc.h:10:0,
                 from ./arch/x86/include/asm/suspend_64.h:10,
                 from ./arch/x86/include/asm/suspend.h:5,
                 from arch/x86/kernel/asm-offsets.c:19:
./arch/x86/include/asm/cpu_entry_area.h:8:1: error: version control
conflict marker in file
 <<<<<<< HEAD
 ^~~~~~~
In file included from ./arch/x86/include/asm/cpu_entry_area.h:10:0,
                 from ./arch/x86/include/asm/desc.h:10,
                 from ./arch/x86/include/asm/suspend_64.h:10,
                 from ./arch/x86/include/asm/suspend.h:5,
                 from arch/x86/kernel/asm-offsets.c:19:
./arch/x86/include/asm/intel_ds.h:27:1: warning: empty declaration
 } __aligned(PAGE_SIZE);
 ^
In file included from ./arch/x86/include/asm/desc.h:10:0,
                 from ./arch/x86/include/asm/suspend_64.h:10,
                 from ./arch/x86/include/asm/suspend.h:5,
                 from arch/x86/kernel/asm-offsets.c:19:
./arch/x86/include/asm/cpu_entry_area.h:11:1: error: version control
conflict marker in file
 >>>>>>> linux-next/akpm-base
 ^~~~~~~
./arch/x86/include/asm/cpu_entry_area.h:70:58: error: expected
declaration specifiers or ‘...’ before ‘pgprot_t’
 extern void cea_set_pte(void *cea_vaddr, phys_addr_t pa, pgprot_t flags);
                                                          ^~~~~~~~
./arch/x86/include/asm/cpu_entry_area.h: In function ‘cpu_entry_stack’:
./arch/x86/include/asm/cpu_entry_area.h:84:33: error: dereferencing
pointer to incomplete type ‘struct cpu_entry_area’
  return &get_cpu_entry_area(cpu)->entry_stack_page.stack;
                                 ^~
In file included from arch/x86/kernel/asm-offsets.c:20:0:
./arch/x86/include/asm/tlbflush.h: At top level:
./arch/x86/include/asm/tlbflush.h:13:1: error: version control
conflict marker in file
 <<<<<<< HEAD
 ^~~~~~~
./arch/x86/include/asm/tlbflush.h:28:1: error: version control
conflict marker in file
 =======
 ^~~~~~~
In file included from arch/x86/kernel/asm-offsets.c:20:0:
./arch/x86/include/asm/tlbflush.h:63:1: error: version control
conflict marker in file
 >>>>>>> linux-next/akpm-base
 ^~~~~~~
./arch/x86/include/asm/tlbflush.h:92:1: warning: "/*" within comment [-Wcomment]
 /*

./arch/x86/include/asm/tlbflush.h:97:0: warning: "MAX_ASID_AVAILABLE" redefined
 #define MAX_ASID_AVAILABLE ((1 << CR3_AVAIL_PCID_BITS) - 2)

./arch/x86/include/asm/tlbflush.h:77:0: note: this is the location of
the previous definition
 #define MAX_ASID_AVAILABLE ((1 << CR3_AVAIL_ASID_BITS) - 2)

cc1: some warnings being treated as errors
Kbuild:56: recipe for target 'arch/x86/kernel/asm-offsets.s' failed
make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
Makefile:1090: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2


> ---
> This bug is generated by a dumb bot. It may contain errors.
> See https://goo.gl/tpsmEJ for details.
> Direct all questions to syzkaller@...glegroups.com.
>
> syzbot will keep track of this bug report.
> If you forgot to add the Reported-by tag, once the fix for this bug is
> merged
> into any tree, please reply to this email with:
> #syz fix: exact-commit-title
> To mark this as a duplicate of another syzbot report, please reply with:
> #syz dup: exact-subject-of-another-report
> If it's a one-off invalid bug report, please reply with:
> #syz invalid
> Note: if the crash happens again, it will cause creation of a new bug
> report.
> Note: all commands must start from beginning of the line in the email body.
>
> --
> 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@...glegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/syzkaller-bugs/94eb2c07793623fa000561618401%40google.com.
> For more options, visit https://groups.google.com/d/optout.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ