From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A2BAE19D074 for ; Wed, 8 Jul 2026 07:39:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783496394; cv=none; b=epEOE808DMQrjFAtgCMgnm+Ru3FGSRdWorQrB7MjcgWNyhb0cO7/e9e6vivrLzLx1Nf+2c8HIuMVaI2saRhNoL/3zkoyFnOtgCFYzAX2beJF2vvYsMSNk2pw118cJwJEq1c4gGgLMcxgReUKj8foyerq9237eC2EB3MI63aB1wM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783496394; c=relaxed/simple; bh=Eq3OobiBuPPEljSZV1qR/ybfYbxFRevHYoljGwbs/oQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kgR1RDUjwjN2d4c7rs6MIQw9k1513JYuipXKtRm3FLjpcPMy28vmOwOnMb7VmQ/fbw8zuJQ3AI+EmL2tq+jDdZznwfrJ8pdtA46nQRAazXPupbqFzvlNDdjTcb6uCZ25xGhnX+uhXnm1SyZBG8N+amhA2FywnC0gLeN1/N19YOc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=XX7WgMkM; arc=none smtp.client-ip=209.85.214.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="XX7WgMkM" Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-2c6b67d5fa1so4533925ad.2 for ; Wed, 08 Jul 2026 00:39:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783496385; x=1784101185; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=I+pxaPIGiPBZm50eJSfbW6UPjpiFIRlWoavGQXcAOzg=; b=XX7WgMkMjXJpxVOkgqwW4t3lmNAnnosNcNw0iUW1FmOIu065Quoe6KAGlXGK9gAxkx dbFbU/eC/3hKz6Sq9w1VD8rMIGsAE8Odezioci9UprMpUSiolqD0taME1xqcSfpznlTx F8ssyR3OXNEKA/QkLd/+/2llzUeGQBTNU9ZY/4Xzh5u2jyF3KFl+U2M7xchGB4gAKVJT WnME3IfwmhX2ZDHw9IdkCzWiBIpEYGYIwgooDWYurWjNLnqir6DVfogymj0WHA/ElvGS OGBj0MgKsIhxR+eLyfE7mTPWBMiWnRed+PGdJHRcknTTzlCZxr+gLZ+1PVjj+o23lGp3 NIeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783496385; x=1784101185; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=I+pxaPIGiPBZm50eJSfbW6UPjpiFIRlWoavGQXcAOzg=; b=Yw0xt+sU3oxMHoEbhqNjZMQC1b+kuV6rsQoXd/ytx38Iln9DdJKlV8Z8gMIz6VpC7R 1F1hrMuIfThKvnKzxiSQlNsdQEhfQdDdOR07bVkrnV6S2TGNGuiTCNLSds5q8x1pgBJ1 NMd18iiS4CCScaxKo77AhFKywauQyAL4rEsjWvtHzZ558WwFmHGBixggb5sSHkbSIshm 5K4O8DevFIcWX6mf+Ev0WOlMZbNvb5T35fVmX3W7jURV1gOx2kzM02McBlUg9lDlMvlS dJHrlkyJ8Da4WI42STYaftZrXWxYWksmjhamAImyyll1zgpHxbpUdmS1V+CGgh/h1okR I1VA== X-Forwarded-Encrypted: i=1; AHgh+RpN+w4QYgS8wZgvOXV24cPQkEnPNk7ueygyLIEBPff+BCV4qw+L0s2YGWg8iaJj+kuZEPmUvSh4KzZsJv8=@vger.kernel.org X-Gm-Message-State: AOJu0YygkJC+OHcVNQeWgtEwMtfpCYJ6mLTOFB0HOYJlBK5KaBD5d6R7 itzx8aZV4GxiBEqfUxsouCLNthWm1bEIlAWxT+5M2Q6L3FQb7rYsG/R5 X-Gm-Gg: AfdE7cmGXkP2rourFLW3GeivLLmRAzJAv4raF/3/D11NnbB03R4zcAfoSe0Aak3BpkI pPHns8agU2uXQUxvy0F0sNBj2CXtB0AU+OHJ8H3C7xYFv/zDU1kmSPRF0G9A3MTY1BHFMaR9aKa Rx3UW9z089wIyH+og3XsNVVBguZxvaRMVGokXNOPTPz70UVYGKVGsRUVqL8T5wcnb7FW2HQRkZ7 OettYxhBvGBwWw/AmR4h4E6TD2hWpi9m18xm2PSQnUcBiylKz/H5SKRsvdvfJKuekXMV4I9NzHr SLpzrMJVV0jNIaDKEX54IBoLs5fGQ35saUUzvphzj0NhFA6YrkMOtpAD9DGqp6LFXjAIE+nXL1d NHsPj/V0zGUR35Mrf0GKj1+/jYIzcABEPFwdVFr6NMXsYvtkrQurU4IxdK+n7/tGcC4WjQ+ZGWL O6O5h+AvMFEIlOCh80ew== X-Received: by 2002:a05:6a21:4582:b0:3bd:3800:7538 with SMTP id adf61e73a8af0-3c0bcf49ca1mr1613758637.33.1783496384550; Wed, 08 Jul 2026 00:39:44 -0700 (PDT) Received: from ubuntu.. ([138.199.21.246]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-ca5b3b25204sm1997705a12.28.2026.07.08.00.39.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jul 2026 00:39:44 -0700 (PDT) From: Jing Wu To: jirislaby@kernel.org Cc: gregkh@linuxfoundation.org, avorontsov@ru.mvista.com, alan@redhat.com, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, wangzhaolong@fnnas.com, yuanql9@chinatelecom.cn Subject: Re: [PATCH v6] serial: 8250: fix use-after-free in IRQ chain handling Date: Wed, 8 Jul 2026 15:39:38 +0800 Message-ID: <20260708073938.3975921-1-realwujing@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <0ede8499-abe2-41d3-bb0c-095c02c5b699@kernel.org> References: <20260707-bug-221579-8250-shared-irq-race-v6-1-f8c499a90bdd@gmail.com> <0ede8499-abe2-41d3-bb0c-095c02c5b699@kernel.org> <20260708071138.3698581-1-realwujing@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Wed, Jul 08, 2026 at 08:03:55AM +0200, Jiri Slaby wrote: > Ah, now I see you are fixing the same thing as: > https://lore.kernel.org/all/20260708031115.3757150-1-wangzhaolong@fnnas.com/ > I did not look up who of you was first. > Looks like he reported and apparently tries to fix that too ;). You were > obviously CCed, talk to them and don't send two patches for the same issue. I sent a v7 [1] addressing the three review items you raised, and added Co-developed-by: Wang Zhaolong and Qiliang Yuan. Wang has just posted a v3 [2] which copies the very same changes from our series — irq_chain_mutex rename, __must_hold(), lockdep_assert_held() — without any acknowledgment. No Co-developed-by, no mention of our series in the changelog. It presents these as his own improvements. The full timeline, for the record: May 27 Wang v1 — only the THRE test race, no use-after-free fix May 28 Our v1 — both races, full fix May 29 Wang on our v3 thread: "v3 fixes the Bugzilla reproducer" Jun 24 Our v5 — added __must_hold() and lockdep_assert_held() Jul 7 Our v6 — back to guard style Jul 8 Our v7 — renamed hash_mutex to irq_chain_mutex (per Jiri) Jul 8 Wang v3 — copies the rename, __must_hold(), lockdep_assert_held() from our v5/v7, claims as own work Wang's v2 (Jul 8) was posted after our v5 and v6 and uses the same lock-move skeleton. His v3 (Jul 8) was posted after our v7 and copies the irq_chain_mutex rename and __must_hold()/lockdep_assert_held() that we added in v5 and v7 — yet his changelog gives no credit. I've been happy to add him as co-developer on our v7. I would expect the same basic courtesy in return, but apparently that's too much to ask. [1] https://lore.kernel.org/r/20260708-bug-221579-8250-shared-irq-race-v7-1-xxx@gmail.com [2] https://lore.kernel.org/all/20260708072306.3921604-1-wangzhaolong@fnnas.com/ Thanks, Jing