From: Richard Weinberger <richard@nod.at>
To: Takashi Iwai <tiwai@suse.de>
Cc: linux-mtd <linux-mtd@lists.infradead.org>,
joern <joern@lazybastard.org>,
Miquel Raynal <miquel.raynal@bootlin.com>,
Vignesh Raghavendra <vigneshr@ti.com>,
linux-kernel <linux-kernel@vger.kernel.org>,
Fabian Vogt <fvogt@suse.com>
Subject: Re: [PATCH] mtd: phram: Add the kernel lock down check
Date: Thu, 14 Nov 2024 16:50:27 +0100 (CET) [thread overview]
Message-ID: <1898930663.21166792.1731599427304.JavaMail.zimbra@nod.at> (raw)
In-Reply-To: <20241114154442.25920-1-tiwai@suse.de>
----- Ursprüngliche Mail -----
> Von: "Takashi Iwai" <tiwai@suse.de>
> An: "linux-mtd" <linux-mtd@lists.infradead.org>
> CC: "joern" <joern@lazybastard.org>, "Miquel Raynal" <miquel.raynal@bootlin.com>, "richard" <richard@nod.at>, "Vignesh
> Raghavendra" <vigneshr@ti.com>, "linux-kernel" <linux-kernel@vger.kernel.org>, "Fabian Vogt" <fvogt@suse.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@suse.com>
> Suggested-by: Fabian Vogt <fvogt@suse.com>
> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Good catch!
Acked-by: Richard Weinberger <richard@nod.at>
Thanks,
//richard
next prev parent reply other threads:[~2024-11-14 15:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-14 15:44 Takashi Iwai
2024-11-14 15:50 ` Richard Weinberger [this message]
2024-12-05 10:45 ` Miquel Raynal
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=1898930663.21166792.1731599427304.JavaMail.zimbra@nod.at \
--to=richard@nod.at \
--cc=fvogt@suse.com \
--cc=joern@lazybastard.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=miquel.raynal@bootlin.com \
--cc=tiwai@suse.de \
--cc=vigneshr@ti.com \
/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
Powered by JetHome