{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50634","id":"CVE-2022-50634","title":"power: supply: cw2015: Fix potential null-ptr-deref in cw_bat_probe()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: cw2015: Fix potential null-ptr-deref in cw_bat_probe()\n\ncw_bat_probe() calls create_singlethread_workqueue() and not checked the\nret value, which may return NULL. And a null-ptr-deref may happen:\n\ncw_bat_probe()\n    create_singlethread_workqueue() # failed, cw_bat->wq is NULL\n    queue_delayed_work()\n        queue_","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: cw2015: Fix potential null-ptr-deref in cw_bat_probe()\n\ncw_bat_probe() calls create_singlethread_workqueue() and not checked the\nret value, which may return NULL. And a null-ptr-deref may happen:\n\ncw_bat_probe()\n    create_singlethread_workqueue() # failed, cw_bat->wq is NULL\n    queue_delayed_work()\n        queue_delayed_work_on()\n            __queue_delayed_work()  # warning here, but continue\n                __queue_work()      # access wq->flags, null-ptr-deref\n\nCheck the ret value and return -ENOMEM if it is NULL.","published":"2025-12-09T00:00:06.318Z","updated":"2026-11-13T02:30:45.712316499Z","reserved":"2025-12-08T23:57:43.369Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","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"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","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"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/f7e2ba8ed08138102f21f3fe6414498c93177fd8","tags":["web"]},{"url":"https://git.kernel.org/stable/c/5150b76aa2eb8bb8feb7f7a048417f9d39c3dd04","tags":["web"]},{"url":"https://git.kernel.org/stable/c/97f2b4ddb0aa700d673691a7d5e44d226d22bab7","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50634.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50634","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00211,"epssPercentile":0.11522,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50634","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50634","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50634","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50634","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}