Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 5EFD9315D3F for ; Wed, 15 Oct 2025 07:58:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760515116; cv=none; b=VPF0KCelxKdStOmZJtGmnFfat+ojaY4lyXsu0zLylET1ImwDjOOCEbE1CoQKLnrtej7St72YrtD7fH83HgUfwrxrmHk9WHUf5Vg+A2WkWUscoJ01L7Iipxl4TPcqmG53ij/D4N0u+igLx0LFePACR9eQzQvv6g5EyKTkHE0Q8gE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760515116; c=relaxed/simple; bh=zdD72tO3HIP0pgvvLwqOP45ETafCNjzEfGTPGdeNGPA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YwjPDwc3ygMpNedDqsl+m1QWULVbLBEfFigOXjaoQchqGKcluJpgBXp6h5YCm/b7oCXl1dDuZ8T53sqGh+rbyWFfDRnW0RWvUKCAl0H+BSaAly/zfo8CCfVtYxqBChm6VdetFYgi0sgw7gaNvi7kdmX1+Fitl4skEf4wj98vc4Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=r8mDx/DC; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="r8mDx/DC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F668C4CEF8; Wed, 15 Oct 2025 07:58:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1760515115; bh=zdD72tO3HIP0pgvvLwqOP45ETafCNjzEfGTPGdeNGPA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=r8mDx/DC7uaKpXo2mKd4s0j4GeQrR1rfaS5eN9LV5yjqfaJBPsuqyWhY1qpR5MaiM oZH0q5beB1QYRAdfmW1cKnRV/gAi2cX0E9otCjtN7cGJ3Gu/M+0hnBOmHyCvxhTBrv 1YKPUzBsSsqKIReChh7Vimfq8pYIadvwLCxPStm4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39991: wifi: ath11k: fix NULL dereference in ath11k_qmi_m3_load() Date: Wed, 15 Oct 2025 09:58:28 +0200 Message-ID: <2025101527-CVE-2025-39991-6679@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2500; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+MwsuAb/2gmr0RjJ/UfiBkHJPuDMV2FZ9l/z16kHREY=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnvQ5TjGGNlNMuXmF198knPMf2s17O25E3aTOt4F0ycv Cyb49f2jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI3ASGBesPRK+p6l15/47i e6eHkd1X/fduFGGYK3l6wekT71dG+1w5Wetxbr592oFDGQA= 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: ath11k: fix NULL dereference in ath11k_qmi_m3_load() If ab->fw.m3_data points to data, then fw pointer remains null. Further, if m3_mem is not allocated, then fw is dereferenced to be passed to ath11k_err function. Replace fw->size by m3_len. Found by Linux Verification Center (linuxtesting.org) with SVACE. The Linux kernel CVE team has assigned CVE-2025-39991 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit 7db88b962f06a52af5e9a32971012e8f3427cec0 and fixed in 6.12.51 with commit 1f52119809b76d43759fc47da1cf708690b740a1 Issue introduced in 6.7 with commit 7db88b962f06a52af5e9a32971012e8f3427cec0 and fixed in 6.16.11 with commit 888830b2cbc035838bebefe94502976da94332a5 Issue introduced in 6.7 with commit 7db88b962f06a52af5e9a32971012e8f3427cec0 and fixed in 6.17.1 with commit 500fcc31e488d798937a23dbb1f62db46820c5b2 Issue introduced in 6.7 with commit 7db88b962f06a52af5e9a32971012e8f3427cec0 and fixed in 6.18-rc1 with commit 3fd2ef2ae2b5c955584a3bee8e83ae7d7a98f782 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-2025-39991 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/ath11k/qmi.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/1f52119809b76d43759fc47da1cf708690b740a1 https://git.kernel.org/stable/c/888830b2cbc035838bebefe94502976da94332a5 https://git.kernel.org/stable/c/500fcc31e488d798937a23dbb1f62db46820c5b2 https://git.kernel.org/stable/c/3fd2ef2ae2b5c955584a3bee8e83ae7d7a98f782