From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) (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 A9E52242D67 for ; Fri, 16 Oct 2026 00:31:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792110681; cv=none; b=NrWbK7OJn3lcv/QCtLCGvOGscO/ESGFsfxdI5MeJeBNdGHJACJZN6vyHEKiw2O2qsOViGnK7Y1IKWAbxi3OJJnOVsjlzYNdXMgIBPSV7b4IZElPia6Fw3AB0Ei3xR2lbdC7EGVIwTlBuMCPdhbfyHdDtv6xZhYnA05wr6BEBnmQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792110681; c=relaxed/simple; bh=pPpVYZE37MEdXM4A+LvUAcPCWE74zNQfH8gS2u8rINM=; h=Content-Type:Date:Message-Id:Cc:Subject:From:To:In-Reply-To: References:MIME-Version; b=bpEEYbLQguPXHnFKr6NhUFROqFmZPUEndXYYDoy6O7fRKlAveyW21l2pO5xXekQVuFnu6p6IsO2iEyZvL2JB9eQ1a6mTLY/kjDb1iuG6Pu8W5bLVK9WWJ6QwmpnehA6PV0rx06ROYhOscdaaUDvBkPK9gGdLgrnsRzrpaig8Ybo= 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=dA54Ps/7; arc=none smtp.client-ip=209.85.210.177 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="dA54Ps/7" Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-89d6bd67045so314027b3a.0 for ; Thu, 15 Oct 2026 17:31:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1792110680; x=1792715480; darn=vger.kernel.org; h=mime-version:content-transfer-encoding:references:in-reply-to:to :from:subject:cc:message-id:date:content-type:from:to:cc:subject :date:message-id:reply-to:content-type; bh=pPpVYZE37MEdXM4A+LvUAcPCWE74zNQfH8gS2u8rINM=; b=dA54Ps/7pR0FU9wNDr9tY3+FpNTxC29Ck0g7Lx9551UcjbWRuergvCfYwqHsLcci0k psV0muIX38K/9zdQFoVCKZE1QuBHSNFSNJcHGrfhYSkHKdbgpAR/k+6dEMK4jXpl6CeR dfOsI3iMB0v9G3k+hGqStjHifMQklrv5V3tG7rT6Pbl9WQl5Nd747zoKFCwZvskD8vcx By3uujNiVzEnkZnMcewEvCnuM9nwy5SvP8+Z2Yr+/OE+OmmWeJ89NDzyy7U4r8Y25AKT 3UJ8/pWZLrLw6U69XeNrydWYhGkvQHY9JPqNx6eNd5x+xdTMs/o2QPCc8f1Z/n9d8dHN PmNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792110680; x=1792715480; h=mime-version:content-transfer-encoding:references:in-reply-to:to :from:subject:cc:message-id:date:content-type:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=pPpVYZE37MEdXM4A+LvUAcPCWE74zNQfH8gS2u8rINM=; b=xUIoK6qv9uPG5NCwf6gnhIe6HdInidWI6MyTM/aP680HtdeS0HS+ftzaJfYpm4LRYq iUC2JmBpCKCuggKiGWE+mDTaM1SrSqHHt/D0ON/m0dt8IX+W1OSWSy5Xu0IW0D8H+pWD 7+dJbbx15++jxNpEznKxZUn8XCo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SMTP id d2e1a72fcca58-89f1e9a1c35mr1115329b3a.1.1792110679891; Thu, 15 Oct 2026 17:31:19 -0700 (PDT) Received: from localhost ([153.61.198.242]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-89f57947a64sm275547b3a.41.2026.10.15.17.31.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Oct 2026 17:31:19 -0700 (PDT) Content-Type: text/plain; charset=UTF-8 Date: Fri, 16 Oct 2026 00:31:18 +0000 Message-Id: Cc: , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH bpf 0/2] bpf: Fix iterator link update target validation From: "Alexei Starovoitov" To: "Jan-Gerd Tenberge" , In-Reply-To: <20261008161309.8179-1-janten@gmail.com> References: <20261008161309.8179-1-janten@gmail.com> X-Mailer: mkdraft (claude review draft; edit before sending) Content-Transfer-Encoding: 8bit Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Thu, Oct 08, 2026 at 06:13 PM Jan-Gerd Tenberge wrote: > Runtime testing in disposable QEMU guests confirmed that the resulting > out-of-bounds access can reach kernel-owned metadata of a separately > allocated live map and cause a deterministic kernel panic. Corrupting a Way too long. The prog needs CAP_BPF and CAP_PERFMON and it writes past the end of the map value. That's all that needs to be said. See "Length" and "Impact Evaluation" in Documentation/process/security-bugs.rst. Trim the commit log of patch 1 as well. pw-bot: cr