From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (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 B96FA25B30D for ; Fri, 16 Oct 2026 00:31:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792110682; cv=none; b=PVFI1B5F8DlnYv+0IMP6koIhjrX7VwGIjSC4/yB+ArFeSOp/8FD/SMF2fMfa/QgLZe135FomtYuAhclynRTwQrlCl2RBno3X2y9fdghPSD7fGqgTGM/mS8jg5+x96oFTxzDrzKx//hXKVbDlNOF/An2jfQRYAETdtvY+xKaZdck= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792110682; c=relaxed/simple; bh=pPpVYZE37MEdXM4A+LvUAcPCWE74zNQfH8gS2u8rINM=; h=Content-Type:Date:Message-Id:Cc:Subject:From:To:In-Reply-To: References:MIME-Version; b=IFVglOI9orB8G8OpUe2hKD36PFxwYbMl9Txyl65OlXAarmrK6Na35VJT/uPoYgy7BnnBaYIBLBoQ9y90wg0rnmx8+xHRgFxArblSa5RCcPF3V9VT2xAuXJ/SctUn6omx9R0tmM7NVgMtzJIQSaFZ2qHk412b7Zwe16QgI91Oroo= 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.174 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-f174.google.com with SMTP id d2e1a72fcca58-885cd98d226so279822b3a.1 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=iYAdbTXXtiGwGwAA5UJBrdlmqQg03m/bfoYOVqfMvZrkO3zXc3mIZKgzG2ygL6+Jqy Rzx0RJlx8SYe/+pEJQDmiIsuFZ7XEGZbtLG0KUxGFMDgosdUo9uG6gMFW8QNmbdmb65d ySCdSslolKOomnLr7VF71iLwdImpK50C2l8uoJ9zuagQ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f1e9a1c35mr1115329b3a.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: bpf@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