CVE-2022-50158

MediumCVSS 5.5/10Last modified Jun 17, 2026

Description

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

mtd: partitions: Fix refcount leak in parse_redboot_of

of_get_child_by_name() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak.

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected software

VendorProductVersions
LinuxLinux>= 6490ed7c4684caf9851a0b98e0ab17a8d693dada, < f3cc27198c5d78cdda60a55ae749f815cd1fe5eb; >= 2f8824f556a3ebea9840c53326e55cc183316611, < 55d0f7da66dec93c4d53d0886a1555618079a900; >= 237960880960863fb41888763d635b384cffb104, < 8ea607579d300b2f7fc997f3dd20949114565fcd; >= 237960880960863fb41888763d635b384cffb104, < 7ec48ac18d8f9e002ce9bfbad32741086739e499; >= 237960880960863fb41888763d635b384cffb104, < e24af43d0cbe9f6aaa413c15ccce50bbbfd61e0e; >= 237960880960863fb41888763d635b384cffb104, < 9f7e62815cf3cbbcb1b8cb21649fb4dfdb3aa016; fa132c7ea108eacc67357ffe3172d3e68fcd71a2; d5023eb76f0dc651558b0c7ba04565891ff18435; >= 5.4.132, < 5.4.211; >= 5.10.50, < 5.10.137; >= 5.12.17, < 5.13; >= 5.13.2, < 5.14
LinuxLinux5.14

References

Timeline

Published
Jun 18, 2025
Last modified
Jun 17, 2026
NVD status
Analyzed

Related CVEs from 2022

CVE-2022-501595.5In the Linux kernel, the following vulnerability has been resolved: of: check previous kernel's ima-kexec-buffer against memory bounds PreCVE-2022-501605.5In the Linux kernel, the following vulnerability has been resolved: mtd: maps: Fix refcount leak in ap_flash_init of_find_matching_node() CVE-2022-501615.5In the Linux kernel, the following vulnerability has been resolved: mtd: maps: Fix refcount leak in of_flash_probe_versatile of_find_matchCVE-2022-501625.5In the Linux kernel, the following vulnerability has been resolved: wifi: libertas: Fix possible refcount leak in if_usb_probe() usb_get_dCVE-2022-501637.8In the Linux kernel, the following vulnerability has been resolved: ax25: fix incorrect dev_tracker usage While investigating a separate rCVE-2022-501647.8In the Linux kernel, the following vulnerability has been resolved: wifi: iwlwifi: mvm: fix double list_add at iwl_mvm_mac_wake_tx_queue ACVE-2022-501655.5In the Linux kernel, the following vulnerability has been resolved: wifi: wil6210: debugfs: fix uninitialized variable use in `wil_write_fiCVE-2022-501665.5In the Linux kernel, the following vulnerability has been resolved: Bluetooth: When HCI work queue is drained, only queue chained work TheCVE-2022-501675.5In the Linux kernel, the following vulnerability has been resolved: bpf: fix potential 32-bit overflow when accessing ARRAY map element IfCVE-2022-501687.8In the Linux kernel, the following vulnerability has been resolved: bpf, x86: fix freeing of not-finalized bpf_prog_pack syzbot reported aCVE-2022-501697.1In the Linux kernel, the following vulnerability has been resolved: wifi: wil6210: debugfs: fix info leak in wil_write_file_wmi() The simpCVE-2022-501705.5In the Linux kernel, the following vulnerability has been resolved: kunit: executor: Fix a memory leak on failure in kunit_filter_tests It
CVE-2022-50158: Medium severity, CVSS 5.5 | Vulnix