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


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

Bug#1043585: Update on this issue

Started bySalvatore Bonaccorso <carnil@debian.org>
First post2023-08-17 09:50 +0200
Last post2023-08-17 20:40 +0200
Articles 3 — 2 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#1043585: Update on this issue Salvatore Bonaccorso <carnil@debian.org> - 2023-08-17 09:50 +0200
    Processed: Re: Bug#1043585: Update on this issue "Debian Bug Tracking System" <owner@bugs.debian.org> - 2023-08-17 09:50 +0200
    Bug#1043585: Update on this issue Salvatore Bonaccorso <carnil@debian.org> - 2023-08-17 20:40 +0200

#80091 — Bug#1043585: Update on this issue

FromSalvatore Bonaccorso <carnil@debian.org>
Date2023-08-17 09:50 +0200
SubjectBug#1043585: Update on this issue
Message-ID<H3FVv-2rSN-1@gated-at.bofh.it>
Control: tags -1 + moreinfo upstream

Hi Martin,

On Wed, Aug 16, 2023 at 07:16:58PM +0100, Martin Johnson wrote:
> Package: linux-image-amd64
> 
> Version: 6.1.0-11-amd64
> 
> Update of this recent issue - I might not have specified the package
> correctly, sorry for that - its the first bug I tried to report on Debian -
> hey Debian really is that good :-)
> 
> I found some sort of workaround too, but its far from ideal at present.
> 
> To avoid this issue you can set the kernel boot parameter:
> spec_rstack_overflow=off
> 
> Then the problem no longer exists, obviously with an additional and quite
> serious AMD Zen processor security issue.
> 
> So the cause is also related to the recent AMD Zen security patch.
> 
> The problem seems related to these posts on bugzilla.kernel.org, but is
> manifesting in a different way for me:
> 
> https://bugzilla.kernel.org/show_bug.cgi?id=217796
> 
> and this:
> 
> https://bugzilla.kernel.org/show_bug.cgi?id=217796

Did you meant to reference here two different bugzilla enties?

> Hope this information is of assistance for anyone who is lucky enough to
> find this information :-)

Thanks for providing that. Would it be possible for you to test a
custom kernel built with the following commit applied on top and see
if this resolved the issue you are seeing?

https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=ba5ca5e5e6a1d55923e88b4a83da452166f5560e

See
https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#id-1.6.6.4
for instructions.

Regards,
Salvatore

[toc] | [next] | [standalone]


#80092 — Processed: Re: Bug#1043585: Update on this issue

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2023-08-17 09:50 +0200
SubjectProcessed: Re: Bug#1043585: Update on this issue
Message-ID<H3FVv-2rSN-9@gated-at.bofh.it>
In reply to#80091
Processing control commands:

> tags -1 + moreinfo upstream
Bug #1043585 [src:linux] AMD64 Kernel update prevents an emulated TPM working correctly inside Windows 11 KVM guest OS
Added tag(s) moreinfo and upstream.

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

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


#80107

FromSalvatore Bonaccorso <carnil@debian.org>
Date2023-08-17 20:40 +0200
Message-ID<H3Q4x-2y5H-3@gated-at.bofh.it>
In reply to#80091
Hi Martin,

On Thu, Aug 17, 2023 at 05:10:44PM +0100, Martin Johnson wrote:
> Hi Salvadore,
> 
> Thanks for getting in contact regarding this issue,
> 
> Yes I did mean to reference the two bugzilla entries, since it seems to be
> the same patch that's causing issues with the emulated TPM, at least turning
> off the mitigation the same way they do fixes the problem for me also with
> the swtpm function.

Still confused as the two links were the same, twice
https://bugzilla.kernel.org/show_bug.cgi?id=217796

> I did try to apply "x86/retpoline: Don't clobber RFLAGS during
> srso_safe_ret()" patch as suggested, unfortunately it is incompatible with
> the 6.1.38 Debian kernel source:
> 
> --- I omitted some lines as there is a ton of text ---
> 
> Applying patch 0052-Linux-6.1.33-rt11-REBASE.patch
> Now at patch 0052-Linux-6.1.33-rt11-REBASE.patch
> make[2]: Leaving directory
> '/home/martin/opt/kernel/debian_test/linux-6.1.38'
> make[1]: Leaving directory
> '/home/martin/opt/kernel/debian_test/linux-6.1.38'
> Importing patch /home/martin/opt/kernel/debian_test/patch.patch (stored as
> debian/patches/test/patch.patch)
> Applying patch debian/patches/test/patch.patch
> patching file arch/x86/lib/retpoline.S
> Hunk #1 FAILED at 164.
> Hunk #2 FAILED at 239.
> Hunk #3 FAILED at 252.
> 3 out of 3 hunks FAILED -- rejects in file arch/x86/lib/retpoline.S
> Patch debian/patches/test/patch.patch does not apply (enforce with -f)

Okay this needs adjustment for 6.1.y.

Thanks for confirming the issue beeing present as well in 6.4.11
upstream and fixed with cherry-picking the commit, this is helpful.

Regards,
Salvatore

[toc] | [prev] | [standalone]


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


csiph-web