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]
Message-ID: <87il9f5eg1.fsf@redhat.com>
Date:   Wed, 16 Aug 2023 15:01:18 +0200
From:   Vitaly Kuznetsov <vkuznets@...hat.com>
To:     Bagas Sanjaya <bagasdotme@...il.com>,
        Paolo Bonzini <pbonzini@...hat.com>,
        Sean Christopherson <seanjc@...gle.com>,
        Roman Mamedov <rm+bko@...anrm.net>
Cc:     Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Linux Regressions <regressions@...ts.linux.dev>,
        Linux KVM <kvm@...r.kernel.org>, Borislav Petkov <bp@...en8.de>
Subject: Re: Fwd: kvm: Windows Server 2003 VM fails to work on 6.1.44 (works
 fine on 6.1.43)

Vitaly Kuznetsov <vkuznets@...hat.com> writes:

> Bagas Sanjaya <bagasdotme@...il.com> writes:
>
>> Hi,
>>
>> I notice a regression report on Bugzilla [1]. Quoting from it:
>>
>>> Hello,
>>> 
>>> I have a virtual machine running the old Windows Server 2003. On kernels 6.1.44 and 6.1.45, the QEMU VNC window stays dark, not switching to any of the guest's video modes and the VM process uses only ~64 MB of RAM of the assigned 2 GB, indefinitely. It's like the VM is paused/halted/stuck before even starting. The process can be killed successfully and then restarted again (with the same result), so it is not deadlocked in kernel or the like.
>>> 
>>> Kernel 6.1.43 works fine.
>>> 
>>> I have also tried downgrading CPU microcode from 20230808 to 20230719, but that did not help.
>>> 
>>> The CPU is AMD Ryzen 5900. I suspect some of the newly added mitigations may be the culprit?
>>
>> See Bugzilla for the full thread.
>>
>> Anyway, I'm adding it to regzbot as stable-specific regression:
>>
>> #regzbot introduced: v6.1.43..v6.1.44 https://bugzilla.kernel.org/show_bug.cgi?id=217799
>> #regzbot title: Windows Server 2003 VM boot hang (only 64MB RAM allocated)
>>
>> Thanks.
>>
>> [1]: https://bugzilla.kernel.org/show_bug.cgi?id=217799
>
> From KVM's PoV, I don't see any KVM/x86 patches v6.1.44..v6.1.45 

Oh, sorry, my bad, in the description of the BZ it is said that 6.1.44
is already broken, so it's most likely srso stuff then:

dd5f2ef16e3c x86: fix backwards merge of GDS/SRSO bit
4f25355540ad x86/srso: Tie SBPB bit setting to microcode patch detection
77cf32d0dbfb x86/srso: Add a forgotten NOENDBR annotation
c7f2cd045542 x86/srso: Fix return thunks in generated code
c9ae63d773ca x86/srso: Add IBPB on VMEXIT
79c8091888ef x86/srso: Add IBPB
98f62883e751 x86/srso: Add SRSO_NO support
9139f4b6dd4f x86/srso: Add IBPB_BRTYPE support
ac41e90d8daa x86/srso: Add a Speculative RAS Overflow mitigation
dec3b91f2c4b x86/cpu, kvm: Add support for CPUID_80000021_EAX

it would still be great to try to bisect to the particular patch causing
the issue.

-- 
Vitaly

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ