CVE-2022-50298

Source
https://cve.org/CVERecord?id=CVE-2022-50298
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50298.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50298
Downstream
Related
Published
2025-09-15T14:45:54.112Z
Modified
2026-03-20T11:47:22.634038Z
Summary
slimbus: qcom-ngd: cleanup in probe error path
Details

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 qcomslimngdssrnotify already registered WARNING: CPU: 6 PID: 70 at kernel/notifier.c:28 notifierchainregister+0x5c/0x90 Modules linked in: CPU: 6 PID: 70 Comm: kworker/u16:1 Not tainted 6.0.0-rc3-next-20220830 #380 Call trace: notifierchainregister+0x5c/0x90 srcunotifierchainregister+0x44/0x90 qcomregisterssrnotifier+0x38/0x4c qcomslimngdctrlprobe+0xd8/0x400 platformprobe+0x6c/0xe0 reallyprobe+0xbc/0x2d4 __driverprobedevice+0x78/0xe0 driverprobedevice+0x3c/0x12c __deviceattachdriver+0xb8/0x120 busforeach_drv+0x78/0xd0 _deviceattach+0xa8/0x1c0 deviceinitialprobe+0x18/0x24 busprobedevice+0xa0/0xac deferredprobeworkfunc+0x88/0xc0 processonework+0x1d4/0x320 workerthread+0x2cc/0x44c kthread+0x110/0x114 retfromfork+0x10/0x20

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50298.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e1ae85e1830e167a63f94007e50e088b86aa0a16
Fixed
1d567179f27788925dc90fe5e905cdabfce7d190
Fixed
0c76110a3129c8d56d8fb7b6270dcc0c5c2f1a41
Fixed
ef5c42e6eb29a86abbcd4b2fd427e5194e51053c
Fixed
16f14551d0df9e7cd283545d7d748829594d912f

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50298.json"