CVE-2022-50634

Not scored yetLast modified Nov 11, 2026

Description

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

power: supply: cw2015: Fix potential null-ptr-deref in cw_bat_probe()

cw_bat_probe() calls create_singlethread_workqueue() and not checked the ret value, which may return NULL. And a null-ptr-deref may happen:

cw_bat_probe() create_singlethread_workqueue() # failed, cw_bat->wq is NULL queue_delayed_work() queue_delayed_work_on() __queue_delayed_work() # warning here, but continue __queue_work() # access wq->flags, null-ptr-deref

Check the ret value and return -ENOMEM if it is NULL.

Metrics

No CVSS score has been published yet.

Affected software

VendorProductVersions
LinuxLinux>= b4c7715c10c106a041b0b3fabd26151c214ea394, < f7e2ba8ed08138102f21f3fe6414498c93177fd8; >= b4c7715c10c106a041b0b3fabd26151c214ea394, < 5150b76aa2eb8bb8feb7f7a048417f9d39c3dd04; >= b4c7715c10c106a041b0b3fabd26151c214ea394, < 97f2b4ddb0aa700d673691a7d5e44d226d22bab7
LinuxLinux5.8

References

Timeline

Published
Dec 9, 2025
Last modified
Nov 11, 2026
NVD status
Deferred

Related CVEs from 2022

CVE-2022-50635In the Linux kernel, the following vulnerability has been resolved: powerpc/kprobes: Fix null pointer reference in arch_prepare_kprobe() ICVE-2022-50636In the Linux kernel, the following vulnerability has been resolved: PCI: Fix pci_device_is_present() for VFs by checking PF pci_device_is_CVE-2022-50637In the Linux kernel, the following vulnerability has been resolved: cpufreq: qcom-hw: Fix memory leak in qcom_cpufreq_hw_read_lut() If "cpCVE-2022-50638In the Linux kernel, the following vulnerability has been resolved: ext4: fix bug_on in __es_tree_search caused by bad boot loader inode WCVE-2022-50639In the Linux kernel, the following vulnerability has been resolved: io-wq: Fix memory leak in worker creation If the CPU mask allocation fCVE-2022-50640In the Linux kernel, the following vulnerability has been resolved: mmc: core: Fix kernel panic when remove non-standard SDIO card SDIO tuCVE-2022-50641In the Linux kernel, the following vulnerability has been resolved: HSI: omap_ssi: Fix refcount leak in ssi_probe When returning or breakiCVE-2022-50642In the Linux kernel, the following vulnerability has been resolved: platform/chrome: cros_ec_typec: zero out stale pointers `cros_typec_geCVE-2022-50643In the Linux kernel, the following vulnerability has been resolved: cifs: Fix xid leak in cifs_copy_file_range() If the file is used by swCVE-2022-50644In the Linux kernel, the following vulnerability has been resolved: clk: ti: dra7-atl: Fix reference leak in of_dra7_atl_clk_probe pm_runtCVE-2022-50645In the Linux kernel, the following vulnerability has been resolved: EDAC/i10nm: fix refcount leak in pci_get_dev_wrapper() As the comment CVE-2022-50646In the Linux kernel, the following vulnerability has been resolved: scsi: hpsa: Fix possible memory leak in hpsa_init_one() The hpda_alloc
CVE-2022-50634: Unscored | Vulnix