Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp921508lqb; Wed, 17 Apr 2024 15:08:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX6+RnrIucN0fgOsSDq7eI0nd20pA1tF9KVQ1G4pQHJuA52ubYR5+cB9mUFsWt1COQaLk0V4/4hzq76EXVJuX0Yquw38jdbCKH+xAsANA== X-Google-Smtp-Source: AGHT+IFnL+0Vz4P6AD4IDUIcLlGfUfpQS80T8MJjMr5FeLQIyC2HmLa7OhJhNeFCcofUaVbLDQHI X-Received: by 2002:a50:f609:0:b0:570:4b12:8d07 with SMTP id c9-20020a50f609000000b005704b128d07mr569684edn.8.1713391713550; Wed, 17 Apr 2024 15:08:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713391713; cv=pass; d=google.com; s=arc-20160816; b=N+iPmVX5ZFgMvA7JJCqKuhiXihgWpAKTThx7+/KjZD+rEbxbSfTmMaAd/8cIqmRlJ6 +BqjHq8DzH6Ji4mgDVXiR5BiWCXNb+9jje/zpCaSi1UXKF5E3hDfayYNCmZPypXlPaEi NaDL5m6IOOXRN7bHTVwxivv+yUSlPCEEiRvvBdCHRUhon+5SAA54HsMFDPwM7Z2DKEOT MS+vT/JdGvTwcRjlpCyx//0UgPcXectit678GyXHovUqbYWKUW+beee7oLvWNaCdPyS4 ewhwavcx2fB/ixO1SDZD2rq93fne76RJwIWwUlUFGesTmoR7E+rbYJJrg2AG+as2WHet 5enw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=mEM8gHXG/HxaC8h69ROEnCM+V1EJ1N7csO+Pc0JoaIw=; fh=qMRGfOHjusnLiu2AjFN6rLV8e6jENMLYzEq89IzPVGI=; b=j2sqDoB5eBCPfo0h1nbTrjt68ip3HpGc+AYorwAe+QBanZid76HgLRMj8Qlgkv1k6n YGF/22FI2uY6pXpe2ACWzNVRb2yQVyWoimNCnYGuiYRnavuAYMx8S2fh8Jy2phK5hPSZ F+TXnDOtnQtSho3HSxaZuLe2y4I29wP463IeM28Jm9AY7Acot/BZ4Bt8Op8vSw3HVcp/ x9s/DCUzLLrmNPrpUxOEyOAFhKuxUkFrKIYaQobrFR7g0vL41xNpEVf1dcBIwK/JPVph oxTzAU8AX7weyoVwjqP5SxYuxXfeJ9V/Xv8ZU2wqF4EJ2JoUcIlNtL4KlrnKPYrGOqLc HsSg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=TwPGGHTi; arc=pass (i=1 spf=pass spfdomain=gmx.de dkim=pass dkdomain=gmx.de dmarc=pass fromdomain=gmx.de); spf=pass (google.com: domain of linux-kernel+bounces-149276-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149276-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=gmx.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r27-20020a50aadb000000b0056e3d6b4aa0si76102edc.534.2024.04.17.15.08.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 15:08:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-149276-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=TwPGGHTi; arc=pass (i=1 spf=pass spfdomain=gmx.de dkim=pass dkdomain=gmx.de dmarc=pass fromdomain=gmx.de); spf=pass (google.com: domain of linux-kernel+bounces-149276-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149276-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=gmx.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 222B71F21FD7 for ; Wed, 17 Apr 2024 22:08:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 55A3712C819; Wed, 17 Apr 2024 22:08:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmx.de header.i=schierlm@gmx.de header.b="TwPGGHTi" Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CE98312E1DE; Wed, 17 Apr 2024 22:08:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.227.17.20 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713391708; cv=none; b=N4CeR81hhRx7RLGCQwnahhDMckNRJfwGXRguIld4xvFZlICbQSnmoR5zdXEk7SYKqjTvfZ1aywGLu8z5Weg7ZKZdkONaOOiK97xf8xpFYoJUSP5yPI0xz4LKRKlDksa5zNWd7LGn4lQg01uOwjmbwPZ+NBz4qTqYWaOVkeiAUX0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713391708; c=relaxed/simple; bh=mEM8gHXG/HxaC8h69ROEnCM+V1EJ1N7csO+Pc0JoaIw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ngUlM8F2wpkohmfK3KJS3Xe8HZGxiSTbBEWWjjtvwkqXux+5Ora5IGSsb/aOEfaNygwJ2Mrq40FRm3X5pUimDyUXIl3RugMbk3Q+32ZnTGHngCRuIBZmXqGbNlBt/LSsVtBUHahLhDBq/6TyCf2goCbw6BdnDwIa+d51dRd4Bn8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.de; spf=pass smtp.mailfrom=gmx.de; dkim=pass (2048-bit key) header.d=gmx.de header.i=schierlm@gmx.de header.b=TwPGGHTi; arc=none smtp.client-ip=212.227.17.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1713391701; x=1713996501; i=schierlm@gmx.de; bh=mEM8gHXG/HxaC8h69ROEnCM+V1EJ1N7csO+Pc0JoaIw=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=TwPGGHTiibQIqYRZzgJePwRjI/s0G6R7rt2hfAOJOVhqlQGi9C6tuSYQCjjRHmxk zXZNuF73Yuq5Duq00sk406HG15LU4aDY29AUXLz8W1iJdRXFUptixqz0qQlxP2ydh 0h/KVKA5Ty57IUCS+0WUySsYZIJocTrFn3o9YRev2x6MNdZiDWpJfDlq8pvwA7vtl H62U61dgHRirpyMxpWg30UQvIV0jW58eS6sTJQ0EntTWm91KluvuXC94/vZGxyHPB ZC1YMNyUliCMDs8AKX6Xt5Llh0EwXjEe/ncy6xScnpdIpc47v6/DU+wx4j+KxVZtK etvQYyZhHirzQcp3fw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.178.56] ([84.145.176.14]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MHoRK-1ruWYt24LW-00EqgY; Thu, 18 Apr 2024 00:08:21 +0200 Message-ID: <143afb82-dcc4-4fd3-a851-a03b01532694@gmx.de> Date: Thu, 18 Apr 2024 00:08:22 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] firmware: dmi: Stop decoding on broken entry Content-Language: de-DE To: Jean Delvare Cc: linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Kelley References: From: Michael Schierl Autocrypt: addr=schierlm@gmx.de; keydata= xsFNBF+amRYBEACvwIMUTYHep294xNuk+jKA63GkZl7D3SlI4LbzJt1Cm4AvT/mQ5/UV3bAG VeB6iXDeCH28bQNXd4DymSMEzgXVkmcNws4MzFhhA/mbRuVntN8G6zGnAJb9NerBLwhEcSzN vCG7FnUKOLs+z75rQfyuBpYnzMj5prrFvCBW/3fBElajvLbDT/ZRdU7QqFmCVy7dtdk++tz+ 5pZzN4Tfy2f+DVsvdWjrQ0NX8J0FsI5QtdRLHP3oRJLTuNl7Vff6CE/wPnvFQQjguoapolFz jQFX5krR2C8axNg00qIMviGpio/AAI6La1QdSP/CpcD2QfzZPIdIaQy4yUCE/BoTBPgZWdC5 zwhmpN/qfSBs5QtUacL/4I+knomX/XyIqZNWqoVZ8FkX7i8AZO4ymuBwx8wZP5XUZwM6rzAd MMEKWrWWvks67uYmEuL4isP9QhZmG7EniWVt7is+X/alCT9cULEg+sXhHW4NOhCNlg020Bdg CHmdo7RecGqzKFIE/3RgYm+TwKc3YU/bgslIPu6Qz+Qqvz10Y4DFpyuNH6yOJMdRjpYpXYSF 6EjkFdFJKBmdpbYx08QRjPaQzt6ZYLEVm/bFhtyoBE9fyLLOjt/kERoMs+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skFRcxq97+nhFZ3z0I6q obUwLL0gH1iO/zFXdStHju7NV5d9V/OXwPMcRvSNOBPoC2b6ekP7iN0RUwBHCyNrL2Vu3LHy BwZ3jk6JR+xhRvVn2gXIMKA6qJ5XEhzGjKYYg7MnbA73jXuaa8RIvWJbMmnzkk57czt+Nycz X/YlaN5mlntK0gHYX29ddh59l2atvpzOiOi9uiRMJI6ZI+jy141kvQTgjnxUOS9mQN853jLL uxTR60TDY/d6Kz8= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:dIKsefGdEySh3Ykba5hNpP8J0uk+A9B0UDyZ93+aL//4edatlHv mL1GzioOT3Wbi7U1aYxhk+97wyyOEkT5/tyhhLv0Sos5FGwfUJuqEjc3AXedmmI+b13zjVi B8rxVIzwapQDYWNxw/MkEUmuvfaflQ0T1Qk+N+Z0ctHg/vi+afxwcF1V4kKibv0GvOGrR9r JwG8UUYJlsYvxN7Owz4aA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:rcZhV4wFv+0=;HnOqxM3K3kp9qAvmz3WXmQ1gyWh PLDLt5gH1pFRY6oIWjYMScD2GV7Oq9OJ+pt7Ufeo+IIXpZKkZNMQwuhNMgguVYPNluxaHl80M gFnZPE9TgA94MCOlj0U9BTaP/dq6I1O09TfklOHQ37hNvAk9zv/ohkxjcuWdz4WwfQ43p0l1i dHAsi67wxdyB0m8Ke3X9MrJUhChCv48l+ujhLdJWkIXHUQfYTu3vOfRHljDY2PFwYbrchOEHB CLOSeu6i05SHeWr9fvHmzuTKUiNL/VdSt0ansuSBadfx3a59g/+4QmrVKiBhSGTryAfOMdEg8 BGUFgWQeHZftMG5z/Bf7keC3bZajYaff/VPhxQHxVMbsY4ymJhjPuPdJGg4CznwbfoPfba8JS NQKZQXH3VfOO/t2NfVE4FtBMus6XVgisgxOHisQKFfDoCNchU5z9NUL27PSCus7PfKB5peHm2 1o9jgHU686R+dhi4+pUXsMagVdM5pQPCoOYF702nAmA9cYChXtfwUjv2CO9tMlukc4NWY44ju kZ/CVl7HjirY7SjCmfmvp1jveU9LTD61T33QcbKjkLJtVlBiNaadD/NaCTV2ht6iDWH6+jvUZ 0/VRtw0xQHa4ODFz/iZkutdOJ7Z6UQnYHtqCGUmUYBwkDh9D6iS3DR9o353KE/2FwykDnkQB4 u51hPZu8pkPTGvw4z/zOqGuHE6A7I/hzE6EjlBVmE6Y9GjtH4IfbwkiXVEwLaSZCIEKI3WQgb r0cMz5JiFp/5IdRrmCgRRBQCpsw6N7hU7UtU+tKrMdrlZ07EaHnuAywV7Tg1TkT4OZE549EOG 7rVcq2FJXIFfoxeheCuN/sa/ZZ95Hyg8XEkmlYUGuWYUE= 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 > 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 Applied on top of 6.8.4, it prevents the early oops I previously observed when booting with 2 vCPUs. Regards, Michael