From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) (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 09E2136A03F for ; Tue, 21 Jul 2026 01:05:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784595956; cv=none; b=St/JqjYygzPDV4BKwK/3CSIxEugIgn5z8v5MS894i386lqZrP2/gqCQkcq50YG06DxRFm+dKOkxZC7B1j2o8dLpx90dmwttHzV5FM7TeR8HIK20LnPUPHQdjjOrGKov1ADrkEeTQKfRXoJJ2v0SD7lEdOzt3x8QlahXvjU8pM1o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784595956; c=relaxed/simple; bh=kO2e5pHRGoCQKs0DRn04ZjECVQsjanVgfUyI1swbPng=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=soEHoSauJdZpkA8F7SCWVRu6179Qm2tTcKma2rp25+TjlvztNZZzqfkJ4030FQFDcjT/TQReeph6Sp4losO0e8iIWFnN7O9H29p9eg2B0yaBXV3LpBOcbVZvxE2bYc7vQBOpvfFdlGYoec/dD4APcd1oNho2FKbSsAhdAKxx804= 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=WY1o0DT2; arc=none smtp.client-ip=209.85.214.182 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="WY1o0DT2" Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-2cf27856f9cso52550675ad.2 for ; Mon, 20 Jul 2026 18:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784595954; x=1785200754; 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:content-type; bh=kO2e5pHRGoCQKs0DRn04ZjECVQsjanVgfUyI1swbPng=; b=WY1o0DT23xCyEAPgumdOfVwE5i3gLmjPUQ9SK52XOq45SnXfXJM0TsOTrLKE7ruUR4 QBm5HeCXPHDzxfhxjvQUuboRl1W75S20yQ/nEpXtQOyh+iPgvLzANXq931a1eGgY5w8z 8mU2EeEc8rtJfHp1UQeIVjC8qfg1nWmcwh9j2N1IGGx5BBT8GwKF9n+S9dnpNtGFKKau Vtsw0hLShQawlvwA7Nv7uib/cAob+FVTMDD/CMWKjOseDKIwFIlVYvujNpvsXzOUdEry P81/JMGGi5t9TSGtBS1XziOoezAaUqS6K3riG3zPO+zPacbUgdf4ZpHkSrNZAcShsMN1 5D+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784595954; x=1785200754; 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:content-type; bh=kO2e5pHRGoCQKs0DRn04ZjECVQsjanVgfUyI1swbPng=; b=ShRbyPqZpMDC6rv1bYTO4nkYhMzBWRYSK7TC5pVO4iW7HNpYflJTjCCFb4AZbRensw sqzbJd9OYpzfGzrZmF8ivzmdwQIY6qxFCJSfPCpFDGgZW0yTZ7Fx55ZQvGICS+sOdZZW qCCFUYaSYuzLz/m2IrktAN+qZHhI2rxeteDMbQgFtiSAJY5MQUoauyIbFqYG3smmSF8j Lemh3RUIvHjiSHx7BombnMe+VPhsBDwXVMuf0wWMaMG3/5ZJDEj7+HiEwmp7UnzuGppc NotOuEOJvCLTiqS8hBKUj/0YtzjFL9E5i4pMymKP48Sle0RqseeJe8y0hKJtR9XegdXU /+Zw== X-Forwarded-Encrypted: i=1; AHgh+Rq2dYq0Kqoa/uzi7bCgACZOB8wQGqjC5uHpTyqflFIqJpky7+wnzEe2NAbqObw40qzywIJQ/j5TfCODlB8=@vger.kernel.org X-Gm-Message-State: AOJu0Yz4PNFix5HBBqrwTAeugk3TO2bhlsfLlCDce0gY5SeTP9bFr97v BAR4a86nRo4iqesZmp92pz0RLA31u+Yg7bULkJdF+OqFELXnQZ1WuYzF X-Gm-Gg: AR+sD10hopWrroBQghm86W7vOs7vkuDqr1cGwWFBMrhuV8sDraEKi8rv3nYQXgeNfPL brxLNLhsthONnb9yH63MlXLeSm8fqU0H79Vwa3RQ6uZE576I7oQ5LEtUP1WRVl8J2RCxE4bcOTo qAgvypGQGDIQYSltlrf8adRbsNqAKydBAyb3iHGQt49hnjjE6bvQ2+XbWH7T81GOtGHNaWq9qbw RwuTTTF7zRzOE4kGaZ12ntb2hmPNz5pPqfbxmz/B0kdSOAexxWzZT70syrCR9ZODCx2+rbu5WWV IMyBS2vPbKHTW9dxcCDL2ppLtE/GRRVAp5Auu4ZzLEY4krYxpeHaeBoslSRwgOtZTV+ocpKtJ+r twghqkU7IeLDOXROJ4oengcpIkmwIVJaP++JX6M61aaW/Amj5riFN0tF/ebMLmcN1CgUAe8Q4lu xIUVWJ7kH4GOtFDZNvo53HuvrluUeFjTnkAPxV84lEFnf6AAZa6sjxeVYt/O+UTy9EqQ== X-Received: by 2002:a17:902:cec4:b0:2cc:6329:b7ba with SMTP id d9443c01a7336-2cf34857697mr167487935ad.16.1784595954192; Mon, 20 Jul 2026 18:05:54 -0700 (PDT) Received: from secrnd-cstp.tailb7f510.ts.net ([125.131.91.97]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2cf344b16d4sm65025075ad.20.2026.07.20.18.05.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2026 18:05:53 -0700 (PDT) From: Sanghyun Park To: Sun Jian Cc: Sanghyun Park , Daniel Borkmann , Puranjay Mohan , Andrii Nakryiko , Yonghong Song , Alexei Starovoitov , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Kumar Kartikeya Dwivedi , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Emil Tsalapatis , bpf@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH bpf-next v6] bpf: Fix use-after-free on mm_struct in bpf_find_vma() Date: Tue, 21 Jul 2026 10:04:49 +0900 Message-ID: <20260721010448.707363-3-sanghyun.park.cnu@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Sun, > Sanghyun, I saw that you planned to look into this after the current > patch is sorted out. If you are already working on it, I would be happy > to share the PoC and my observations. Thanks for looking into this. I am working on a patch for this race and expect to post it soon. Could you send me your PoC and debug diff off-list so I can test the patch with your exact reproducer? I will post v1 as a new BPF thread and Cc you there. If you have time, I would also appreciate it if you could test v1 with your setup and reply to that thread with the result.