Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (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 A6B675A100 for ; Thu, 30 Nov 2023 18:52:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="qff3xMqH" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=AWW3+CM6ik8ct0WgTHPe92vPRix8fk2yUkpq6s6NPmE=; t=1701370353; x=1702579953; b=qff3xMqHeRRa7miM43P8e/LUpx4Iamvi1IKb6fse+yuT344 kVimYhjJSW4KWnmyu/SiWSKUN7m/WvzcQVlmJCwjRDBH6hMfZFrJG+P7J7VQ15R4qjziujqRtp0/e +5ZDuEbE8abfcvrYKx+d1V9L/sbXuh2LDMEI/hMobEacAw36IFm2xMRw9HCQynyp39DL3+1pXSyNP ThZL7cYN6wf7zzJVnJbuNTzD1WCoPYiiUE7ZPWtTH4rqwlBKqYdtQNQuYeR12smITRljTq104ofx3 zApJJhSmA3QkSybkm3rl8tqwZ5uf4sClXZ3/qnL7nUuPK63ah3V8zHt0CeUkPibQ==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1r8m9D-0000000A9Km-3gAp; Thu, 30 Nov 2023 19:52:28 +0100 Message-ID: <678c2ed84d94b2f87bdeaf165bd769996a395e7c.camel@sipsolutions.net> Subject: Re: [RFC PATCH] wifi: cfg80211: fix CQM for non-range use From: Johannes Berg To: Kees Cook Cc: Jeff Johnson , Michael Walle , lkp@intel.com, oe-kbuild-all@lists.linux.dev, linux-wireless@vger.kernel.org, Max Schulze Date: Thu, 30 Nov 2023 19:52:26 +0100 In-Reply-To: <202311301045.6DA830F7@keescook> References: <202311090752.hWcJWAHL-lkp@intel.com> <202311090752.hWcJWAHL-lkp@intel.com> <1c37d99f722f891a50c540853e54d4e36bdf0157.camel@sipsolutions.net> <202311301016.84D0010@keescook> <01e3663e9e1418a183ee86251e0352256494ee28.camel@sipsolutions.net> <202311301045.6DA830F7@keescook> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-malware-bazaar: not-scanned On Thu, 2023-11-30 at 10:46 -0800, Kees Cook wrote: > >=20 > > > Does this warning go away if "len" is made unsigned? > >=20 > > Thing is, neither Kalle nor I can even reproduce the warning locally, s= o > > it's a bit hard to check ... not even with their config and gcc 12.2.0 > > (nix, rather than debian though.) >=20 > Ah! Hmm. Let me see if I can coax out the warning locally... >=20 Actually, I see it now with wireless-next + that patch ... I had put it into wireless, not wireless-next :) johannes