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] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 24 Jun 2023 12:21:29 +0200
From:   Elmar Stellnberger <estellnb@...tel.org>
To:     Bagas Sanjaya <bagasdotme@...il.com>
Cc:     Andrew Morton <akpm@...ux-foundation.org>,
        Thorsten Leemhuis <regressions@...mhuis.info>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Linux Regressions <regressions@...ts.linux.dev>,
        Linux Memory Management <linux-mm@...ck.org>,
        Linux Stable <stable@...r.kernel.org>
Subject: Re: Fwd: kernel fault on hibernation: get_zeroed_page/swsusp_write

Hi Bagas S., Hi all

concerns: Bug 217544 - kernel fault on hibernation: get_zeroed_page/swsusp_write 
https://bugzilla.kernel.org/show_bug.cgi?id=217544

  Bisection does not make sense here, since I can not reproduce the
issue. Packing the kernel binaries and symbol files was meant to invoke
gdb directly on the kcore:
 
> /usr/src/kernel-6.3.7-desktop586-1.mga9/scripts/extract-vmlinux vmlinuz-6.3.7-desktop-1.mga9 >vmlinux
> file vmlinuz-6.3.7-desktop-1.mga9 
vmlinuz-6.3.7-desktop-1.mga9: Linux kernel x86 boot executable bzImage, version 6.3.7-desktop-1.mga9 (iurt@...sse.mageia.org) #1 SMP PREEMPT_DYNAMIC Fri Jun  9 17:47:53 UTC 2023, RO-rootFS, swap_dev 0X6, Normal VGA
> file vmlinux
vmlinux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, BuildID[sha1]=942674511321671b33c739cceddb1e3a48a17895, stripped
> grep __alloc_pages /boot/System.map...
0xc03758... T __alloc_pages
> gdb vmlinux kcore
# x/5i 0xc03758..

Am Sat, Jun 24, 2023 at 08:25:39AM +0700 schrieb Bagas Sanjaya:
> Also, you don't need to upload full kernel images instead; people can
> grab /proc/config.gz you uploaded on Bugzilla and then `make olddefconfig`
> from it.
> 
  I would heavily doubt that the same symbols would get to be located at
the same address if you started to compile from source, even if you
applied all Mageia specific patches. We would need reproducible builds
for that. Nonetheless you are free to check whether the symbols will
reside at the same place in your System.map afterwards.
  I wonder whether there is a way to convert the System.map text file
(which looks to me like the output of 'nm -S') back into an elf section
to be added to the stripped vmlinux with objcopy. Shouldn´t there be a
script/ for this?

:: Sometimes you have only one chance to catch a bug.

Cheers,
Elmar

Am Sat, Jun 24, 2023 at 08:25:39AM +0700 schrieb Bagas Sanjaya:
> On Fri, Jun 23, 2023 at 06:17:05PM +0200, Elmar Stellnberger wrote:
> Can you attach [1] to your Bugzilla report? Also, any report on bisection?

Pardon, what is [1]?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ