CVE-2026-139588: media: venus: Drop session events without an instance
In the Linux kernel, the following vulnerability has been resolved:
media: venus: Drop session events without an instance
hfiprocessmsgpacket() intentionally allows HFIMSGEVENTNOTIFY packets without a matching session instance because HFIEVENTSYSERROR is a system event and has no session attached.
That exception currently applies to every event-notify packet. If the firmware reports a late or otherwise invalid session event after toinstance() fails, hfieventnotify() can dispatch it to session-only handlers such as eventseqchanged() or eventreleasebufferref(), which dereference inst.
Only system errors are valid without a session instance. Drop other event notifications before the session event handlers can dereference a NULL inst.
This issue was found by a static analysis checker and confirmed by manual source review.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.119 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1 - Compensating control
In the Linux kernel media: venus event-notification handling, drop session events when no matching session instance exists; allow system errors without a session instance.
Event History
Frequently Asked Questions
What condition is required to trigger the NULL dereference?
The firmware must report a late or otherwise invalid session event after the driver fails to find a matching session instance. Before the fix, that event can reach session-only handlers that dereference the missing instance.
Are all event notifications without a matching session invalid?
No. HFI_EVENT_SYS_ERROR is a system-level event and is valid without a session instance. Other event notifications without a matching instance should be dropped.
What is the likely impact if the vulnerable path is reached?
Session event handlers can dereference a NULL instance pointer. The provided information does not specify the resulting observable impact beyond that invalid dereference.