nuttx/drivers/virtio
Catalin Visinescu a30bbfee6b drivers/: Multiple Drivers Are Registered With World Writable Part 3
Summary

Permissions (Part 3)

Description:

In kernel builds, any unprivileged process running on the NuttX device can
open /dev/efuse and attempt to read/write fuse content. Reading the fuses
may provide valuable information to an attacker controlling the user process.
The write operation, in extreme cases where the fuse blocks are not locked,
may brick the device.

DISCLAIMER: I tried to be strict with the settings, better to relax them
later if it's needed.

This is part of https://github.com/apache/nuttx/issues/19410

Impact

See https://github.com/apache/nuttx/issues/19410

Testing

Compiles ok.

Signed-off-by: Catalin Visinescu <catalin_visinescu@yahoo.com>
2026-07-16 09:49:07 -03:00
..
CMakeLists.txt virtio and vhost-rpmsg: add virtio and vhost rpmsg device support 2026-01-19 14:18:27 +08:00
Kconfig drivers/virtio and vhost: auto-select parent config from sub-drivers 2026-02-04 02:32:02 +08:00
Make.defs virtio and vhost-rpmsg: add virtio and vhost rpmsg device support 2026-01-19 14:18:27 +08:00
virtio-blk.c drivers/: Multiple Drivers Are Registered With World Writable Part 3 2026-07-16 09:49:07 -03:00
virtio-blk.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
virtio-gpu.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
virtio-gpu.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
virtio-input.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
virtio-input.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
virtio-mmio.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
virtio-net.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
virtio-net.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
virtio-pci-legacy.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
virtio-pci-modern.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
virtio-pci.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
virtio-pci.h virtio/virtio-pci: add PCI INTX interrupt fallback support 2026-01-28 13:09:19 -03:00
virtio-rng.c drivers/: Multiple Drivers Are Registered With World Writable - Part 2 2026-07-15 15:27:28 +08:00
virtio-rng.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
virtio-rpmb.c drivers/: Multiple Drivers Are Registered With World Writable - Part 2 2026-07-15 15:27:28 +08:00
virtio-rpmb.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
virtio-rpmsg.c virtio and vhost-rpmsg: add virtio and vhost rpmsg device support 2026-01-19 14:18:27 +08:00
virtio-rpmsg.h virtio and vhost-rpmsg: add virtio and vhost rpmsg device support 2026-01-19 14:18:27 +08:00
virtio-serial.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
virtio-serial.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
virtio-snd.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
virtio-snd.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
virtio.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00