# CVE-2026-46310: media: renesas: vsp1: Fix NULL pointer deref on module unload

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 3% of CVEs (2026-11-30)
- Published: 2026-06-08T15:50:40.776Z
- Modified: 2026-07-23T08:10:00.137Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from d06c1a9f348d22478c6bc5684f9c990e15ada1e9 before bfb2081ba00afbbd15a5ed1ed1acdc3edeea5a98; from d06c1a9f348d22478c6bc5684f9c990e15ada1e9 before c4bb1515b26663e5230603892e67f2cc7df9f0ca; from d06c1a9f348d22478c6bc5684f9c990e15ada1e9 before 58b1e9664d8f74d55d8411cc7a7b275a76a6f24f; 6.17 (not affected: before 6.17; from 6.18.32 up to 6.18.*; from 7.0.9 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.17 before 6.18.32; from 6.19 before 7.0.9

## References

- <https://git.kernel.org/stable/c/bfb2081ba00afbbd15a5ed1ed1acdc3edeea5a98> (patch)
- <https://git.kernel.org/stable/c/c4bb1515b26663e5230603892e67f2cc7df9f0ca> (patch)
- <https://git.kernel.org/stable/c/58b1e9664d8f74d55d8411cc7a7b275a76a6f24f> (patch)

## Sources

- CVE List: [CVE-2026-46310](https://www.cve.org/CVERecord?id=CVE-2026-46310), CVE Terms of Use, modified 2026-06-14
- NVD: [CVE-2026-46310](https://nvd.nist.gov/vuln/detail/CVE-2026-46310), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-46310 · Whole record: https://cve.day/CVE-2026-46310.json · Rebuilt by cve.day 2026-11-25T22:59:24.016Z
