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: <YcRYD9drK5lRgEyY@zn.tnic>
Date:   Thu, 23 Dec 2021 12:05:51 +0100
From:   Borislav Petkov <bp@...en8.de>
To:     Mateusz Jończyk <mat.jonczyk@...pl>
Cc:     linux-kernel@...r.kernel.org, x86@...nel.org,
        Thomas Gleixner <tglx@...utronix.de>,
        Ingo Molnar <mingo@...hat.com>
Subject: Re: [PATCH RESEND v2] x86: warn on native_io_delay() before DMI scan

On Sun, Oct 17, 2021 at 09:25:58PM +0200, Mateusz Jończyk wrote:
> Writing to IO port 0x80 in native_io_delay() causes system lockups on
> some laptops. This is handled by io_delay_init(), which scans DMI info
> and changes io_delay_type on these laptops.
> 
> Therefore, calling native_io_delay() / outb_p() / inb_p() / etc. before
> io_delay_init() may cause problems there and may constitute a kernel
> bug. Warn if this happens.

When/how does this happen?

io_delay_init() gets called pretty early in setup_arch()...

Thx.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ