CVE-2022-49527: media: venus: hfi: avoid null dereference in deinit

Published Feb 26, 2025
·
Updated

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

media: venus: hfi: avoid null dereference in deinit

If venusprobe fails at pmruntimeputsync the error handling first calls hfidestroy and afterwards hficoredeinit. As hfidestroy sets core->ops to NULL, hficoredeinit cannot call the coredeinit function anymore.

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

Affected Software

7 affected components
Linux Linux kernel<4.14.283
Linux Linux kernel>=4.15<4.19.247
Linux Linux kernel>=4.20<5.4.198
Linux Linux kernel>=5.5<5.10.121
Linux Linux kernel>=5.11<5.15.46
Linux Linux kernel>=5.16<5.17.14
Linux Linux kernel>=5.18<5.18.3

Event History

Feb 26, 2025
CVE Published
via MITRE·02:13 AM
Data Sourced
via MITRE·02:13 AM
Description
Data Sourced
via NVD·07:01 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Under what condition can this issue be triggered?

It occurs when venus_probe fails at pm_runtime_put_sync. The resulting error-handling path calls hfi_destroy before hfi_core_deinit, leaving core->ops set to NULL.

2

What is the impact of the failure?

The affected deinitialization path can dereference a NULL pointer, causing a denial of service. The supplied CVSS vector rates availability impact as high, with no confidentiality or integrity impact.

3

What access does an attacker need?

The supplied CVSS vector indicates local access and low privileges are required, with no user interaction required. The data does not describe a remote exploitation path.

4

Is a fix available?

Yes. A patch is available; the referenced stable kernel commits contain the fix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203