Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp213029lqb; Tue, 4 Jun 2024 09:10:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVB9Y0ddJvG0kFAe/E71LVQVK0efFeovUWLHwdrzV+ngLHgkxHl7dEBOBKrzxPaCogAy+8t4TK/qB0bHA2jwV6t6jGP7esmDf2VxJuOkA== X-Google-Smtp-Source: AGHT+IF4vVAizM12T75v4Zel6wo/eUwdHHhuG48xghAvNCRt26Q2f8/vNAtqmfrqXtg3KHi8sPsJ X-Received: by 2002:a17:906:4915:b0:a66:d1a1:f92f with SMTP id a640c23a62f3a-a699f34da1emr500666b.14.1717517412946; Tue, 04 Jun 2024 09:10:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717517412; cv=pass; d=google.com; s=arc-20160816; b=ExOrzdmv4b/Qg0FcvbP/zDWMKxOf9fpatXvi5rK05B3Eg+gxMDTbNxjSapxkrhLMhP vLns44eDAqu9YziJEKPdDZRCUghK+gTAJRwzBqNHN3QIMzlFtwFUOhOzErrGEC9HbZXy /gjb72mWdl6Fuaw3g0Y3ykqmkJBcfTRBwK7hyLFcQBauPqnfMCbuKEiy60ESIx5Sofsx 5ACMv0ySymmftMMn+WrRxAGgnsasihpIi9hkxBVIGnu0HQ1ZY4BCGZkGxcwfEkwJwVbb V533UV7PK7slafJ3B/oEJBvEvZ9rDH0jEnWeC3Xg4JUcEQNK3YOo4FUnRBkMwfbLSrp8 3EiA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=zDitCF42fLHdt1Ig5HhwFq8CPx2Qx1QENuZVXfNm13Y=; fh=Pw9oIHiZdPIgk2cKCYJKQQXdFUR6EHR9WT24xUzU7/4=; b=RfKrV/4lzQxvCWWop0GoUlq58Edv7Y8YCCddnUi1qIIGDT4Aj5aY/c/SIXlsAe1Hsd 9q1uaafaL9pJTrbxoUH9tPbRuAQSx9mLjhJg30+wkiI2mMtOzENEjjBxH+TzEtJnf+He Jis8x3xAaRyeVi9O9r9iwP7JbST8grdUadmlxK7QyoC4ccSK3TxzTAtRv6FKjjiXRZVK I7jLVVA/eqQ7ComS0E3c3dkX36m8w6EvXo5e8fkOehYYjAAIcz7KZUssz95t0e/iNjS6 lKN4STCNRoFHkmGKIV5ZBhN1qJrJN97jDlHSdW5pIoBmb9A6gGMN/QKTU6uqySA07Z4a /7sw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=BIvwWegi; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-201046-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201046-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.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 a640c23a62f3a-a68f737531bsi251690166b.525.2024.06.04.09.10.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 09:10:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-201046-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=@linutronix.de header.s=2020 header.b=BIvwWegi; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-201046-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201046-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.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 A40B71F22BF9 for ; Tue, 4 Jun 2024 16:10:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8A488146D71; Tue, 4 Jun 2024 16:10:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="BIvwWegi"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="NFaNIAN2" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 32E5A53BE for ; Tue, 4 Jun 2024 16:10:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717517407; cv=none; b=ExEUuxEepCdAxrnoWa37LkwpxhIjD/gYgg/hjzKoPz0/nFbvu3Mibdd8eoLIs+sYY34V7KxsB2L/V014xCtiZRDIrTcv8HXojGttHGt6LjA/Uu59eajxtxGQBHysxKBf0PXaoZw1JS1zJuWVDqv8oGWRhZ4T+WPnQtuA4n8kozo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717517407; c=relaxed/simple; bh=k/qLKUrFXNR9X5ncu7ZzLByVbnqxCevGaXRBjnYGXgI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=FjVKsDLhrsvIuydOfWQW3HbcSC9bOs8v6vFwLGepfpQHMj9oTgW1KcxZyi/sfY7rISEn6Q3g5QtQs12EbW+bhWhh2b6UDAoa4oDv4PyclmEeGsk2lyAy9zS8agz4PEOMFGHHTFT+WL3zbAN03uTxWKvf86tiNJbBX4zOWPg9MTk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=BIvwWegi; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=NFaNIAN2; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1717517404; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zDitCF42fLHdt1Ig5HhwFq8CPx2Qx1QENuZVXfNm13Y=; b=BIvwWegi7CD+kZNJ9sTl+y7f/7MCPyDa1WKqUw4DEWQAnTfDKVmIohW0jHcIj4Y2I93xY9 OBpBAVel/k624TguD5vxr97nwwdjJox9iaqeXx6+4HmI5wmaqLMNv6lpI1Yo/Hj0whSy/M bnUotbQp+hL/IPt7k95ePa0JBJ9HSLR0KNnbGqkPDHm9+vPdFFGre0URtFbFSb94AUAVX5 fqgIaw74DO5DxHJJ5Js8uBTScRxdzD6sWiIOzJavlOPr5KSyjN6qjhaCNHkIwPQUYPoeWg 4KG38oBtnqMJmukuHtR3gH4sYCYQ/SY6kAmiSi0Wpn9FTmeejMSSR2jo5YELPQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1717517404; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zDitCF42fLHdt1Ig5HhwFq8CPx2Qx1QENuZVXfNm13Y=; b=NFaNIAN2rWRNzsnQdgBI6XcMfwPbZMpA3kZxiUPFFCL/ZBtQMWHNOuKWU5sCs4S0hx1ndW th+uAWi3nkL1RrAA== To: Will Deacon Cc: syzbot , anna-maria@linutronix.de, frederic@kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, Catalin Marinas Subject: Re: [syzbot] [kernel?] BUG: unable to handle kernel NULL pointer dereference in __hrtimer_run_queues In-Reply-To: <20240604133448.GB20384@willie-the-truck> References: <000000000000deb5250619f9b5f4@google.com> <87tti86gca.ffs@tglx> <20240604133448.GB20384@willie-the-truck> Date: Tue, 04 Jun 2024 18:10:04 +0200 Message-ID: <87mso0665f.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Will! On Tue, Jun 04 2024 at 14:34, Will Deacon wrote: > On Tue, Jun 04, 2024 at 02:29:57PM +0200, Thomas Gleixner wrote: >> On Mon, Jun 03 2024 at 03:22, syzbot wrote: >> > * 10: f9400821 ldr x1, [x1, #16] <-- trapping instruction >> while (node->rb_left) >> >> > x2 : ff7000007f8cf8e8 x1 : 0000000000000080 x0 : 0000000000000080 >> >> which obviously crashes. Now the question is how does the original node >> end up with node::rb_right == 0x80? >> >> I doubt that this is a hrtimer or rbtree problem. It smells like random >> data corruption caused by whatever. It might not even be an ARM64 >> specific issue though the C repro does not trigger on x86... >> >> Handing it over to Catalin and Will. > > I suspect this is a duplicate of: > > https://lore.kernel.org/lkml/20240604110119.GA20284@willie-the-truck/ > > and there's a fix queued in the -mm tree. That looks very much so. Thanks, tglx