lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 30 May 2019 21:26:23 +0800
From:   Herbert Xu <>
To:     Horia Geanta <>
Cc:     Ard Biesheuvel <>,
        Eric Biggers <>,
        Iuliana Prodan <>,
        "David S. Miller" <>,
        Sascha Hauer <>,
        "" <>,
        "" <>,
        dl-linux-imx <>
Subject: Re: [PATCH] crypto: gcm - fix cacheline sharing

On Thu, May 30, 2019 at 01:18:34PM +0000, Horia Geanta wrote:
> I guess there are only two options:
> -either cache line sharing is avoided OR
> -users need to be *aware* they are sharing the cache line and some rules /
> assumptions are in place on how to safely work on the data

No there is a third option and it's very simple:

You must only access the virtual addresses given to you before DMA
mapping or after DMA unmapping.

Email: Herbert Xu <>
Home Page:
PGP Key:

Powered by blists - more mailing lists