From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kDpiHnl12mMdzQAAbAwnHQ (envelope-from ) for ; Wed, 01 Feb 2023 15:21:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kN+FHnl12mNWrwAA9RJhRA (envelope-from ) for ; Wed, 01 Feb 2023 15:21:45 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B0AD41B8FC for ; Wed, 1 Feb 2023 15:21:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNDzD-00064T-Qg; Wed, 01 Feb 2023 09:21:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pNDzB-00064K-Cl for help-guix@gnu.org; Wed, 01 Feb 2023 09:21:17 -0500 Received: from sail-ipv4.us-core.com ([208.82.101.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1pNDz9-0000ed-Hs for help-guix@gnu.org; Wed, 01 Feb 2023 09:21:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=RDxI9HCRh1GT7z7 GwsbVM9EuG26OHaTYIKJOP86hbVY=; h=cc:to:subject:date:from:in-reply-to: references; d=lease-up.com; b=nPchfSiwyi1jBEibjCB5G6lRbPh8mYywgq+okOUO buR8KG4Sa8JUsbbsw/Hk1CMntCka0K16ykYQ42wf81lOi3mwV9SpL5OH3RPX+/WCFYCnnP lgqW5x4RII0kBcHNfB7mlri/yAzUPvFVhKtqXNDXaWjxVVlexOLQPWoE0DC6Q= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 3f5b7864 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for ; Wed, 1 Feb 2023 14:21:06 +0000 (UTC) Received: by mail-lf1-f50.google.com with SMTP id h24so29509698lfv.6 for ; Wed, 01 Feb 2023 06:21:06 -0800 (PST) X-Gm-Message-State: AO0yUKVGIOU4d5JfsjtzM4xC6NnkvkvAUpqG2wL4BXPKleG7wgQjpzWt 61yjGL4AHTN+0v2kraOqgALOl4Nk7guUBEwYOJM= X-Google-Smtp-Source: AK7set+bOnp3Gic19pLiBGQ+HZHLBR05HnfRYNljslWsSDrBnTvbAKb6pzmHN9Phh2jX9+jcAQSvV3OTlrO/K9vsln8= X-Received: by 2002:a05:6512:2e2:b0:4d1:3e32:6417 with SMTP id m2-20020a05651202e200b004d13e326417mr463644lfq.61.1675261264121; Wed, 01 Feb 2023 06:21:04 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 1 Feb 2023 06:20:26 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Intel i7-1165G7 vulnerable to Spectre v2 To: Christian Gelinek Cc: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=208.82.101.137; envelope-from=felix.lechner@lease-up.com; helo=sail-ipv4.us-core.com X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URI_DOTEDU=1.999 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Felix Lechner From: Felix Lechner via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675261305; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=31K4ISYegFOHFqdKB4F+20Jj1sEz7XfHbbVVxZZ9kUA=; b=XP2ln8GrkLOEcXAwiAmUcnYdG7o9cPFK09J3C5j2j9grxnFqD2PAJ/rvB6qv1tvjWzcX31 pz+vYZG1wZ9aQqeXTa6GCd7yAuumYQTTDZkunR7erYwCHqZ/2ACwi6cyM2Je5YWKg3jEBd BOrJ7HKJ819n79/StAbroIyLnsHL+8GY8y+TNxa+quPBXGX4mJjdAWHLZuBRudrmxWPUgU 7xMbhSQB40h3ZV2+gE6qNgHIRFjIy6hX7MCYiFIbiEUqyWrIlcawm4vEhrOujIwjqYowqW 14lxB+gj+MMVY2XTJQFF1uGp1+qYyjXg8GFJ21naDGUpKXpxeHBPU3xdsi5OCQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=nPchfSiw; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675261305; a=rsa-sha256; cv=none; b=PovnzFfnuwT/Z5sQXQI2kM4D4UlgXtNIiEaTBDeBHlKucSBhh3BO2Jsvfcs2eSw0kVnQ3S wrdxDTtJXpr+CnqJ+YXpT0l0nRYPdbPgnev6TmSWqFSZ1ZLOhtTI1C18J3XkqXLogjRZCj vKsEoFOY40TcpOBoU/TKITzrBuUMiyGWLwAuQO/qI4sgwD95iq3cRhSixSetwkNMXFgZEx 7RfXdMLeWoCSeFFk2siMC+kmVjqnzkFN3h4gPVvgBB5G4DDokYeoaTymjJ84g6yzsdIvAE RH+R609DpCA1kcNBmLLXOrPhfMpiCk84ntBH+pHhuqmgsd5X+DMO86cqVLccLw== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=nPchfSiw; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn0.migadu.com X-Spam-Score: -1.88 X-Migadu-Queue-Id: B0AD41B8FC X-Migadu-Spam-Score: -1.88 X-TUID: icxEnFjvD2k4 Hi Christian, On Wed, Feb 1, 2023 at 2:26 AM Christian Gelinek wrote: > > On the same machine, I have run Debian 11 Live from a USB drive: > > Vulnerability Spectre v2: Mitigation; Enhanced IBRS, IBPB > conditional, RSB filling, PBRSB-eIBRS SW sequence Looks like the "Enhanced IBRS" feature is not active on your machine. Intel submitted it to the kernel in 2018. [1] Per the comments in the code it is only needed for firmware, but still something seems to be not quite right with our kernels=E2=80=94or with thei= r initialization after booting. Could you please check the output of 'lscpu' after running the following command in a Bourne-compatible shell: echo 1 > /proc/sys/kernel/ibrs_enabled as described here? [2] We may have to look at the other missing features too, which are: "IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence". Thanks for helping to make Guix better (and safer) for everyone! Kind regards Felix Lechner [1] https://lkml.iu.edu/hypermail/linux/kernel/1807.3/00923.html [2] https://www.linuxquestions.org/questions/slackware-14/how-to-enable-ibr= s-support-4175671384/