---
id: CVE-2022-49527
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  media: venus: hfi: avoid null dereference in deinit

  If venus_probe fails at pm_runtime_put_sync the error handling first
  calls hfi_destroy and afterwards hfi_core_dein…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  media: venus: hfi: avoid null dereference in deinit

  If venus_probe fails at pm_runtime_put_sync the error handling first
  calls hfi_destroy and afterwards hfi_core_dein…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-476
  - CWE-476
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 4.14.283
  - 'linux_kernel >= 4.15, < 4.19.247'
  - 'linux_kernel >= 4.20, < 5.4.198'
  - 'linux_kernel >= 5.5, < 5.10.121'
  - 'linux_kernel >= 5.11, < 5.15.46'
  - 'linux_kernel >= 5.16, < 5.17.14'
  - 'linux_kernel >= 5.18, < 5.18.3'
patched:
  - linux_kernel 5.18.3
published: '2025-02-26'
updated: '2026-08-15'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-49527'
references:
  - url: 'https://git.kernel.org/stable/c/0ed5a643b1a4a46b9b7bfba5d468c10cc30e1359'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/27ad46da44177a78a4a0cae6fe03906888c61aa1'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/86594f6af867b5165d2ba7b5a71fae3a5961e56c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9c385b961d4c378228e80f6abea8509cb67feab6'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b73ed0510bb8d9647cd8e8a4c4c8772bbe545c3a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00264
epssPercentile: 0.1639
ingestedAt: '2026-08-15T13:26:44.482Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

media: venus: hfi: avoid null dereference in deinit

If venus_probe fails at pm_runtime_put_sync the error handling first
calls hfi_destroy and afterwards hfi_core_deinit. As hfi_destroy sets
core->ops to NULL, hfi_core_deinit cannot call the core_deinit function
anymore.

Avoid this null pointer derefence by skipping the call when necessary.

## Affected

- `linux_kernel < 4.14.283`
- `linux_kernel >= 4.15, < 4.19.247`
- `linux_kernel >= 4.20, < 5.4.198`
- `linux_kernel >= 5.5, < 5.10.121`
- `linux_kernel >= 5.11, < 5.15.46`
- `linux_kernel >= 5.16, < 5.17.14`
- `linux_kernel >= 5.18, < 5.18.3`

## Remediation

Upgrade past the affected range:

- `linux_kernel 5.18.3`
