From: Michael Schierl <schierlm@gmx.de>
To: Jean Delvare <jdelvare@suse.de>
Cc: linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org,
Michael Kelley <mhklinux@outlook.com>
Subject: Re: [PATCH] firmware: dmi: Stop decoding on broken entry
Date: Thu, 18 Apr 2024 00:08:22 +0200 [thread overview]
Message-ID: <143afb82-dcc4-4fd3-a851-a03b01532694@gmx.de> (raw)
In-Reply-To: <b702b36b90b63b615d41e778570707043ea81551.camel@suse.de>
Hello,
Am 17.04.2024 um 17:33 schrieb Jean Delvare:
> If a DMI table entry is shorter than 4 bytes, it is invalid. Due to
> how DMI table parsing works, it is impossible to safely recover from
> such an error, so we have to stop decoding the table.
>
> Signed-off-by: Jean Delvare <jdelvare@suse.de>
> Link: https://lore.kernel.org/linux-kernel/Zh2K3-HLXOesT_vZ@liuwe-devbox-debian-v2/T/
> ---
> Michael, can you please test this patch and confirm that it prevents
> the early oops?
Tested-By: Michael Schierl <schierlm@gmx.de>
Applied on top of 6.8.4, it prevents the early oops I previously
observed when booting with 2 vCPUs.
Regards,
Michael
prev parent reply other threads:[~2024-04-17 22:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-17 15:33 [PATCH] firmware: dmi: Stop decoding on broken entry Jean Delvare
2024-04-17 15:43 ` Michael Kelley
2024-04-17 17:33 ` Jean Delvare
2024-04-17 18:12 ` Michael Kelley
2024-04-17 22:08 ` Michael Schierl [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=143afb82-dcc4-4fd3-a851-a03b01532694@gmx.de \
--to=schierlm@gmx.de \
--cc=jdelvare@suse.de \
--cc=linux-hyperv@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mhklinux@outlook.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox