From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) (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 5E1163AEB2C for ; Mon, 15 Jun 2026 20:06:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781554019; cv=none; b=CqyGpm1U5avILYz1m9n8xb8KpZZt6n5KIM+SOxi6BV8UFcIFE12htuatQtSPf3XKPyuMrPrXhkhcg1FUu/NCygxgwHXh5d0hpAwyNaz2UM8NMAgcuch8YjphlGgOeLOPfZp0G2tTOXaI2hLXTeyAD8OgmjguT2X3v/Qyu91TvXs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781554019; c=relaxed/simple; bh=sCnrLLtndgkDFwEuy5w0t6Tj9ai13fipC2HTsKV56lk=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=TplLdyBf9w6en+sCjGu6lpqz1YBmy1/eoX6Zgd1aomVLr2phsXYC9XICcRVMBFhK4hOmeBDGxDoxNex5beUUvvIgTOELoeKOSOEiYtmKe7YxHFweqvwUmGrDPA59Rf5tm2WJc2LCltZ7QunNFcnLY0WjrNdQR18hVjtUHTUnqLQ= 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=cg75r9E1; arc=none smtp.client-ip=209.85.160.179 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="cg75r9E1" Received: by mail-qt1-f179.google.com with SMTP id d75a77b69052e-51761d27612so46142581cf.3 for ; Mon, 15 Jun 2026 13:06:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781554017; x=1782158817; darn=vger.kernel.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=kbIDrXLbjAe2J5wNsQv3S9HqiJA8DN79qlIMR4Zc6gA=; b=cg75r9E1bE4r5GxygLILr32gWquuO0oNVeNDDst96qY1kRD8BIey0TN+ExBrWwbWko U9Tc2bUAk+pm8f7KzzAobWvIYKDTdgNgKA6gjArUoDpkDzUX++baVyjzr2GDKOOOWaIE H81RY0E2LcTiZxMdI4ye/4IhRNj7Nd4UlKl5cjmMaHO+5O2fdYvLSBpGupIW6gagcGRM 2inpG9Wy8JRCX3flkNh8Jfun1xKQELYJCJQ9V0x+Uuwo0BSNpA31QiiSrgEEX7nWOOki swLcBNu+cTO9a3yRls3mIzx2r7QWcC1bBy5SsLmmMAjwnH61acxoF6J2iLbbEmMhXQWi dwNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781554017; x=1782158817; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=kbIDrXLbjAe2J5wNsQv3S9HqiJA8DN79qlIMR4Zc6gA=; b=Qs6WRshjrPomBE29I9iGL3rHZTn+FFu6bTI0Pkn7AMHPJxlTSAt6CWGL7+ZTZV0TWK dgFdu+RI7eM1khkuODX9ncIjITDN+0+aINk5wo9UuDmB2KmILXMjviukIGX7djOHXVrf hxVAXalhg/MTXQ+a1NO4Ig7y6Dm+2tEjVV4ce5SopjKQj/OmAFJ/K9/ovBOmDtjdrC9G 2nTDXH3yjvFD7t9UBktVr2peMOnsAG+tX4W/3FNn9OspCqmH9FC20TOkDaEatToi+nMA RfMnOSMfLItWJRou0VorRz5jTT6CTxuT5nWSpM3lWkf/+x/RHzt28xNcm9s1JbVUuDzN ic6Q== X-Forwarded-Encrypted: i=1; AFNElJ8LY5c3SGD/sfSc0LThKEYTxIITlvl8HJ1f2Apo0rV8uqwc0+mDEiLlurHe25sbDKmMN5kA09Zzp6Tr+Gg=@vger.kernel.org X-Gm-Message-State: AOJu0YwQsvHf078BP+55kwtc2V8Rn2lx8U3TZcvHhZI6elvsnABXu3VC bAu0zEEyWS83w2gQz7Zf1BPasdNvNmSI+RSPiL1GfrvalOugapYSRJgD3U1n+rBqJeSlYw== X-Gm-Gg: Acq92OFTTldZ7c1x5YUDKb+bI1BfGZUveYhVjTpFod2M4lbJ95fZIZrpFr0VEJUNjUt xkWgfDh1d6J1toYE6LHPgbEGHvC3RQJfFuEw7eSKJFt+fUI61r65EGrdw4dvT5ZW03O2HUimyAH r0XFr2e7Q65RExl6mgOX5fkbgIEgQE3Z7l1+0pPPDCzADY+xI7UrHLzXaHzDtcEGJYSK6Dnb8Lb znBP4q8m1zYltk9siGqH2BRifdaW2RCygSuNVbaMYm47KCLOHBRNfKHACf4SHQlI5MQa04gSbck 55fm/iRkIlwzwwg2/qHugu9i1R2U6bQsoFaNkarzXnYUEIr7wt3d8H9VSTGHmki6xbb1hlzC5ww jhzNbG6tdYHmavj3fMDF9pxOG950lm8tRRd2rToNUmZDTOMI0N8XSuVCOjUOv8y1ueX/NuR+lfU 86mUBqkI0fi7tO1pLGa9YAJnEajOJcklgbCyJ9xVUCEN5c0uZshowHfg== X-Received: by 2002:ac8:7f83:0:b0:519:8ae9:4cd4 with SMTP id d75a77b69052e-519919450b0mr7934781cf.34.1781554017299; Mon, 15 Jun 2026 13:06:57 -0700 (PDT) Received: from smtpclient.apple ([104.39.165.68]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-8d9f5b8d9a7sm8704636d6.48.2026.06.15.13.06.56 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jun 2026 13:06:57 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.600.51.1.1\)) Subject: Re: [BUG] KASAN: slab-use-after-free in pci_endpoint_test_ioctl From: Shuangpeng In-Reply-To: <2026061553-fifty-qualified-2e04@gregkh> Date: Mon, 15 Jun 2026 16:06:26 -0400 Cc: mani@kernel.org, kwilczynski@kernel.org, kishon@kernel.org, arnd@arndb.de, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Message-Id: <7255A69B-2D3C-40D4-878D-9C32B52A86F3@gmail.com> References: <178144969601.60470.7358419009914000395@gmail.com> <2026061553-fifty-qualified-2e04@gregkh> To: Greg KH X-Mailer: Apple Mail (2.3864.600.51.1.1) > On Jun 14, 2026, at 22:39, Greg KH wrote: >=20 > On Sun, Jun 14, 2026 at 06:16:39PM -0400, Shuangpeng Bai wrote: >> Hi Kernel Maintainers, >>=20 >> I hit the following report while testing current upstream kernel: >>=20 >> KASAN: slab-use-after-free in pci_endpoint_test_ioctl >>=20 >> I reproduced this on commit: e8c2f9fdadee7cbc75134dc463c1e0d856d6e5c7 = (May 25 2026) >>=20 >> The reproducer and .config files are here. >> = https://gist.github.com/shuangpengbai/1e03464adfefbb75fb5d8112691e38b3 >>=20 >> I'm happy to test debug patches or provide additional information. >=20 > As we are drowning in real/fake/unknown bug reports, why not take the > time to work on a patch to fix these issues as you have a reproducer = for > them? That way you get full credit for the fix. >=20 Thanks for your suggestion. I will try to look into this and understand the root cause. If I can identify a proper fix, I will send a patch for review. Thanks, Shuangpeng > thanks, >=20 > greg k-h