Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1919352rwb; Fri, 11 Nov 2022 02:19:09 -0800 (PST) X-Google-Smtp-Source: AA0mqf7DRcCA8zjyDBBy8tEpxT4OrYKO7weBauQqaUT9wucvgYXkQDtdc9EFBDRiiC0L2gBFLckw X-Received: by 2002:a05:6402:611:b0:466:7500:b5df with SMTP id n17-20020a056402061100b004667500b5dfmr903448edv.48.1668161948813; Fri, 11 Nov 2022 02:19:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668161948; cv=none; d=google.com; s=arc-20160816; b=h8Y6lh09Twqetj/BAMoGkGMiPTgDvGSS4t0NDVnblVj7JhWuZTsMANKzKI5V+8LCQV f35o/4riffkReABrY/+ZfWk1t9RyPJaaE2jIKlMWFf0S09ihrU4XQODK0QHP8c/P1ZzX TnTcN/THFrIZKJDezCDdyRDpDnES/NDfbEgdRlvOZyxrTY2SsffyKEMHDA5Pnp6RKk0u B0ijKK6cp8YPNr4gxnW7COD5xD3vtcozYgRcxh+xH4gKcxtpF3IhhpWfUq57+11qOaTM yObyXsvzMCNzDos1ihiDWXYwrJ+9VPOxQaS53ZEXD1IPvGdx/9l2EAAMVPNQPWdt4h3y AKgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature:dkim-signature; bh=oHldGcSIi4XpT0d+qNudMQmcQAntDGMgnl8257ZJACQ=; b=farYnUeYWSr9QI5TgfR3Fw1QHFCysKAcbjG32QDeh68Xzz2AkO5/KkOpVFjhEpFWbW UvAQWfGaXQcKptJl1bVChcBK2EPmVJXjhb413BafKeYSxVaTcgOt0/d6TwQHeEkyBQrN Bvlh761bnndzF+K6xpOB43TPzLZkhPYqNmyFzni/FGZLN0iuQKnB3LzduAw2ElNTFEP3 hXjtt/9A0x/WtENP3bjFIZPP7LvR8r5g72tixknzPYtvnKeJ5Iy7WZ09nEMmRrqVunOW 40snO9QY0f7CCJL4fsJK+0kyrExQTniNlMZkckGdtunJigU07VIYMYwZt+NXIK4kWlYa RWKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@alu.unizg.hr header.s=mail header.b=TDND0Y7N; dkim=fail header.i=@alu.unizg.hr header.s=mail header.b=1hmfbliT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alu.unizg.hr Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w10-20020a056402070a00b0045cf3759408si1889849edx.49.2022.11.11.02.18.45; Fri, 11 Nov 2022 02:19:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@alu.unizg.hr header.s=mail header.b=TDND0Y7N; dkim=fail header.i=@alu.unizg.hr header.s=mail header.b=1hmfbliT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alu.unizg.hr Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233560AbiKKKJg (ORCPT + 93 others); Fri, 11 Nov 2022 05:09:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233576AbiKKKJ3 (ORCPT ); Fri, 11 Nov 2022 05:09:29 -0500 Received: from domac.alu.hr (domac.alu.hr [161.53.235.3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFF51748D1 for ; Fri, 11 Nov 2022 02:09:23 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by domac.alu.hr (Postfix) with ESMTP id B69C2604F2; Fri, 11 Nov 2022 11:09:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=alu.unizg.hr; s=mail; t=1668161361; bh=CElacBSfN4wYwRkOcJdp4SRDIGxK/pa4saNiSjR2T6A=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=TDND0Y7NQsnT3vUa/2NPldbHYgasnsVxootalHbDRWtYGiJJ8IW5kSLPgh3VssrHJ 8kB4bNZPruwHk2EeCEI/0xFJxE1jcLU/QovLlTPkvsWBExYPaKK9aNJ35DISDADJVv O4c8YHVVyuUy+R9FiXX+RsVYvhg3bz0XNKnmOCtSHTobrXHpfvKIPJviwp7oAZEvEG 0BB30laaF5yaFP1v3MQLRJfdxhIJgQBFpEVI8ugKfJWBEksyM1E9PgQoG4Wg8MeRkb 9ZDWfwrXzdSkieCNjb/qXMSatM/KDoJ36tfHsuRKAml+nwEiu2VX6A87Sy0DNkoh06 h+sjTqOeOF3Mg== X-Virus-Scanned: Debian amavisd-new at domac.alu.hr Received: from domac.alu.hr ([127.0.0.1]) by localhost (domac.alu.hr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f4iIIzKqRJim; Fri, 11 Nov 2022 11:09:19 +0100 (CET) Received: from [10.0.2.211] (grf-nat.grf.hr [161.53.83.23]) by domac.alu.hr (Postfix) with ESMTPSA id 9065C604F3; Fri, 11 Nov 2022 11:09:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=alu.unizg.hr; s=mail; t=1668161359; bh=CElacBSfN4wYwRkOcJdp4SRDIGxK/pa4saNiSjR2T6A=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=1hmfbliTVCDrcaqsjRAz/iXFo5VgQJhFULP43SIi3uQn4lEhWz+S674DDX3OP1TFg xEtVUWGe6erbW+2tLtwfYRC/z3/0Oj72y3TUjRCh1NoC3E384CqCYzytq9fDyBI0wy 4RNCLTll+pJm/2HTcdt8e69LPC4e9XfSkrLv6qia5j35kSxW/Fg+5R6OMglL9XhdP2 3Eq6riNFOLI7cKeGbGh5+nEggtvP31NtPcyZKUx2tOw3f0meVrtpuK4klPhPQLSq7i qu3IG27cZe2BmcOB0r2LasRL5O+ADYaX6zm5QANH3W51s/5uKHfUJNK6MxwfHU0k7r eBY7uR4VCSq0Q== Message-ID: <7d2c05b9-ca22-8cde-216b-b418da6c7428@alu.unizg.hr> Date: Fri, 11 Nov 2022 11:09:16 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: BUG: kworker + systemd-udevd memory leaks found in 6.1.0-rc4 Content-Language: en-US From: Mirsad Goran Todorovac To: Thorsten Leemhuis , linux-kernel@vger.kernel.org Cc: "regressions@lists.linux.dev" , Tejun Heo , Florian Mickler References: <0d9c3f6c-3948-d5d1-bcc1-baf31141beaa@alu.unizg.hr> <3f1721d6-e5d9-8861-4e3c-802a711e71da@leemhuis.info> <96903e75-63b4-8c59-6c78-0e641b1fc2c5@alu.unizg.hr> In-Reply-To: <96903e75-63b4-8c59-6c78-0e641b1fc2c5@alu.unizg.hr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10.11.2022. 9:28, Thorsten Leemhuis wrote: > This bug is confirmed in 6.1-rc4, among the "thermald" and "systemd-dev" > kernel memory leaks, potentially exposing race conditions or other more > serious bug. >> Maybe, but that sadly is also true for a lot of other known issues, for >> example those in this quite long list: >> https://syzkaller.appspot.com/upstream#open >> >> It would help if you could pinpoint the problem, then we know who should >> look into this. You CCed me and the regression list, so I assume it's a >> regression. Hence: Could you try to bisect it? >> >> Ciao, Thorsten Hi, Thorsten! I am taking this task, however, it might not be a relatively easy bisect like the past two or three (probably were beginner's luck). It appears to predate 4.19: $ head -13 memleak-kwork-4.19.0-08-84df9525b0c2-memlk-menu-al.log unreferenced object 0xffff8ff917c79c40 (size 16):   comm "kworker/u12:4", pid 422, jiffies 4294672757 (age 380.342s)   hex dump (first 16 bytes):     6d 65 6d 73 74 69 63 6b 30 00 00 00 00 00 00 00 memstick0.......   backtrace:     [<000000004f7bc99c>] kobject_set_name_vargs+0x1e/0x90     [<00000000f00ab312>] dev_set_name+0x57/0x70     [<000000001fd9518e>] memstick_check+0x99/0x330 [memstick]     [<000000008c797991>] process_one_work+0x1a7/0x3a0     [<00000000405c5133>] worker_thread+0x30/0x390     [<0000000060a58c2e>] kthread+0x112/0x130     [<000000004b138871>] ret_from_fork+0x35/0x40     [<0000000029f3e0aa>] 0xffffffffffffffff $ Cheers, Mirsad P.S. This mail is re-sent because of forgetting to set "Plain text" mode to Thunderbird. -- Mirsad Todorovac System engineer Faculty of Graphic Arts | Academy of Fine Arts University of Zagreb Republic of Croatia, the European Union -- Sistem inženjer Grafički fakultet | Akademija likovnih umjetnosti Sveučilište u Zagrebu