# CVE-2022-50298: slimbus: qcom-ngd: cleanup in probe error path

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-09-15T14:45:54.112Z
- Modified: 2026-06-17T05:23:10.877Z
- Assigned by: Linux

## Description

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

slimbus: qcom-ngd: cleanup in probe error path

Add proper error path in probe() to cleanup resources previously
acquired/allocated to fix warnings visible during probe deferral:

  notifier callback qcom_slim_ngd_ssr_notify already registered
  WARNING: CPU: 6 PID: 70 at kernel/notifier.c:28 notifier_chain_register+0x5c/0x90
  Modules linked in:
  CPU: 6 PID: 70 Comm: kworker/u16:1 Not tainted 6.0.0-rc3-next-20220830 #380
  Call trace:
   notifier_chain_register+0x5c/0x90
   srcu_notifier_chain_register+0x44/0x90
   qcom_register_ssr_notifier+0x38/0x4c
   qcom_slim_ngd_ctrl_probe+0xd8/0x400
   platform_probe+0x6c/0xe0
   really_probe+0xbc/0x2d4
   __driver_probe_device+0x78/0xe0
   driver_probe_device+0x3c/0x12c
   __device_attach_driver+0xb8/0x120
   bus_for_each_drv+0x78/0xd0
   __device_attach+0xa8/0x1c0
   device_initial_probe+0x18/0x24
   bus_probe_device+0xa0/0xac
   deferred_probe_work_func+0x88/0xc0
   process_one_work+0x1d4/0x320
   worker_thread+0x2cc/0x44c
   kthread+0x110/0x114
   ret_from_fork+0x10/0x20

(As written by CVE List.)

## Affected

- Linux Linux: from e1ae85e1830e167a63f94007e50e088b86aa0a16 before 1d567179f27788925dc90fe5e905cdabfce7d190; from e1ae85e1830e167a63f94007e50e088b86aa0a16 before 0c76110a3129c8d56d8fb7b6270dcc0c5c2f1a41; from e1ae85e1830e167a63f94007e50e088b86aa0a16 before ef5c42e6eb29a86abbcd4b2fd427e5194e51053c; from e1ae85e1830e167a63f94007e50e088b86aa0a16 before 16f14551d0df9e7cd283545d7d748829594d912f; 5.11 (not affected: before 5.11; from 5.15.75 up to 5.15.*; from 5.19.17 up to 5.19.*; from 6.0.3 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 5.11 before 5.15.75; from 5.16 before 5.19.17; from 6.0 before 6.0.3

## References

- <https://git.kernel.org/stable/c/1d567179f27788925dc90fe5e905cdabfce7d190> (patch)
- <https://git.kernel.org/stable/c/0c76110a3129c8d56d8fb7b6270dcc0c5c2f1a41> (patch)
- <https://git.kernel.org/stable/c/ef5c42e6eb29a86abbcd4b2fd427e5194e51053c> (patch)
- <https://git.kernel.org/stable/c/16f14551d0df9e7cd283545d7d748829594d912f> (patch)

## Sources

- CVE List: [CVE-2022-50298](https://www.cve.org/CVERecord?id=CVE-2022-50298), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50298](https://nvd.nist.gov/vuln/detail/CVE-2022-50298), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50298 · Whole record: https://cve.day/CVE-2022-50298.json · Rebuilt by cve.day 2026-11-25T22:58:21.153Z
