[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025071034-CVE-2025-38336-ab73@gregkh>
Date: Thu, 10 Jul 2025 10:15:44 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-38336: ata: pata_via: Force PIO for ATAPI devices on VT6415/VT6330
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ata: pata_via: Force PIO for ATAPI devices on VT6415/VT6330
The controller has a hardware bug that can hard hang the system when
doing ATAPI DMAs without any trace of what happened. Depending on the
device attached, it can also prevent the system from booting.
In this case, the system hangs when reading the ATIP from optical media
with cdrecord -vvv -atip on an _NEC DVD_RW ND-4571A 1-01 and an
Optiarc DVD RW AD-7200A 1.06 attached to an ASRock 990FX Extreme 4,
running at UDMA/33.
The issue can be reproduced by running the same command with a cygwin
build of cdrecord on WinXP, although it requires more attempts to cause
it. The hang in that case is also resolved by forcing PIO. It doesn't
appear that VIA has produced any drivers for that OS, thus no known
workaround exists.
HDDs attached to the controller do not suffer from any DMA issues.
The Linux kernel CVE team has assigned CVE-2025-38336 to this issue.
Affected and fixed versions
===========================
Fixed in 5.4.295 with commit 67d66a5e4583fd3bcf13d6f747e571df13cbad51
Fixed in 5.10.239 with commit 0d9a48dfa934f43ac839211ae4aeba34f666a9a5
Fixed in 5.15.186 with commit 7fc89c218fc96a296a2840b1e37f4e0975f7a108
Fixed in 6.1.142 with commit 8212cd92fe40aae6fe5a073bc70e758c42bb4bfc
Fixed in 6.6.95 with commit 8edfed4439b107d62151ff6c075958d169da3e71
Fixed in 6.12.35 with commit 947f9304d3c876c6672b947b80c0ef51161c6d2f
Fixed in 6.15.4 with commit bb7212ee4ff086628a2c1c22336d082a87cb893d
Fixed in 6.16-rc3 with commit d29fc02caad7f94b62d56ee1b01c954f9c961ba7
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-38336
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/ata/pata_via.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/67d66a5e4583fd3bcf13d6f747e571df13cbad51
https://git.kernel.org/stable/c/0d9a48dfa934f43ac839211ae4aeba34f666a9a5
https://git.kernel.org/stable/c/7fc89c218fc96a296a2840b1e37f4e0975f7a108
https://git.kernel.org/stable/c/8212cd92fe40aae6fe5a073bc70e758c42bb4bfc
https://git.kernel.org/stable/c/8edfed4439b107d62151ff6c075958d169da3e71
https://git.kernel.org/stable/c/947f9304d3c876c6672b947b80c0ef51161c6d2f
https://git.kernel.org/stable/c/bb7212ee4ff086628a2c1c22336d082a87cb893d
https://git.kernel.org/stable/c/d29fc02caad7f94b62d56ee1b01c954f9c961ba7
Powered by blists - more mailing lists