Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 A5DAE583AC4 for ; Fri, 11 Sep 2026 19:54:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156461; cv=none; b=Ngu+folIY1JVST7hSub2LdDw1bcjQnrDGPd1RVNMAqzzTl2UN9WB7mB3Tfpj8VT9vggCIdy501ovPWuukLGgxjsNdAmRRaGa579YIqU7/Yxz4JQwXOkW2zgSksBEROMSxFSzx7HlkyJ5GUsgasY+vhAT2HTQjv3TppOVN6niyiI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156461; c=relaxed/simple; bh=U5yoElLPMs6anekED3rkghbMLDEtg5zya7PsOWL9sHs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Yf9p4aJgDWYbcTyEzKblPMX/qu56cBNmZ9GzN9Fm4thVwW7UkJe0csKil5OtV35ErZPecVMzX4WjiKdTNkIIBwJvKk8FzpH0CZdooVFrLw4LU+hKN7Rga137jkSn9zpENGIC3PHLoWQ8HVxOdeXUWN1dCTEyYLv5oe8uToM9g9g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sJoZhoUO; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="sJoZhoUO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B7FF1F0089C; Fri, 11 Sep 2026 19:54:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156455; bh=8DAoKlRYJuGoEFkJvnjnPo0eHiwFhToVAhJO3rfAoLU=; h=From:To:Cc:Subject:Date:Reply-To; b=sJoZhoUO+vt8P+bh/GG1SNYxQhd9dZ+I8qjGmFMA+Rp5tKUwm1JAFGj924Ab5vkpf XN6l1L4/1HJlN5MNrVLtyodNzP2cBbKEYwex41lu6ZF91CZOn45QCbwTfLQABsxfCY 54uMfiBrnQGXrCSaJ7IiRtcZz4K37wJiv4/Ld868= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89524: wifi: ath6kl: clamp assoc request/response lengths before subtracting IE offsets Date: Fri, 11 Sep 2026 21:43:33 +0200 Message-ID: <2026091115-CVE-2026-89524-25e0@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3074; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=87vcVmFdEZHk5HMwSOHsyeAv/e5TyNaxAekSiXrIVwE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIqP1tyW8q3EPbEo5vaBrw5S8BpVJD1i/vjy0e8VKg UlslyK7O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAizr0M8xMvt520lZnpdXpW 1vQzIuGnAj7sNGGYn/6zZkpN8wK7p7YFx23Wi149xux5EgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: wifi: ath6kl: clamp assoc request/response lengths before subtracting IE offsets ath6kl_cfg80211_connect_event() subtracts fixed IE offsets from assoc_req_len (-= 4) and assoc_resp_len (-= 6), both u8, with no lower bound. The aggregate check recently added to ath6kl_wmi_connect_event_rx() bounds the declared lengths from above (their sum must fit the received event), but an assoc request/response shorter than its fixed offset still underflows here: the u8 wraps to ~250, and cfg80211_connect_result() / cfg80211_roamed() then treat that wrapped value as the IE length and copy that many bytes out of the small assoc_info buffer to user space via nl80211, disclosing adjacent slab memory. Clamp both lengths to their offsets before subtracting. Found by 0sec (https://0sec.ai) using automated source analysis; the missing lower bound is evident from source. Compile-tested. The Linux kernel CVE team has assigned CVE-2026-89524 to this issue. Affected and fixed versions =========================== Issue introduced in 3.2 with commit bdcd81707973cf8aa9305337166f8ee842a050d4 and fixed in 6.12.109 with commit e3619bed5da125713b29ac881dc66f5e06606f88 Issue introduced in 3.2 with commit bdcd81707973cf8aa9305337166f8ee842a050d4 and fixed in 6.18.50 with commit e1330d719c047c4d8190a16be034b29fc601a815 Issue introduced in 3.2 with commit bdcd81707973cf8aa9305337166f8ee842a050d4 and fixed in 7.2.4 with commit 8eb73016fb3968cf2db3987a92764563a3af773a Issue introduced in 3.2 with commit bdcd81707973cf8aa9305337166f8ee842a050d4 and fixed in 7.3-rc1 with commit 3bbd05723d15dd06f0560bcd94fbf9a91b5f5613 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-89524 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/wireless/ath/ath6kl/cfg80211.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/e3619bed5da125713b29ac881dc66f5e06606f88 https://git.kernel.org/stable/c/e1330d719c047c4d8190a16be034b29fc601a815 https://git.kernel.org/stable/c/8eb73016fb3968cf2db3987a92764563a3af773a https://git.kernel.org/stable/c/3bbd05723d15dd06f0560bcd94fbf9a91b5f5613