lists.openwall.net   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  linux-hardening  linux-cve-announce  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]
Message-ID: <ed98871a-b41a-9755-4eed-18ad9e00869c@huawei.com>
Date: Mon, 30 Sep 2024 09:56:10 +0800
From: Zhihao Cheng <chengzhihao1@...wei.com>
To: Richard Weinberger <richard@....at>, Daniel Golle <daniel@...rotopia.org>
CC: Miquel Raynal <miquel.raynal@...tlin.com>, Vignesh Raghavendra
	<vigneshr@...com>, robh <robh@...nel.org>, Krzysztof Kozlowski
	<krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>, John Crispin
	<john@...ozen.org>, linux-mtd <linux-mtd@...ts.infradead.org>, devicetree
	<devicetree@...r.kernel.org>, linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH RFC 2/2] mtd: ubi: add support for protecting critical
 volumes

在 2024/9/29 20:26, Richard Weinberger 写道:
> ----- Ursprüngliche Mail -----
>> Von: "Daniel Golle" <daniel@...rotopia.org>
>> Allow the boot firmware to define volumes which are critical for the
>> system to boot, such as the bootloader itself if stored inside a UBI
>> volume. Protect critical volumes by preventing the user from removing,
>> resizing or writing to them, and also prevent the UBI device from
>> being detached if a critical volume is present.
> 
> I agree with the doubts raised in patch 1/2, if userspace is so hostile
> to delete system partitions, there is little hope.
> But I'm still open for discussion.

Yes, I agree that it is meaningful to prevent user from operating 
volumes accidently. How about doing that by some existing methods? Eg. 
selinux(Design sepolicy for ioctl cmd).
> 
> What I veto is preventing detach.
> This makes a clean tear down of the system impossible.
> It becomes more and more common that advanced userspace shuts down
> everything it setup during boot. e.g. while reboot switching back
> to an initramfs, umounting root, shutting down all storage, etc...
> 
> Thanks,
> //richard
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
> 


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ