media: renesas: vsp1: Fix NULL pointer deref on module unload
CVE-2026-46310
Currently unrated
What is CVE-2026-46310?
In the Linux kernel, the following vulnerability has been resolved:
media: renesas: vsp1: Fix NULL pointer deref on module unload
When unloading the module on gen 4, we hit a NULL pointer dereference. This is caused by the cleanup code calling vsp1_drm_cleanup() where it should be calling vsp1_vspx_cleanup().
Fix this by checking the IP version and calling the drm or vspx function accordingly, the same way as the init code does.
Affected Version(s)
Linux d06c1a9f348d22478c6bc5684f9c990e15ada1e9
Linux d06c1a9f348d22478c6bc5684f9c990e15ada1e9
Linux d06c1a9f348d22478c6bc5684f9c990e15ada1e9 < 58b1e9664d8f74d55d8411cc7a7b275a76a6f24f