Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #84543 > unrolled thread

Bug#1085762: commit identified

Started byUlrich Teichert <ulrich.teichert@kumkeo.de>
First post2024-11-15 09:50 +0100
Last post2024-11-20 12:00 +0100
Articles 7 — 4 participants

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#1085762: commit identified Ulrich Teichert <ulrich.teichert@kumkeo.de> - 2024-11-15 09:50 +0100
    Bug#1085762: commit identified Salvatore Bonaccorso <carnil@debian.org> - 2024-11-16 22:50 +0100
      Bug#1085762: AW: Re: Bug#1085762: commit identified Salvatore Bonaccorso <carnil@debian.org> - 2024-11-18 09:10 +0100
        Processed: Re: AW: Re: Bug#1085762: commit identified "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-11-18 09:10 +0100
      Bug#1085762: AW: Re: Bug#1085762: commit identified Salvatore Bonaccorso <carnil@debian.org> - 2024-11-20 08:10 +0100
      Bug#1085762: AW: Re: Bug#1085762: commit identified Uwe Kleine-König <u.kleine-koenig@baylibre.com> - 2024-11-20 09:30 +0100
        Bug#1085762: AW: Bug#1085762: AW: Re: Bug#1085762: commit identified Uwe Kleine-König <u.kleine-koenig@baylibre.com> - 2024-11-20 12:00 +0100

#84543 — Bug#1085762: commit identified

FromUlrich Teichert <ulrich.teichert@kumkeo.de>
Date2024-11-15 09:50 +0100
SubjectBug#1085762: commit identified
Message-ID<JJ0bE-948S-3@gated-at.bofh.it>
Hi,

I ran a lengthy git bisect yesterday and it's this commit on the stable kernel git
which causes the issue:

b0cde867b80a5e81fcbc0383e138f5845f2005ee is the first bad commit
commit b0cde867b80a5e81fcbc0383e138f5845f2005ee
Author: Kees Cook <keescook@chromium.org>
Date:   Fri Feb 16 22:25:43 2024 -0800
    x86: Increase brk randomness entropy for 64-bit systems
    [ Upstream commit 44c76825d6eefee9eb7ce06c38e1a6632ac7eb7d ]
    In commit c1d171a00294 ("x86: randomize brk"), arch_randomize_brk() was
    defined to use a 32MB range (13 bits of entropy), but was never increased
    when moving to 64-bit. The default arch_randomize_brk() uses 32MB for
    32-bit tasks, and 1GB (18 bits of entropy) for 64-bit tasks.
    Update x86_64 to match the entropy used by arm64 and other 64-bit
    architectures.
    Reported-by: y0un9n132@gmail.com
    Signed-off-by: Kees Cook <keescook@chromium.org>
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    Acked-by: Jiri Kosina <jkosina@suse.com>
    Closes: https://lore.kernel.org/linux-hardening/CA+2EKTVLvc8hDZc+2Yhwmus=dzOUG5E4gV7ayCbu0MPJTZzWkw@mail.gmail.com/
    Link: https://lore.kernel.org/r/20240217062545.1631668-1-keescook@chromium.org
    Signed-off-by: Sasha Levin <sashal@kernel.org>

When I revert it, I can run pbuilder for ARM64 builds all day and it never crashes.

HTH,
Uli

Mit freundlichen Grüßen / Kind regards

Dipl.-Inform. Ulrich Teichert
Senior Software Developer

kumkeo GmbH
Heidenkampsweg 82a
20097 Hamburg
Germany

T: +49 40 2846761-0
F: +49 40 2846761-99

ulrich.teichert@kumkeo.de
www.kumkeo.de

Amtsgericht Hamburg / Hamburg District Court, HRB 108558
Geschäftsführer / Managing Director: Dipl.-Ing. Bernd Sager; Dipl.-Ing. Sven Tanneberger, MBA

[toc] | [next] | [standalone]


#84551

FromSalvatore Bonaccorso <carnil@debian.org>
Date2024-11-16 22:50 +0100
Message-ID<JJyQ1-9ppj-7@gated-at.bofh.it>
In reply to#84543
Hi,

On Fri, Nov 15, 2024 at 08:41:34AM +0000, Ulrich Teichert wrote:
> 
> Hi,
> 
> I ran a lengthy git bisect yesterday and it's this commit on the stable kernel git
> which causes the issue:
> 
> b0cde867b80a5e81fcbc0383e138f5845f2005ee is the first bad commit
> commit b0cde867b80a5e81fcbc0383e138f5845f2005ee
> Author: Kees Cook <keescook@chromium.org>
> Date:   Fri Feb 16 22:25:43 2024 -0800
>     x86: Increase brk randomness entropy for 64-bit systems
>     [ Upstream commit 44c76825d6eefee9eb7ce06c38e1a6632ac7eb7d ]
>     In commit c1d171a00294 ("x86: randomize brk"), arch_randomize_brk() was
>     defined to use a 32MB range (13 bits of entropy), but was never increased
>     when moving to 64-bit. The default arch_randomize_brk() uses 32MB for
>     32-bit tasks, and 1GB (18 bits of entropy) for 64-bit tasks.
>     Update x86_64 to match the entropy used by arm64 and other 64-bit
>     architectures.
>     Reported-by: y0un9n132@gmail.com
>     Signed-off-by: Kees Cook <keescook@chromium.org>
>     Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>     Acked-by: Jiri Kosina <jkosina@suse.com>
>     Closes: https://lore.kernel.org/linux-hardening/CA+2EKTVLvc8hDZc+2Yhwmus=dzOUG5E4gV7ayCbu0MPJTZzWkw@mail.gmail.com/
>     Link: https://lore.kernel.org/r/20240217062545.1631668-1-keescook@chromium.org
>     Signed-off-by: Sasha Levin <sashal@kernel.org>
> 
> When I revert it, I can run pbuilder for ARM64 builds all day and it never crashes.

Thanks for bisecting it, I think it makes now sense to bring this to
upstream as I see there is not commit in mainline with fixes tag on
the commit.

Can you report it upstream? Make sure to include as well the
regressions list. At least the above people touching the commit should
as well be included.

Regards,
Salvatore

[toc] | [prev] | [next] | [standalone]


#84571 — Bug#1085762: AW: Re: Bug#1085762: commit identified

FromSalvatore Bonaccorso <carnil@debian.org>
Date2024-11-18 09:10 +0100
SubjectBug#1085762: AW: Re: Bug#1085762: commit identified
Message-ID<JK4Zz-9Jgn-1@gated-at.bofh.it>
In reply to#84551
Control: forwarded -1  https://lore.kernel.org/regressions/18f34d636390454180240e6a61af9217@kumkeo.de/T/#u

Hi Uli,

On Mon, Nov 18, 2024 at 07:37:20AM +0000, Ulrich Teichert wrote:
> Hi Salvatore,
> 
> 
> I've reported it to upstream on Friday already:
> 
> 
> https://lore.kernel.org/regressions/18f34d636390454180240e6a61af9217@kumkeo.de/T/#u
> 
> 
> but I should have appended that information to the bug - thanks for
> the nudge. No replies so far...

Ack thanks a lot!

Regards,
Salvatore

[toc] | [prev] | [next] | [standalone]


#84572 — Processed: Re: AW: Re: Bug#1085762: commit identified

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-11-18 09:10 +0100
SubjectProcessed: Re: AW: Re: Bug#1085762: commit identified
Message-ID<JK4Zz-9Jgn-5@gated-at.bofh.it>
In reply to#84571
Processing control commands:

> forwarded -1  https://lore.kernel.org/regressions/18f34d636390454180240e6a61af9217@kumkeo.de/T/#u
Bug #1085762 [src:linux] linux-image-6.1.0-26-amd64: Random crashes during pbuilder compile runs
Set Bug forwarded-to-address to 'https://lore.kernel.org/regressions/18f34d636390454180240e6a61af9217@kumkeo.de/T/#u'.

-- 
1085762: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085762
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#84597 — Bug#1085762: AW: Re: Bug#1085762: commit identified

FromSalvatore Bonaccorso <carnil@debian.org>
Date2024-11-20 08:10 +0100
SubjectBug#1085762: AW: Re: Bug#1085762: commit identified
Message-ID<JKN0B-ac1r-3@gated-at.bofh.it>
In reply to#84551
Hi,

There is as well a related report

https://bugs.debian.org/1087822

and 

https://lore.kernel.org/stable/Zz0_-iJH1WaR3BUZ@codewreck.org/

Regards,
Salvatore

[toc] | [prev] | [next] | [standalone]


#84600 — Bug#1085762: AW: Re: Bug#1085762: commit identified

FromUwe Kleine-König <u.kleine-koenig@baylibre.com>
Date2024-11-20 09:30 +0100
SubjectBug#1085762: AW: Re: Bug#1085762: commit identified
Message-ID<JKOg2-acFF-9@gated-at.bofh.it>
In reply to#84551

[Multipart message — attachments visible in raw view] — view raw

On Mon, Nov 18, 2024 at 07:37:20AM +0000, Ulrich Teichert wrote:
> Hi Salvatore,
> 
> 
> I've reported it to upstream on Friday already:
> 
> 
> https://lore.kernel.org/regressions/18f34d636390454180240e6a61af9217@kumkeo.de/T/#u
> 
> 
> but I should have appended that information to the bug - thanks for the nudge. No replies so far...

There is still no feedback. But in the original bug report you had vbox
related modules loaded. Can you reproduce the problem without these?

Best regards
Uwe

[toc] | [prev] | [next] | [standalone]


#84601 — Bug#1085762: AW: Bug#1085762: AW: Re: Bug#1085762: commit identified

FromUwe Kleine-König <u.kleine-koenig@baylibre.com>
Date2024-11-20 12:00 +0100
SubjectBug#1085762: AW: Bug#1085762: AW: Re: Bug#1085762: commit identified
Message-ID<JKQBb-ae4p-3@gated-at.bofh.it>
In reply to#84600

[Multipart message — attachments visible in raw view] — view raw

Hello Ulrich,

On Wed, Nov 20, 2024 at 09:00:20AM +0000, Ulrich Teichert wrote:
> >> I've reported it to upstream on Friday already:
> >>
> >>
> >>  https://lore.kernel.org/regressions/18f34d636390454180240e6a61af9217@kumkeo.de/T/#u
> >>
> >>
> >> but I should have appended that information to the bug - thanks for the nudge. No replies so far...
> >
> >There is still no feedback. But in the original bug report you had vbox
> >related modules loaded. Can you reproduce the problem without these?
> 
> Yes:
> 
> kkcli1583:~> uname -a
> Linux kkcli1583 6.1.0-27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) x86_64 GNU/Linux
> kkcli1583:~> lsmod | grep vbox
> kkcli1583:~>

Just for the record: Not having loaded the vbox modules isn't good
enough. They must not have been loaded since the last reboot. I'd assume
you knew that, just mentioning it here in case you don't.

Best regards
Uwe

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web