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 03C52231A21 for ; Mon, 27 Jul 2026 20:11:07 +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=1785183069; cv=none; b=gB/MKKhOYTcyi5R2Qj6uTpixjsEeMN1SIXeZoESgW7yV3OYl946kb5T2nG3XJ8oBhoTos9oI0S/CHIL96GBK5ypfDFzi3THRNA2fpai10BY5yZl4At+QHvf3CjNcKPky4ozBSt87BM21eBaiHHeMAVGpjNa0rfPbXAzovMq016U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785183069; c=relaxed/simple; bh=pWl6y58XiTj2F8rXdQLzT6vb2ad+hKUWE+ZBWq9K8hs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dUn95tCzxDkd3Uh0iLHmuNBy55QKIhpjBJ4gx2l7NTCgR7ugpmiCxOypwFElRdst5FSlV60PUBNL2AeICJgrD/IqV1He0at6VrcEvAsHRPFqvi6deo2fwqSyQ+X2Q3CSdoyCnsP2/rq0rFffXWxTXEPDlUdzlG6pK3JZyZBVcOs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rQsA/Gef; 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="rQsA/Gef" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33CBE1F000E9; Mon, 27 Jul 2026 20:11:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1785183067; bh=b27Jo608Qw+SbmzQ7VO3XPvq6D8srGpvUqzgADuMtIU=; h=From:To:Cc:Subject:Date:Reply-To; b=rQsA/GefJ36XEwUK+o0rghGev+DzSXWGEf7I9iXI2DMHhWj9+hPXwNYr44XPIKZK5 KrBJrT+futa4acotKqTWYVJarbe3xWZDIH2meCbmGk1UF571afelnRq7T7BoFC1Ut7 jIklCsq69lUhY8hphHLlKlUCYHRETYMKN5jiGJsY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64550: net: qualcomm: rmnet: validate MAP frame length before ingress parsing Date: Mon, 27 Jul 2026 22:10:48 +0200 Message-ID: <2026072737-CVE-2026-64550-e84a@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=4674; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=7mEGEepiQeofhXbfgX4ouPs9mdc6Qhx7aQD4cM5KxWA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnpu22v2XV8arrSu8XyT12zzKKHXWYL7zV8z96o0fZ6H r/6Zcu9HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRgtUM8wt+VTL8Dru0x2By 8q2AEO79+/iV5jAsmFH4q+HaFwkjgQ+eTIKn7nVy1/+SBAA= 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: net: qualcomm: rmnet: validate MAP frame length before ingress parsing When ingress deaggregation is disabled, rmnet_map_ingress_handler() passes the skb straight to __rmnet_map_ingress_handler(), skipping the length validation that rmnet_map_deaggregate() performs on the aggregated path. The parser then dereferences the MAP header and csum header/trailer based on the on-wire pkt_len without checking skb->len, so a short frame is read out of bounds: BUG: KASAN: slab-out-of-bounds in rmnet_map_checksum_downlink_packet Read of size 1 at addr ffff88801118ed00 by task exploit/147 Call Trace: ... rmnet_map_checksum_downlink_packet (drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c:413) __rmnet_map_ingress_handler (drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c:96) rmnet_rx_handler (drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c:129) __netif_receive_skb_core.constprop.0 (net/core/dev.c:6089) netif_receive_skb (net/core/dev.c:6460) tun_get_user (drivers/net/tun.c:1955) tun_chr_write_iter (drivers/net/tun.c:2001) vfs_write (fs/read_write.c:688) ksys_write (fs/read_write.c:740) do_syscall_64 (arch/x86/entry/syscall_64.c:94) ... Factor that validation out of rmnet_map_deaggregate() into rmnet_map_validate_packet_len() and run it on the no-aggregation path too. The MAP header is bounds-checked first, since this path can receive a frame shorter than the header. The Linux kernel CVE team has assigned CVE-2026-64550 to this issue. Affected and fixed versions =========================== Issue introduced in 4.14 with commit ceed73a2cf4aff2921802aa3d21d45280677547d and fixed in 5.10.261 with commit ed25befc8c36f896b5878f9078faddb67fd7e2d0 Issue introduced in 4.14 with commit ceed73a2cf4aff2921802aa3d21d45280677547d and fixed in 5.15.212 with commit a54d76d176e50d2fdbd39b7231efe256170339e4 Issue introduced in 4.14 with commit ceed73a2cf4aff2921802aa3d21d45280677547d and fixed in 6.1.178 with commit 00f4c366dbca16a40772c3b7ec2d8cba839e9724 Issue introduced in 4.14 with commit ceed73a2cf4aff2921802aa3d21d45280677547d and fixed in 6.6.145 with commit 3868c3244369ab709a90c9aad7534d406009b824 Issue introduced in 4.14 with commit ceed73a2cf4aff2921802aa3d21d45280677547d and fixed in 6.12.97 with commit 14eb0c9491385d5361a292ea4974aec0e6887299 Issue introduced in 4.14 with commit ceed73a2cf4aff2921802aa3d21d45280677547d and fixed in 6.18.40 with commit 1b12612c367e4be9b0814c0468e7e687835315b4 Issue introduced in 4.14 with commit ceed73a2cf4aff2921802aa3d21d45280677547d and fixed in 7.1.5 with commit 231a8a4b76cb1b1827b3b19d7b3603642f5aaaef Issue introduced in 4.14 with commit ceed73a2cf4aff2921802aa3d21d45280677547d and fixed in 7.2-rc3 with commit f0f1887a9e30712a1df03e152dce6fb91344b1f3 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-64550 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/ethernet/qualcomm/rmnet/rmnet_handlers.c drivers/net/ethernet/qualcomm/rmnet/rmnet_map.h drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.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/ed25befc8c36f896b5878f9078faddb67fd7e2d0 https://git.kernel.org/stable/c/a54d76d176e50d2fdbd39b7231efe256170339e4 https://git.kernel.org/stable/c/00f4c366dbca16a40772c3b7ec2d8cba839e9724 https://git.kernel.org/stable/c/3868c3244369ab709a90c9aad7534d406009b824 https://git.kernel.org/stable/c/14eb0c9491385d5361a292ea4974aec0e6887299 https://git.kernel.org/stable/c/1b12612c367e4be9b0814c0468e7e687835315b4 https://git.kernel.org/stable/c/231a8a4b76cb1b1827b3b19d7b3603642f5aaaef https://git.kernel.org/stable/c/f0f1887a9e30712a1df03e152dce6fb91344b1f3