[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1898930663.21166792.1731599427304.JavaMail.zimbra@nod.at>
Date: Thu, 14 Nov 2024 16:50:27 +0100 (CET)
From: Richard Weinberger <richard@....at>
To: Takashi Iwai <tiwai@...e.de>
Cc: linux-mtd <linux-mtd@...ts.infradead.org>, joern <joern@...ybastard.org>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Vignesh Raghavendra <vigneshr@...com>,
linux-kernel <linux-kernel@...r.kernel.org>,
Fabian Vogt <fvogt@...e.com>
Subject: Re: [PATCH] mtd: phram: Add the kernel lock down check
----- Ursprüngliche Mail -----
> Von: "Takashi Iwai" <tiwai@...e.de>
> An: "linux-mtd" <linux-mtd@...ts.infradead.org>
> CC: "joern" <joern@...ybastard.org>, "Miquel Raynal" <miquel.raynal@...tlin.com>, "richard" <richard@....at>, "Vignesh
> Raghavendra" <vigneshr@...com>, "linux-kernel" <linux-kernel@...r.kernel.org>, "Fabian Vogt" <fvogt@...e.com>
> Gesendet: Donnerstag, 14. November 2024 16:44:41
> Betreff: [PATCH] mtd: phram: Add the kernel lock down check
> 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>
Good catch!
Acked-by: Richard Weinberger <richard@....at>
Thanks,
//richard
Powered by blists - more mailing lists