Lucene search
+L

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

🗓️ 09 Dec 2025 00:00:06Reported by LinuxType 
cvelist
 cvelist
🔗 www.cve.org👁 46 Views

Fix null pointer dereference in cw_bat_probe by checking workqueue creation and returning -ENOMEM.

Related
Affected
Refs
ReporterTitlePublishedViews
Family
bdu_fstec
BDU FSTEC
Linux kernel Power Management Driver cw_bat_probe() Heap Buffer Overflow DoS
23 Jul 202600:00
–bdu_fstec
circl
Circl
CVE-2022-50634
19 Mar 202600:00
–circl
cnnvd
CNNVD
Linux Kernel Security Vulnerabilities
9 Dec 202500:00
–cnnvd
cve
CVE
CVE-2022-50634
9 Dec 202500:00
–cve
debiancve
Debian CVE
CVE-2022-50634
9 Dec 202500:00
–debiancve
euvd
EUVD
EUVD-2022-55722
9 Dec 202503:31
–euvd
nvd
NVD
CVE-2022-50634
9 Dec 202501:16
–nvd
osv_cve
osv_cve
CVE-2022-50634 power: supply: cw2015: Fix potential null-ptr-deref in cw_bat_probe()
9 Dec 202500:00
–osv_cve
osv_debian
osv_debian
DEBIAN-CVE-2022-50634
9 Dec 202501:16
–osv_debian
osv_root
osv_root
ROOT-OS-DEBIAN-11-CVE-2022-50634 CVE-2022-50634 in linux - Patched by Root
23 Aug 202609:13
–osv_root
Rows per page
[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/power/supply/cw2015_battery.c"
    ],
    "versions": [
      {
        "version": "b4c7715c10c106a041b0b3fabd26151c214ea394",
        "lessThan": "f7e2ba8ed08138102f21f3fe6414498c93177fd8",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b4c7715c10c106a041b0b3fabd26151c214ea394",
        "lessThan": "5150b76aa2eb8bb8feb7f7a048417f9d39c3dd04",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b4c7715c10c106a041b0b3fabd26151c214ea394",
        "lessThan": "97f2b4ddb0aa700d673691a7d5e44d226d22bab7",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/power/supply/cw2015_battery.c"
    ],
    "versions": [
      {
        "version": "5.8",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.8",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.0.16",
        "lessThanOrEqual": "6.0.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.1.2",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.2",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation