From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-189.mta0.migadu.com (out-189.mta0.migadu.com [91.218.175.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2628331A813 for ; Wed, 17 Jun 2026 08:33:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.189 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781685195; cv=none; b=gyHCcbTzxK/rjwwchz774FTTz9QVm54wDYpO7ocDdrXeMJmEDX7HrAjegXtwgpVAmemFhEiGJemNsaVSk9gzqwsgQiCSIXv9feXy1Ioq4XlYb9RDz55NIaK83TVhIhaNkCHg7H1U9i1MyUygqXlxDZS4EgK2kOm3/Ti7tdnX1wU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781685195; c=relaxed/simple; bh=sps3Q8Ta180ctg8URltxP61j5Cp6Um7TJRB930+ycqU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=YX5RKrPyeP+ZozjkPxKjkNGxbleB3S0QoBecx4UpmI2kOzUOwvDXNpINXZDN707j4U6Gm+GrAGI5dj88tpUX2MqBmtJVY0RGmxLOjdpGs04Jt35ujplIVj2j08a78GVXulmcerWU4zcq0+W6wHZ/IW2YBtyQnR/8fynQfBOzKf8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=exMjhxKa; arc=none smtp.client-ip=91.218.175.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="exMjhxKa" Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1781685181; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sps3Q8Ta180ctg8URltxP61j5Cp6Um7TJRB930+ycqU=; b=exMjhxKaR594oatVEaRfPnukz0TfeBEeF2kuueruGw/4rgOt6LHaxb00Jgkgf8U0a40qRF 0OsnpuUedlA8nLCRY1oYiHykM8N5b9kL4rGN96fwuxtRLNv3FQemXJxm5MdGo4i1mdxgtR 1ravbpivhlcJ2vKVnlHulHjvSVMth4E= Date: Wed, 17 Jun 2026 16:32:52 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH net] ipv6: ndisc: fix NULL deref in accept_untracked_na() To: Weiming Shi , "David S . Miller" , David Ahern , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Simon Horman , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Xiang Mei References: <20260617065512.2529757-2-bestswngs@gmail.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Jiayuan Chen In-Reply-To: <20260617065512.2529757-2-bestswngs@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 6/17/26 2:55 PM, Weiming Shi wrote: > accept_untracked_na() re-fetches the inet6_dev with __in6_dev_get(dev) > and dereferences idev->cnf.accept_untracked_na without a NULL check, Does ipv6_rpl_srh_rcv have same problem?