AUR AI Reviewer

Review Results

Version #3234 of nvidia-470xx-utils · commit 5655bb03ff7e · status Reviewed

Risk 0/5 · Safe .SRCINFO
Result #6972

Comment

The only change is a pkgrel bump from 8.04 to 8.05 in .SRCINFO. No source URLs, checksums, build steps, dependencies, install scripts, or packaged payloads changed. This is a metadata-only update with no security impact visible in the provided diff.

@@ -1,6 +1,6 @@
 pkgbase = nvidia-470xx-utils
 	pkgver = 470.256.02
-	pkgrel = 8.04
+	pkgrel = 8.05
 	url = http://www.nvidia.com/
 	arch = x86_64
 	license = custom
Risk 0/5 · Safe PKGBUILD
Result #6973

Comment

The change only bumps pkgrel from 8.04 to 8.05 in PKGBUILD. No build logic, sources, dependencies, install scripts, or permissions are modified. This is a packaging-only revision with no security-relevant behavior change visible in the provided diff.

@@ -9,7 +9,7 @@
 pkgbase=nvidia-470xx-utils
 pkgname=('nvidia-470xx-utils' 'opencl-nvidia-470xx' 'nvidia-470xx-dkms')
 pkgver=470.256.02
-pkgrel=8.04
+pkgrel=8.05
 arch=('x86_64')
 url="http://www.nvidia.com/"
 license=('custom')
Risk 0/5 · Safe nvidia-470xx.rules
Result #6974

Comment

The change only rewrites one udev RUN command that creates NVIDIA device nodes. It removes a proc-based loop over GPU minors and replaces it with a sequential counter over /proc/driver/nvidia/gpus/*, still invoking /usr/bin/mknod with fixed permissions and the same device major lookup. I do not see added network access, privilege escalation, persistence, or writes outside /dev. The extra comment is inert. The main risk is functional correctness (device numbering may differ from actual minors), not a security issue.

@@ -1,6 +1,8 @@
 # Make sure device nodes are present even when the DDX is not started for the Wayland/EGLStream case
 KERNEL=="nvidia", RUN+="/usr/bin/bash -c 'if [ ! -c /dev/nvidiactl ]; then /usr/bin/mknod -Z -m 666 /dev/nvidiactl c $$(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 255; fi'"
-KERNEL=="nvidia", RUN+="/usr/bin/bash -c 'for i in $$(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \  -f 4); do if [ ! -c /dev/nvidia$${i} ]; then /usr/bin/mknod -Z -m 666 /dev/nvidia$${i} c $$(grep nvidia-frontend /proc/devices | cut -d \  -f 1) $${i}; fi; done'"
+# KERNEL=="nvidia", RUN+="/usr/bin/bash -c 'for i in $$(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \  -f 4); do if [ ! -c /dev/nvidia$${i} ]; then /usr/bin/mknod -Z -m 666 /dev/nvidia$${i} c $$(grep nvidia-frontend /proc/devices | cut -d \  -f 1) $${i}; fi; done'"
+# according to ArchMcGee 2026-10-31 21:01 (CET)
+KERNEL=="nvidia", RUN+="/usr/bin/bash -c 'i=0; for g in /proc/driver/nvidia/gpus/*; do if [ ! -c /dev/nvidia$${i} ]; then /usr/bin/mknod -Z -m 666 /dev/nvidia$${i} c $$(grep nvidia-frontend /proc/devices | cut -d \  -f 1) $${i}; fi; i=$$((i+1)); done'"
 KERNEL=="nvidia_modeset", RUN+="/usr/bin/bash -c 'if [ ! -c /dev/nvidia-modeset ]; then /usr/bin/mknod -Z -m 666 /dev/nvidia-modeset c $$(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 254; fi'"
 KERNEL=="nvidia_uvm", RUN+="/usr/bin/bash -c 'if [ ! -c /dev/nvidia-uvm ]; then /usr/bin/mknod -Z -m 666 /dev/nvidia-uvm c $$(grep nvidia-uvm /proc/devices | cut -d \  -f 1) 0; fi'"
 KERNEL=="nvidia_uvm", RUN+="/usr/bin/bash -c 'if [ ! -c /dev/nvidia-uvm-tools ]; then /usr/bin/mknod -Z -m 666 /dev/nvidia-uvm-tools c $$(grep nvidia-uvm /proc/devices | cut -d \  -f 1) 1; fi'"