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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
09c2845e8fe4fcab942929480203f504a6e0a114 to < 53584089b5468f47a0bb4939542aaca264c64aa2affected09c2845e8fe4fcab942929480203f504a6e0a114 to < 3763010285cc45c1ab88e776b19a948282e3ff93affected09c2845e8fe4fcab942929480203f504a6e0a114 to < c85402016ea0b52150b458cf64e559c5651f0384affected09c2845e8fe4fcab942929480203f504a6e0a114 to < be62be7a40e64e16541ef168bfdac6be39de336faffected09c2845e8fe4fcab942929480203f504a6e0a114 to < b0055a9716c2af0f702c6ee4e755d4e78977e5f1affected09c2845e8fe4fcab942929480203f504a6e0a114 to < 565e997910409e163b0c18088180d478a3c8a8caaffected09c2845e8fe4fcab942929480203f504a6e0a114 to < a0f9052ab62e25bc9592ad14ae6b11c01b55d3beaffected09c2845e8fe4fcab942929480203f504a6e0a114 to < 8921f6da06fd869b6f1aa8d02e40a4e2e2a45fe4affected
Linux Linux
Default version status: affected
4.13affected0 to < 4.13unaffected5.10.275 to ≤ 5.10.*unaffected5.15.226 to ≤ 5.15.*unaffected6.1.193 to ≤ 6.1.*unaffected6.6.163 to ≤ 6.6.*unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/53584089b5468f47a0bb4939542aaca264c64aa2 ↗
- https://git.kernel.org/stable/c/3763010285cc45c1ab88e776b19a948282e3ff93 ↗
- https://git.kernel.org/stable/c/c85402016ea0b52150b458cf64e559c5651f0384 ↗
- https://git.kernel.org/stable/c/be62be7a40e64e16541ef168bfdac6be39de336f ↗
- https://git.kernel.org/stable/c/b0055a9716c2af0f702c6ee4e755d4e78977e5f1 ↗
- https://git.kernel.org/stable/c/565e997910409e163b0c18088180d478a3c8a8ca ↗
- https://git.kernel.org/stable/c/a0f9052ab62e25bc9592ad14ae6b11c01b55d3be ↗
- https://git.kernel.org/stable/c/8921f6da06fd869b6f1aa8d02e40a4e2e2a45fe4 ↗