[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YbdkjKH/jv57SYJl@kroah.com>
Date: Mon, 13 Dec 2021 16:19:40 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: George Kennedy <george.kennedy@...cle.com>
Cc: damien.lemoal@...nsource.wdc.com, linux-ide@...r.kernel.org,
linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH RESEND] libata: if T_LENGTH is zero, dma direction should
be DMA_NONE
On Mon, Dec 13, 2021 at 10:09:24AM -0500, George Kennedy wrote:
> Avoid data corruption by rejecting pass-through commands where
> T_LENGTH is zero (No data is transferred) and the dma direction
> is not DMA_NONE.
>
> Reported-by: syzkaller <syzkaller@...glegroups.com>
> Signed-off-by: George Kennedy <george.kennedy@...cle.com>
> ---
> drivers/ata/libata-scsi.c | 6 ++++++
> 1 file changed, 6 insertions(+)
<formletter>
This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.
</formletter>
Powered by blists - more mailing lists