Bug 2348224 (CVE-2022-49527) - CVE-2022-49527 kernel: media: venus: hfi: avoid null dereference in deinit
Summary: CVE-2022-49527 kernel: media: venus: hfi: avoid null dereference in deinit
Keywords:
Status: NEW
Alias: CVE-2022-49527
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:21 UTC by OSIDB Bzimport
Modified: 2025-02-26 15:47 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:21:56 UTC
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.

Comment 1 Avinash Hanwate 2025-02-26 11:05:46 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022612-CVE-2022-49527-db75@gregkh/T

Comment 2 Avinash Hanwate 2025-02-26 15:36:03 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022612-CVE-2022-49527-db75@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.