LiveActive security incident?Get immediate response
CVE Record

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

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2022-50634 is a Linux kernel flaw in the CW2015 battery driver. If a workqueue allocation fails during device probing, the kernel can dereference a null pointer and crash. This appears most relevant to systems using that battery driver. No source provided indicates active exploitation.

Executive priority

Treat as a targeted reliability risk, not a broad emergency. Prioritize embedded, mobile, or battery-powered Linux systems that may use the CW2015 driver. Patch through normal kernel maintenance unless vendor guidance indicates broader exposure.

Technical view

In cw_bat_probe(), create_singlethread_workqueue() could return NULL. The driver then passed the NULL workqueue into queue_delayed_work(), leading to a null-pointer dereference in workqueue handling. The upstream fix checks the return value and exits with -ENOMEM when allocation fails.

Likely exposure

Exposure likely requires a Linux kernel build that includes and uses the CW2015 power-supply battery driver. The CVE record lists Linux kernel versions including 5.8, 6.0.16, 6.1.2, and 6.2 as affected, but downstream vendor status may differ.

Exploitation context

The described condition depends on driver probe activity and a failed workqueue allocation. The provided sources do not describe remote exploitation, privilege escalation, public exploit availability, or active exploitation. Impact is best understood as potential local denial of service through kernel crash.

Researcher notes

The CVE has unknown CVSS and no CWE listed in the provided record. Affected-version data is limited and somewhat coarse. The key remediation evidence is the kernel stable commits that add a NULL check and return -ENOMEM.

Mitigation direction

  • Update to a Linux kernel containing the referenced stable fixes.
  • Check your Linux distribution or device vendor advisory for packaged kernel updates.
  • Prioritize systems that use the CW2015 battery driver.
  • If no update is available, follow vendor guidance for risk reduction.

Validation and detection

  • Inventory Linux kernel versions across affected device classes.
  • Confirm whether the CW2015 battery driver is built or loaded.
  • Map deployed kernels against vendor advisories and fixed stable commits.
  • Review crash logs for null-pointer dereferences involving cw_bat_probe or workqueue handling.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2022-50634 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxb4c7715c10c106a041b0b3fabd26151c214ea394, b4c7715c10c106a041b0b3fabd26151c214ea394, b4c7715c10c106a041b0b3fabd26151c214ea394unaffected
LinuxLinux5.8, 0, 6.0.16, 6.1.2, 6.2affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.