From: Milan Broz <gmazyland@gmail.com>
To: Linus Torvalds <torvalds@linux-foundation.org>,
Kyle Sanderson <kyle.leet@gmail.com>
Cc: Giovanni Cabiddu <giovanni.cabiddu@intel.com>,
Herbert Xu <herbert@gondor.apana.org.au>,
Greg KH <gregkh@linuxfoundation.org>,
Dave Chinner <david@fromorbit.com>,
Linux-Kernal <linux-kernel@vger.kernel.org>,
qat-linux@intel.com, linux-xfs <linux-xfs@vger.kernel.org>,
device-mapper development <dm-devel@redhat.com>,
Linux Crypto Mailing List <linux-crypto@vger.kernel.org>
Subject: Re: [dm-devel] Intel QAT on A2SDi-8C-HLN4F causes massive data corruption with dm-crypt + xfs
Date: Mon, 28 Feb 2022 22:13:02 +0100 [thread overview]
Message-ID: <91fe9f87-54d7-4140-4d1a-eac8e2081a7c@gmail.com> (raw)
In-Reply-To: <CAHk-=whVT2GcwiJM8m-XzgJj8CjytTHi_pmgmOnSpzvGWzZM1A@mail.gmail.com>
On 28/02/2022 20:25, Linus Torvalds wrote:
> On Mon, Feb 28, 2022 at 12:18 AM Kyle Sanderson <kyle.leet@gmail.com> wrote:
>>
>> Makes sense - this kernel driver has been destroying users for many
>> years. I'm disappointed that this critical bricking failure isn't
>> searchable for others.
>
> It does sound like we should just disable that driver entirely until
> it is fixed.
>
> Or at least the configuration that can cause problems, if there is
> some particular sub-case. Although from a cursory glance and the
> noises made in this thread, it looks like it's all of the 'qat_aeads'
> cases (since that uses qat_alg_aead_enc() which can return -EAGAIN),
> which effectively means that all of the QAT stuff.
>
> So presumably CRYPTO_DEV_QAT should just be marked as
>
> depends on BROKEN || COMPILE_TEST
>
> or similar?
Yes, please! Or at least disable it in stable for now.
During the last years, we had several reports of problems with this driver
for cryptsetup/LUKS (dm-crypt with qat driver; here it is skcipher, not aead, though).
The problem with the misunderstanding of the crypto API queue has been known
to authors for some time, at least since 2020
see https://lore.kernel.org/dm-devel/20200601160418.171851200@debian-a64.vm/
and it is apparently not fixed yet.
Thanks you,
Milan
prev parent reply other threads:[~2022-02-28 21:13 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-19 5:02 Intel QAT on A2SDi-8C-HLN4F causes massive data corruption with dm-crypt + xfs Kyle Sanderson
2022-02-19 21:03 ` Dave Chinner
2022-02-19 23:00 ` Kyle Sanderson
2022-02-21 11:47 ` Giovanni Cabiddu
2022-02-28 8:18 ` Kyle Sanderson
2022-02-28 19:25 ` Linus Torvalds
2022-02-28 20:39 ` Giovanni Cabiddu
2022-02-28 20:59 ` Greg KH
2022-02-28 23:26 ` Herbert Xu
2022-03-01 1:12 ` Linus Torvalds
2022-03-01 4:11 ` Herbert Xu
2022-03-02 10:29 ` Greg KH
2022-03-02 11:49 ` Giovanni Cabiddu
2022-03-02 14:56 ` Greg KH
2022-03-02 22:27 ` Herbert Xu
2022-03-02 22:42 ` Giovanni Cabiddu
2022-03-02 22:45 ` Herbert Xu
2022-03-03 13:49 ` Giovanni Cabiddu
2022-03-03 19:21 ` Eric Biggers
2022-03-03 21:24 ` Giovanni Cabiddu
2022-03-03 21:44 ` Eric Biggers
2022-03-04 17:50 ` Giovanni Cabiddu
2022-03-16 21:38 ` Kyle Sanderson
2022-03-16 22:13 ` Herbert Xu
2022-02-28 21:13 ` Milan Broz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=91fe9f87-54d7-4140-4d1a-eac8e2081a7c@gmail.com \
--to=gmazyland@gmail.com \
--cc=david@fromorbit.com \
--cc=dm-devel@redhat.com \
--cc=giovanni.cabiddu@intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=herbert@gondor.apana.org.au \
--cc=kyle.leet@gmail.com \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-xfs@vger.kernel.org \
--cc=qat-linux@intel.com \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox