Failed to initialize NVML: Driver/library version mismatch running nvidia-smi after kernal update and reboot

The fix to the issueshere:
How to prevent API mismatch - Graphics / Linux / Linux - NVIDIA Developer Forums](How to prevent API mismatch)