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 57AF13191A1 for ; Fri, 5 Sep 2025 17:23:46 +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=1757093026; cv=none; b=ddj7ljs04lw1PY6ArSPXDfiBK/xsOi5nt5Qryv990DyJnRdfS9yD4/L2r1Mw42F4du6Do9Ekm3E4AYA1OXN58qZBs+WQ3ATN0QK1s3WfpsT9He8kKfsLjmjme5H5jA9jU0qdeLYT3Fe3HPaYi1PJl7Jcb5NZpzG/yVEZN3bTUw4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757093026; c=relaxed/simple; bh=lE0dlVwvrc0fzvR66fQp5h4Z6ZhfkHeWiEbmmWGqtjY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=o0pF2czA+F++e43BIIQhJ81gZz0BUlG/hAMGmFpMaXpqmQulsvWtcEAsBP8PSeSAxzRp6s45soprBPYR5xLecxwBHmeUQ49fb2vSW9I4ha5R6YbCI9mBfOBIKVUrr6keQsTQTb/yCb5DCgt4tExcAqkZfkN6Z2jmGLHY+K9EDKI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PZcAYRH3; 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="PZcAYRH3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 81AC2C4CEF1; Fri, 5 Sep 2025 17:23:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757093025; bh=lE0dlVwvrc0fzvR66fQp5h4Z6ZhfkHeWiEbmmWGqtjY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=PZcAYRH3mmU5ycX0PyFIEX2XRIaDTYwIIyAM+ic+fTxkCCEEgQ7rWP8h8JB5/bgu0 nwYoopb/VTMMzTkPQUgDEr7cnP+XQrIsYM9ChvzJbeNndEyQw50ppqiv/t2p+mNymI ZfKZakndUg8k57osv0+j4eVENuX4OFJu0GTQ6P3o= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38736: net: usb: asix_devices: Fix PHY address mask in MDIO bus initialization Date: Fri, 5 Sep 2025 19:20:45 +0200 Message-ID: <2025090544-CVE-2025-38736-b74b@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=2679; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=18uchbfUMHEf1Y8BN1S+lDYcP89NvJykcRrakWjCcYE=; b=owGbwMvMwCRo6H6F97bub03G02pJDBm7pd9IS4pmnvQIEp53IuXmXIWNSzXUl65Jz1z7/i5D2 8J6RtbyjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIsiKGBVtnCb5bHbzlgodv We80TQ+dzs6iMIb5Phb3Y+PfGXRvMEi1XL72w8rgy3d3AAA= 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: usb: asix_devices: Fix PHY address mask in MDIO bus initialization Syzbot reported shift-out-of-bounds exception on MDIO bus initialization. The PHY address should be masked to 5 bits (0-31). Without this mask, invalid PHY addresses could be used, potentially causing issues with MDIO bus operations. Fix this by masking the PHY address with 0x1f (31 decimal) to ensure it stays within the valid range. The Linux kernel CVE team has assigned CVE-2025-38736 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.43 with commit ee2cd40b0bb46056949a2319084a729d95389386 and fixed in 6.12.44 with commit 22042ffedd8c2c6db08ccdd6d4273068eddd3c5c Issue introduced in 6.16.2 with commit ad1f8313aeec0115f9978bd2d002ef4a8d96c773 and fixed in 6.16.4 with commit 523eab02fce458fa6d3c51de5bb055800986953e Issue introduced in 6.17-rc2 with commit 4faff70959d51078f9ee8372f8cff0d7045e4114 and fixed in 6.17-rc3 with commit 24ef2f53c07f273bad99173e27ee88d44d135b1c Issue introduced in 6.15.11 with commit a754ab53993b1585132e871c5d811167ad3c52ff 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-38736 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/usb/asix_devices.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/fcb4ce9f729c1d08e53abf9d449340e24c3edee6 https://git.kernel.org/stable/c/8f141f2a4f2ef8ca865d5921574c3d6535e00a49 https://git.kernel.org/stable/c/748da80831221ae24b4bc8d7ffb22acd5712a341 https://git.kernel.org/stable/c/22042ffedd8c2c6db08ccdd6d4273068eddd3c5c https://git.kernel.org/stable/c/523eab02fce458fa6d3c51de5bb055800986953e https://git.kernel.org/stable/c/24ef2f53c07f273bad99173e27ee88d44d135b1c