Am 23.07.23 um 09:35 schrieb Vitaly Zaitsev via devel:
On 22/07/2023 08:01, Matthew Garrett wrote:
1) Automounting of removable media exposes the kernel to a lot of
untrusted input

Disable automatic mount by default. Problem solved.



We use a whitelist approach here based
on usbguard daemon (hw centered), and

# cat /etc/dconf/db/local.d/s-media-automount
[org/gnome/desktop/media-handling]
automount=false
automount-open=false

Our scenario is clearly modelled around an user
in front of a GUI. So, it tackles it in different
layers and the actual fs attack vector is not addressed.

Should a "middleware" based on guestmount just check
for the integrity of the fs or keeping it in such
sandbox?

--
Leon








_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to