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: <CAOUHufYg83ooSFY8eDYjLmBL=fevt1yrd2HcVnKzYWJhKeDkYA@mail.gmail.com>
Date:   Sun, 17 Jul 2022 12:55:41 -0600
From:   Yu Zhao <yuzhao@...gle.com>
To:     Liam Howlett <liam.howlett@...cle.com>
Cc:     Andrew Morton <akpm@...ux-foundation.org>,
        "maple-tree@...ts.infradead.org" <maple-tree@...ts.infradead.org>,
        "linux-mm@...ck.org" <linux-mm@...ck.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        Hugh Dickins <hughd@...gle.com>
Subject: Re: [PATCH v11 00/69] Introducing the Maple Tree

On Sun, Jul 17, 2022 at 6:42 AM Liam Howlett <liam.howlett@...cle.com> wrote:
>
> * Yu Zhao <yuzhao@...gle.com> [220717 01:58]:
> > On Sat, Jul 16, 2022 at 10:20 PM Andrew Morton
> > <akpm@...ux-foundation.org> wrote:
> > >
> > > On Sun, 17 Jul 2022 02:46:32 +0000 Liam Howlett <liam.howlett@...cle.com> wrote:
> > ...
> > >         gap = mas.index;
> > >         gap += (info->align_offset - gap) & info->align_mask;
> > > -       VM_BUG_ON(gap + info->length > info->high_limit);
> > > -       VM_BUG_ON(gap + info->length > mas.last);
>
> What arch did you hit these on?

This is x86_64. Full trace:

  kernel BUG at mm/mmap.c:1584!
  invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC PTI
  CPU: 108 PID: 107064 Comm: stress-ng Tainted: G S      W  O
5.19.0-dbg-DEV #1
  RIP: 0010:vm_unmapped_area+0xdb/0x1c0
  Code: b0 4c 8b 73 28 49 29 c6 4c 23 73 20 49 01 c6 48 8b 43 08 4c 01
f0 48 3b 43 18 0f 87 da 00 00 00 48 3b 45 b8 0f 86 a5 00 00 00 <0f> 0b
48 c7 45 e0 00 00 00 00 65 48 8b 04 25 40 ff 01 00 48 8b 80
  RSP: 0018:ffff968562137c00 EFLAGS: 00010212
  RAX: 0000000040da1000 RBX: ffff968562137c88 RCX: 00000000025a8000
  RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff968562137c00
  RBP: ffff968562137c58 R08: ffff968562137c28 R09: ffff8f3a8d958f80
  R10: 0000000000000001 R11: 000000000000000f R12: 0000000000249000
  R13: 0000000000000000 R14: 0000000040b58000 R15: ffff8f3aafb741c0
  FS:  0000000002586340(0000) GS:ffff8f989fd00000(0000) knlGS:0000000000000000
  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  CR2: 000000000064aff0 CR3: 00000061d15ba006 CR4: 00000000003706e0
  DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
  DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
  Call Trace:
   <TASK>
   arch_get_unmapped_area+0x1ee/0x220
   arch_get_unmapped_area_topdown+0x25a/0x290
   get_unmapped_area+0x92/0x100
   do_mmap+0x13f/0x560
   vm_mmap_pgoff+0xcd/0x170
   ksys_mmap_pgoff+0xd8/0x200
   __x64_sys_mmap+0x3c/0x40
   do_syscall_64+0x44/0xa0
   entry_SYSCALL_64_after_hwframe+0x46/0xb0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ