CVE-2022-50745: staging: media: tegra-video: fix device_node use after free

Published Dec 24, 2025
·
Updated

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

staging: media: tegra-video: fix devicenode use after free

At probe time this code path is followed:

tegracsiinit tegracsichannelsalloc foreachchildofnode(node, channel) -- iterates over channels automatically gets 'channel' tegracsichannelalloc() saves into chan->ofnode a pointer to the channel OF node automatically gets and puts 'channel' now the node saved in chan->ofnode has refcount 0, can disappear tegracsichannelsinit iterates over channels tegracsichannelinit -- uses chan->ofnode

After that, chan->ofnode keeps storing the node until the device is removed.

ofnodeget() the node and ofnodeput() it during teardown to avoid any risk.

Affected Software

1 affected component
linux_kernel

Event History

Dec 24, 2025
CVE Published
via MITRE·01:05 PM
Data Sourced
via MITRE·01:05 PM
DescriptionSeverity
Data Sourced
via NVD·01:16 PM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-50745?

CVE-2022-50745 has been rated as having a high severity due to the potential for exploitation leading to system instability.

2

How do I fix CVE-2022-50745?

To fix CVE-2022-50745, upgrade to the latest stable version of the Linux kernel that includes the patch.

3

Which versions of Linux kernel are affected by CVE-2022-50745?

CVE-2022-50745 affects specific versions of the Linux kernel with the staging: media: tegra-video module.

4

What components are involved in the CVE-2022-50745 vulnerability?

The CVE-2022-50745 vulnerability involves the tegra_csi_init and tegra_csi_channels_alloc functions within the Linux kernel.

5

Can CVE-2022-50745 lead to remote code execution?

CVE-2022-50745 does not directly lead to remote code execution but can cause system instability which may be exploited in certain scenarios.

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