From patchwork Fri Jun 7 04:05:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Cabaj X-Patchwork-Id: 1944814 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VwSKg2BGfz20QJ for ; Fri, 7 Jun 2024 14:05:42 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1sFQr0-00066g-WB; Fri, 07 Jun 2024 04:05:27 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1sFQqx-00066B-TJ for kernel-team@lists.ubuntu.com; Fri, 07 Jun 2024 04:05:23 +0000 Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id AD3BE3F690 for ; Fri, 7 Jun 2024 04:05:22 +0000 (UTC) Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-7952f541411so286569885a.1 for ; Thu, 06 Jun 2024 21:05:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717733121; x=1718337921; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=u6SZ6LIiCoj8sSOuzkIcekWzV5uwpBNJ/CBdhVcW6xU=; b=ivU5Fz6cWlUQkajyib5qd6R8Lm08qR+Hv5NlCUawNXH2FiAxJQpz30pGQOxJr0Sg0i AdsO/w4lf/Ks60siUAGA5g05YP8bZ1mVRihR2DoHMd3X/p5IiBklKp+k6YQgV5nKJsnw PmVxcpYhIj3pwFXm2LECqGdd9tdNaHBL1u7Zu3DPPmCJoZiswS97xI9edy2uCNw18EIz FbW2YPVMIsLhdY0cBEqnOS82jMEw1vz59rloLD7KzSgUOJHRPA7BdskYvmIk2mhMu06j F1UkuPuZnh/JOOC9VIhHaKcnvW3mVXqW7XnH/ocRhJllUSklenDhwa54U5gRI3FIuP3G oruA== X-Gm-Message-State: AOJu0YzGKBSBKPCsBzq+nJO/po9J7zdAaIEfvb75OJSn/sBKnl7c7DB0 /eICTm4vASx/R7Yg2cvzrII3DlC3m87IpuGy5HgdU/YEwo6NuG6Thg2aClLTvlOWlvBcvO3wrVz rsPBE0wwgD2V2PiWsYSjjJvXOH6yWcEW5q+HolVOv/MICGwofMFuYmf5IfAdhImfvLlWDPqJh4l tc924losGKDA== X-Received: by 2002:a05:620a:7293:b0:793:24:ef45 with SMTP id af79cd13be357-7953aefcc51mr303718485a.6.1717733121409; Thu, 06 Jun 2024 21:05:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IERAfkD6rKZsDeluYFkxzAODylnNZqHiJMNznfHApG9oc4ly/Pd5Nfj5r+QbBQMsZugSDuftg== X-Received: by 2002:a05:620a:7293:b0:793:24:ef45 with SMTP id af79cd13be357-7953aefcc51mr303716385a.6.1717733121006; Thu, 06 Jun 2024 21:05:21 -0700 (PDT) Received: from smtp.gmail.com (h208-73-92-250.mdtnwi.broadband.dynamic.tds.net. [208.73.92.250]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-44038a80209sm9429351cf.36.2024.06.06.21.05.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 21:05:20 -0700 (PDT) From: John Cabaj To: kernel-team@lists.ubuntu.com Subject: [SRU][noble:linux][PATCH 0/1] race_sched in ubuntu_stress_smoke_test will cause kernel panic on 6.8 with Azure Standard_A2_v2 instance Date: Thu, 6 Jun 2024 23:05:18 -0500 Message-Id: <20240607040519.379954-1-john.cabaj@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/2068024 SRU Justification [Impact] * When running stress-ng race-sched portion of ubuntu_stress_smoke_test, a NULL pointer dereference occurs on Azure Standard_A2_v2 instances with 100% reproducibility [Fix] * Clean cherry-pick from upstream * Commit 1560d1f6eb6b398bddd80c16676776c0325fe5fe "sched/eevdf: Prevent vlag from going out of bounds in reweight_eevdf()" [Test Plan] * Compile tested * Boot tested * Tested on Standard_A2_v2 instance, experienced panic without patch, successful test with patch [Regression potential] * Changes isolated, minimal regression risk Xuewen Yan (1): sched/eevdf: Prevent vlag from going out of bounds in reweight_eevdf() kernel/sched/fair.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) Acked-by: Stefan Bader Acked-by: Agathe Porte