Package: nvidia-modprobe / 418.56-1~bpo9+1

Metadata

Package Version Patches format
nvidia-modprobe 418.56-1~bpo9+1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
setuid.patch | (download)

modprobe-utils/nvidia-modprobe-utils.c | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 use setuid(0) to preserve privileges over shell invocations
 Fixing bug https://bugs.debian.org/734869 dash recently started to drop
 privileges if euid != uid. (Bash has been doing that for a long time
 already, but is usually not used for /bin/sh.)
 The Debian modprobe configuration /etc/modprobe.d/nvidia.conf uses install
 commands that require forking a shell from within modprobe to (recursively)
 run further modprobe commands. If the shell drops privileges in setuid
 contexts, the inner modprobe commands are run unprivileged, failing to load
 the modules.
 Run setuid(0) before forking modprobe to preserve privileges through to the
 inner modprobe commands.
Bug-Debian: https://bugs.debian.org/888952