Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp307678rda; Sat, 21 Oct 2023 08:29:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEo/Q9dtQ5oQr0bN3S3tiE2MNr6M8DTkhCIxCjtabx5r98SAIX/rfEBTqId/X9lYn/q4acY X-Received: by 2002:a05:6a20:6715:b0:17a:49db:4c0a with SMTP id q21-20020a056a20671500b0017a49db4c0amr3240686pzh.49.1697902143951; Sat, 21 Oct 2023 08:29:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697902143; cv=none; d=google.com; s=arc-20160816; b=B6Dh7NA51MDvFtpJq1iqs1vp+wPuA3oc59DN6BNuNxmo5GJtHM9F3tMK2bFa0dJdUH awwMZpTmUxRfYiz72OrSncbHBWgxLST/lV4vO+h3TBZjrn18wuohj8ALuNT2GJbe7E9T HatAARjMjqLedrXbjEc33AliJk9i3KUvb2/tAJP6bu8N2UFWGLAoLfjnMvKv06z4RmaT /qY3x6vlo74hvN2NaTa/iOYMSA918jf2SkQk7vuUdBk601Mcal+ujr7wj2hzXgMHM0sY 2CSrBrAXO1zTV0seY7Q3L2Crk85ObxrDWFuUdiQ2YGydSxmOfljb0YOar6A3HMwVW1nZ YKoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:sender:dkim-signature; bh=eTV5TdN8XnmwCbXJlALC4Yi9SLWv2TXy/RSRk5k8erY=; fh=9HS9/jvjIOxkN+ujpLVFakHlL6qGcok8drUpD0pNetY=; b=WXWIcVYyDMZM2l5Y0gLQrJN3RDHKelmfuJ0mAlRwgl220wBL1m0JgxqiWvEzwqTQur VwGZivf5R6ZpfrScMFX/TsjJaYx9zBG0XxogxKUp+upG57KhfbcOuN77YEjOpXiP7q2r 81/YjAJAkW+Nt5S9DALmLAYpQvJr+SjyZ6fbskycAl30DvjQZ8vNzCAVDwxpf3+Mk6r6 AgcvPhD3Kl5Vy6m+mTEfxmhsPo+2+4K8cSQEwZ/LobXt7dGu7G6cUTiL4i0QZLrYQBq5 keYyN3wAgarqrdmbqAeXIClHOQ+hnqzZQGk5/dOBNSYqa0/TdoVIAgp/OaVo3FFDG0cO KJhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XeSkEEEE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id 26-20020a17090a005a00b0027d29e618f7si3732115pjb.78.2023.10.21.08.29.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Oct 2023 08:29:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XeSkEEEE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 7A8658025066; Sat, 21 Oct 2023 08:29:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231372AbjJUP2W (ORCPT + 99 others); Sat, 21 Oct 2023 11:28:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229583AbjJUP2U (ORCPT ); Sat, 21 Oct 2023 11:28:20 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F27FD6 for ; Sat, 21 Oct 2023 08:28:16 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-9c53e8b7cf4so265686766b.1 for ; Sat, 21 Oct 2023 08:28:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697902095; x=1698506895; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=eTV5TdN8XnmwCbXJlALC4Yi9SLWv2TXy/RSRk5k8erY=; b=XeSkEEEEGSEq1IKRCY+TeRJSr8MzVpcc4APML2bjQ6D4hHqlf2XvAviTh/hg9Wwb0T QUyqFl8T0BmOXoNcEpQ2w+Zl2j/K0RShtCPxcLoYHeTOoxSpN/NG2XtMVf/f0dZ0SrQf 9Iutu6xWFLoqfWS5pq2USiVRArdZhH/LFZlNMW/NkhT+jnN5bMhn/emS/bla5a8GNxKL m/H4KFIlDRovp65BMD0Jv8otOoWLmLU7B10wK0TO4/UdWWqctRuxLezpg0FSyLmjAf6e qdRuOf7776xTibLDNOZ/8fhwGY0ZDpRz6+02XFxyuldxGGLYv0iE4oO3TRC06Iq2ngN+ R33Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697902095; x=1698506895; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=eTV5TdN8XnmwCbXJlALC4Yi9SLWv2TXy/RSRk5k8erY=; b=KyUXjfmAq2awgQBQAx38TqQHDU+iYKSXXyoBg8uJGsOCIvaTWYk22TzQNXjjOIox9C qZbPM6sPUllqU0s9DchN+KoTY186cTgBB88U0cPR2T9ibqmlsE+3vSNsTCc5O7yAtorN elCR0RnSE53DzsDJEyQKVyy+SCnTloh89P0j+zVEYk0RLlXSzy9VqnUeOZS+XjJS274q L9G622BGxLRihuh1iWeMmJP7u8Gsly1T3c3ka00vh24fSHe/Q/uCHD1XgEFRiBlYgpL3 YIqZ5PqNBXGzI8qKqn28aog9aGUee1QHFyP7a61rEwj1fIvbq3lr1esn9bxMWFouFJT9 VCSg== X-Gm-Message-State: AOJu0YyphuC65m5yc5s5XwhWhs6738Sw02R5ygX9/ly+ikmeMKRnfk+w oRMaLd+LgwvqfnI48T4FfWE= X-Received: by 2002:a17:907:961a:b0:9bf:39f3:f11d with SMTP id gb26-20020a170907961a00b009bf39f3f11dmr4401239ejc.30.1697902094739; Sat, 21 Oct 2023 08:28:14 -0700 (PDT) Received: from gmail.com (1F2EF1E7.nat.pool.telekom.hu. [31.46.241.231]) by smtp.gmail.com with ESMTPSA id h9-20020a1709062dc900b009930c80b87csm3813556eji.142.2023.10.21.08.28.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Oct 2023 08:28:12 -0700 (PDT) Sender: Ingo Molnar Date: Sat, 21 Oct 2023 17:28:09 +0200 From: Ingo Molnar To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, Peter Zijlstra , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider , Thomas Gleixner , Andrew Morton Subject: [GIT PULL] scheduler fixes Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sat, 21 Oct 2023 08:29:01 -0700 (PDT) Linus, Please pull the latest sched/urgent git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-2023-10-21 # HEAD: d2929762cc3f85528b0ca12f6f63c2a714f24778 sched/eevdf: Fix heap corruption more Fix a recently introduced use-after-free bug. Thanks, Ingo ------------------> Peter Zijlstra (1): sched/eevdf: Fix heap corruption more kernel/sched/fair.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 061a30a8925a..df348aa55d3c 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -3657,7 +3657,8 @@ static void reweight_entity(struct cfs_rq *cfs_rq, struct sched_entity *se, */ deadline = div_s64(deadline * old_weight, weight); se->deadline = se->vruntime + deadline; - min_deadline_cb_propagate(&se->run_node, NULL); + if (se != cfs_rq->curr) + min_deadline_cb_propagate(&se->run_node, NULL); } #ifdef CONFIG_SMP