From mboxrd@z Thu Jan 1 00:00:00 1970 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 50DF9385D79 for ; Sat, 15 Aug 2026 06:37:24 +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=1786775845; cv=none; b=HFEX7nM3moMt5I7eCm4dHi3EWo+o6F/jbWjSG2l8uAAHM0xHtYEfUa72sa3+u6LP1WAZL4s7EebXC458grNt6q7tqJfKfAqE4MUWY3/tFfnfiznK5Xmm44I0sPdlUyu3oc35fyPcTTgDD7MuWUJt0qc692rkv5Zz3ne6n3o+64g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775845; c=relaxed/simple; bh=nYhoa5kkhPK71k+qjF1dlGjLUHc/Um7QpYDCmKA6N24=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=oddn3c8rql4ZotVrfM0k5mGiv1zOVbR1Y5oQipWWjdPH1bFX5OF+mTlhQ9bKDXyKe+suj+fOjbWXwwjGsMfFDQNzef6nOQoWtJWV1MoICGBKoqBBYpm2hpJ0GV1yOPd7nMngyXbz2gCEgRyv/xea8OYS1YwoXYM3LLAZFLsOXoA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Qu1lTqwG; 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="Qu1lTqwG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9BF91F000E9; Sat, 15 Aug 2026 06:37:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775844; bh=iPb/IxdOpoIWMjZhsyg8HwLFNHNSLbF5Pwkvy1qgH5g=; h=From:To:Cc:Subject:Date:Reply-To; b=Qu1lTqwG3o+RVYTtYJXF7NUn0OOH4oW8Ymz0NkiAXmJOUNqUFi5oBt8ZAWi2tvkmD Qc+NxLzpQluAK1/QbSZTga1pmTnE3rOjE0o0OgQc9E2T9Lqs0Jjq01o0jV/N3KU2fA EqhZ1zUvEJxPglPR0juEwm4M+Js5Fm6aamJyE/Qw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74336: wifi: mac80211: bound S1G TIM PVB walk to the TIM element Date: Sat, 15 Aug 2026 15:11:03 +0900 Message-ID: <2026081556-CVE-2026-74336-e875@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=2751; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hba6x+bm0bHb/FikJQ6aYjTdtay5qol86wv84ccpT6A=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNjAL8c191Rz3JnBx2za5Y45/ewQerdkS/uhstoPLnZ uz+6bM4O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiRxMY5hdYbzkYKck/OyCu Vr1u5eK+9G/zzjMsONflP81of/OfG2WZFZ65D06ofv9eAQA= 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: mac80211: bound S1G TIM PVB walk to the TIM element ieee80211_s1g_check_tim() parses the S1G Partial Virtual Bitmap (PVB) of a received TIM element. The TIM is handed in as the element payload: ieee802_11_parse_elems_full() stores elems->tim = elem->data and elems->tim_len = elem->datalen (net/mac80211/parse.c), so the valid bytes are [tim, tim + tim_len). When walking the encoded blocks the function passes the walker an end sentinel of (const u8 *)tim + tim_len + 2, i.e. two bytes past the end of the element. ieee80211_s1g_find_target_block() loops while (ptr + 1 <= end) and dereferences ptr (and the per-mode ieee80211_s1g_len_*() helpers read *ptr), so it can read up to two bytes beyond the TIM element -- an out-of-bounds read of adjacent skb/heap data when the TIM is the last element in the frame. The +2 appears to account for the element id/len header, but tim already points past that header at the element payload, so the addend is wrong. Pass the correct element end, (const u8 *)tim + tim_len. The Linux kernel CVE team has assigned CVE-2026-74336 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit e0c47c6229c25b54440fe1f84a0ff533942290b1 and fixed in 7.1.5 with commit 3abc13ec3ac28c343ad7e7b7496e807b924f0edd Issue introduced in 6.18 with commit e0c47c6229c25b54440fe1f84a0ff533942290b1 and fixed in 7.2-rc1 with commit b224d18b1e5d1cddfc67f63f41d80023b2ec8889 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-74336 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: include/linux/ieee80211-s1g.h 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/3abc13ec3ac28c343ad7e7b7496e807b924f0edd https://git.kernel.org/stable/c/b224d18b1e5d1cddfc67f63f41d80023b2ec8889