nuttx/boards/arm
Catalin Visinescu 677740e7a8 drivers/: Multiple Drivers Are Registered With World Writable - Part 2
Permissions (Part 2)

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

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

Compiles ok.

Signed-off-by: Catalin Visinescu <catalin_visinescu@yahoo.com>
2026-08-03 17:23:22 +08:00
..
a1x/pcduino-a10 boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
am67/t3-gem-o1 boards/arm/am67: Add support for t3-gem-o1 board. 2026-05-28 14:16:03 +02:00
am335x/beaglebone-black boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
at32/at32f437-mini boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
c5471/c5471evm boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
common/stm32 !boards/arm/stm32: move common board sources 2026-07-03 10:27:27 +08:00
csk6 boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
cxd56xx drivers/: Multiple Drivers Are Registered With World Writable - Part 2 2026-08-03 17:23:22 +08:00
dm320/ntosd-dm320 boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
efm32 include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
eoss3/quickfeather boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
fvp-v8r-aarch32/fvp-armv8r-aarch32 !sched/clock: remove CONFIG_SYSTEM_TIME64 and always use 64-bit time 2026-05-19 16:21:28 +08:00
gd32f4 boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
ht32f491x3/esk32 boards/config: Remove final mentions of NSH_ARCHINIT 2026-05-02 15:25:45 -03:00
imx6/sabre-6quad boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
imx9 boards/config: Remove final mentions of NSH_ARCHINIT 2026-05-02 15:25:45 -03:00
imxrt !drivers/pwm: remove PWM_MULTICHAN option 2026-05-18 11:35:25 -04:00
kinetis boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
kl drivers/efuse/efuse: Drivers Registered With World Write Permissions(Part 1) 2026-08-03 17:23:22 +08:00
lc823450/lc823450-xgevk !sched/clock: remove CONFIG_SYSTEM_TIME64 and always use 64-bit time 2026-05-19 16:21:28 +08:00
lpc17xx_40xx boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
lpc31xx arch/ceva: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
lpc43xx arch/ceva: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
lpc54xx/lpcxpresso-lpc54628 boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
lpc214x boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
lpc2378/olimex-lpc2378 boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
max326xx/max32660-evsys boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
mcx-nxxx/frdm-mcxn236 boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
moxart/moxa !libc/stream: remove CONFIG_LIBC_LONG_LONG and always support long long 2026-05-19 16:21:28 +08:00
mps boards/mps3-an547: Fix error caused by updating nsh Kconfig 2026-08-03 17:16:12 +08:00
mx8mp/verdin-mx8mp boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
nrf52 !drivers/pwm: remove PWM_MULTICHAN option 2026-05-18 11:35:25 -04:00
nrf53 !libc/stream: remove CONFIG_LIBC_LONG_LONG and always support long long 2026-05-19 16:21:28 +08:00
nrf91 boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
nuc1xx/nutiny-nuc120 boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
phy62xx/phy6222 boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
qemu boards/arm/qemu: Fix KASAN global sections placement in linker script 2026-07-03 10:32:00 +08:00
ra4 boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
rp23xx !libc/stream: remove CONFIG_LIBC_LONG_LONG and always support long long 2026-05-19 16:21:28 +08:00
rp2040 !libc/stream: remove CONFIG_LIBC_LONG_LONG and always support long long 2026-05-19 16:21:28 +08:00
s32k1xx !include/fcntl.h: align open flags with Linux values 2026-07-03 10:33:47 +08:00
s32k3xx boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
sam34 drivers/efuse/efuse: Drivers Registered With World Write Permissions(Part 1) 2026-08-03 17:23:22 +08:00
sama5 boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
samd2l2 boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
samd5e5 boards/comments: Remove legacy comments 2026-05-04 12:16:11 -03:00
samv7 drivers/: Multiple Drivers Are Registered With World Writable - Part 2 2026-08-03 17:23:22 +08:00
stm32c0 !arch/stm32f0l0g0: move stm32c0 and finalize the directory split 2026-07-03 10:27:27 +08:00
stm32f0 !arch/stm32f0l0g0: move stm32f0 to its own directory 2026-07-03 10:27:27 +08:00
stm32f1 boards/arm/stm32{f1,f4}: drop duplicated reset.c/romfs, use common board logic 2026-08-03 17:18:53 +08:00
stm32f2 boards: fix various stm32 boards errors 2026-07-03 10:27:27 +08:00
stm32f3 boards/nucleo-f302r8: disable some interfaces to reduce size 2026-08-03 17:16:12 +08:00
stm32f4 drivers/efuse/efuse: Drivers Registered With World Write Permissions(Part 1) 2026-08-03 17:23:22 +08:00
stm32f7 stm32f746g-disco: Fix USERLED support 2026-07-03 10:27:39 +08:00
stm32g0 !arch/stm32f0l0g0: move stm32g0 to its own directory 2026-07-03 10:27:27 +08:00
stm32g4 !arch/stm32: move stm32g4 to its own directory 2026-07-03 10:27:27 +08:00
stm32h5/nucleo-h563zi !arch/stm32h5: use common STM32 Kconfig symbols 2026-06-24 23:14:35 +08:00
stm32h7 !arch/stm32h7: use common STM32 Kconfig symbols 2026-06-24 23:14:35 +08:00
stm32l0 boards/stm32l0538-disco: Remove DD command to release more space 2026-07-03 09:18:15 -03:00
stm32l1 drivers/: Multiple Drivers Are Registered With World Writable - Part 2 2026-08-03 17:23:22 +08:00
stm32l4 !arch/stm32: unify and commonize stm32_uid for all STM32 families. 2026-07-05 01:13:16 +08:00
stm32l5 !arch/stm32l5: use common STM32 Kconfig symbols 2026-06-24 23:14:35 +08:00
stm32n6/nucleo-n657x0-q !arch/stm32n6: use common STM32 Kconfig symbols 2026-06-24 23:14:35 +08:00
stm32u5 !arch/stm32u5: use common STM32 Kconfig symbols 2026-06-24 23:14:35 +08:00
stm32wb !arch/stm32wb: use common STM32 Kconfig symbols 2026-06-24 23:14:35 +08:00
stm32wl5/nucleo-wl55jc !arch/stm32wl5: use common STM32 Kconfig symbols 2026-06-24 23:14:35 +08:00
str71x/olimex-strp711 boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
tiva board: enable LTO on g431 nsh boards and fix LTO link with toolchain switch 2026-05-19 16:21:28 +08:00
tlsr82/tlsr8278adk80d stdlib/rand: replace weak LCG with xorshift32 PRNG 2026-07-04 01:59:35 +08:00
tms570 boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00
xmc4 boards/arm: Replace board_app_initialize 2026-05-02 18:36:46 +08:00