CVE-2026-139588

media: venus: Drop session events without an instance

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

media: venus: Drop session events without an instance

hfi_process_msg_packet() intentionally allows HFI_MSG_EVENT_NOTIFY
packets without a matching session instance because HFI_EVENT_SYS_ERROR
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
to_instance() fails, hfi_event_notify() can dispatch it to session-only
handlers such as event_seq_changed() or event_release_buffer_ref(), 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.

Analysis

AI-generated

Technical impact

The Linux kernel Venus subsystem can dereference a NULL session instance when handling certain HFI event packets. This occurs because the code allows event messages without a matching session instance for system events, but some non‑system events are incorrectly passed to handlers that expect a valid session, leading to a null pointer dereference. The resulting kernel fault can cause a crash, terminating an entire system or service, and in environments where an attacker can influence the firmware or device output, it could be leveraged to gain code execution in kernel space.

Affected Systems

The affected component is the Venus media driver in the Linux kernel. The issue is present in all kernel versions that include the current Venus implementation and is not limited to a specific upstream release. No specific vendor or product version ranges are documented, so the entire set of Linux kernel releases subject to the Venus driver is considered affected.

Risk and Exploitability

No CVSS score or EPSS value is available for this vulnerability, and it is not listed in the CISA KEV catalog. Nevertheless, the possibility of a kernel crash or escalation represents a high impact. The attack requires the ability to send crafted HFI event packets to the Venus subsystem, typically through a device or firmware that communicates over that interface. The likelihood of exploitation depends on the attacker’s access to the target hardware or ability to modify firmware behavior.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to the latest supported release that contains the fix for the Venus driver.
  • Disable the Venus driver if it is not required by unloading the module or disabling the kernel configuration option that builds it.
  • Restrict firmware or device communication that can send HFI event packets, using access controls or network isolation to limit exposure.

Generated by OpenCVE AI on November 30, 2026 at 23:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: media: venus: Drop session events without an instance hfi_process_msg_packet() intentionally allows HFI_MSG_EVENT_NOTIFY packets without a matching session instance because HFI_EVENT_SYS_ERROR 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 to_instance() fails, hfi_event_notify() can dispatch it to session-only handlers such as event_seq_changed() or event_release_buffer_ref(), 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.
Title media: venus: Drop session events without an instance
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:36 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM