[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87o71qv25v.fsf@bootlin.com>
Date: Thu, 05 Dec 2024 11:45:32 +0100
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Takashi Iwai <tiwai@...e.de>
Cc: linux-mtd@...ts.infradead.org, Joern Engel <joern@...ybastard.org>,
Richard Weinberger <richard@....at>, Vignesh Raghavendra
<vigneshr@...com>, linux-kernel@...r.kernel.org, Fabian Vogt
<fvogt@...e.com>
Subject: Re: [PATCH] mtd: phram: Add the kernel lock down check
On 14/11/2024 at 16:44:41 +01, Takashi Iwai <tiwai@...e.de> wrote:
> The phram MTD driver may map any memory pages no matter whether it's
> reserved or whatever used for systems, which basically allows user
> bypassing the lock down.
>
> Add the check and abort the probe if the kernel is locked down for
> LOCKDOWN_DEV_MEM.
>
> Reported-by: Fabian Vogt <fvogt@...e.com>
> Suggested-by: Fabian Vogt <fvogt@...e.com>
> Signed-off-by: Takashi Iwai <tiwai@...e.de>
Applied to mtd/next.
Thanks,
Miquèl
Powered by blists - more mailing lists