After patching CVE-2023-52489 Nvidia driver does not work
Issue
The kernel module has been building fine so far on el92 until update 5.14.0-284.90.1 which gives us the following message when attempting to install the Nvidia driver :
The command `cd ./kernel; /usr/bin/make -k -j20 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.14.0-284.90.1.el9_2.x86_64/source" SYSOUT="/lib/modules/5.14.0-284.90.1.el9_2.x86_64/build" NV_KERNEL_MODULES="nvidia"` failed with the following output:
make[1]: Entering directory '/usr/src/kernels/5.14.0-284.90.1.el9_2.x86_64'
MODPOST /tmp/selfgz66113/NVIDIA-Linux-x86_64-535.104.05/kernel/Module.symvers
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_unlock'
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_lock'
make[2]: *** [scripts/Makefile.modpost:134: /tmp/selfgz66113/NVIDIA-Linux-x86_64-535.104.05/kernel/Module.symvers] Error 1
make[2]: *** Deleting file '/tmp/selfgz66113/NVIDIA-Linux-x86_64-535.104.05/kernel/Module.symvers'
make[2]: Target '__modpost' not remade because of errors.
make[1]: *** [Makefile:1838: modules] Error 2
make[1]: Leaving directory '/usr/src/kernels/5.14.0-284.90.1.el9_2.x86_64'
make: *** [Makefile:82: modules] Error 2
Environment
- Red Hat Enterprise Linux 9.2
- Kernel 5.14.0-284.90.1
- Nvidia proprietary graphics driver
- CVE-2023-52489
- RHSA-2024:8613
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.