# CVE-2022-50850: scsi: ipr: Fix WARNING in ipr_init()

- Severity: not scored yet
- 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.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-12-30T12:15:27.089Z
- Modified: 2026-06-17T05:24:17.703Z
- Assigned by: Linux

## Description

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

scsi: ipr: Fix WARNING in ipr_init()

ipr_init() will not call unregister_reboot_notifier() when
pci_register_driver() fails, which causes a WARNING. Call
unregister_reboot_notifier() when pci_register_driver() fails.

notifier callback ipr_halt [ipr] already registered
WARNING: CPU: 3 PID: 299 at kernel/notifier.c:29
notifier_chain_register+0x16d/0x230
Modules linked in: ipr(+) xhci_pci_renesas xhci_hcd ehci_hcd usbcore
led_class gpu_sched drm_buddy video wmi drm_ttm_helper ttm
drm_display_helper drm_kms_helper drm drm_panel_orientation_quirks
agpgart cfbft
CPU: 3 PID: 299 Comm: modprobe Tainted: G        W
6.1.0-rc1-00190-g39508d23b672-dirty #332
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
rel-1.15.0-0-g2dd4b9b3f840-prebuilt.qemu.org 04/01/2014
RIP: 0010:notifier_chain_register+0x16d/0x230
Call Trace:
 <TASK>
 __blocking_notifier_chain_register+0x73/0xb0
 ipr_init+0x30/0x1000 [ipr]
 do_one_initcall+0xdb/0x480
 do_init_module+0x1cf/0x680
 load_module+0x6a50/0x70a0
 __do_sys_finit_module+0x12f/0x1c0
 do_syscall_64+0x3f/0x90
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

(As written by CVE List.)

## Affected

- Linux Linux: from f72919ec2bbbe1c42cdda7857a96c0c40e1d78aa before 020b66023712b1cc42c6ab8b76e4ec13efe4a092; from f72919ec2bbbe1c42cdda7857a96c0c40e1d78aa before e965c4a60c1daa6e24355e35d78ca8e9f195196f; from f72919ec2bbbe1c42cdda7857a96c0c40e1d78aa before 5debd337f534b122f7c5eac6557a41b5636c9b51; from f72919ec2bbbe1c42cdda7857a96c0c40e1d78aa before eccbec017c95b9b9ecd4c05c6f5234d1487c72cc; from f72919ec2bbbe1c42cdda7857a96c0c40e1d78aa before f4ba143b04a17559f2c85e18b47db117f40d8cf3; from f72919ec2bbbe1c42cdda7857a96c0c40e1d78aa before e59da172059f05c594fda03a9e8a3a0e1f5116c0; from f72919ec2bbbe1c42cdda7857a96c0c40e1d78aa before 8c739021b2022fbc40f71d3fa2e9162beef0c84a; from f72919ec2bbbe1c42cdda7857a96c0c40e1d78aa before 4399a8632e5f8f1f695d91d992c7d418fb451f07; from f72919ec2bbbe1c42cdda7857a96c0c40e1d78aa before e6f108bffc3708ddcff72324f7d40dfcd0204894; 2.6.34 (not affected: before 2.6.34; from 4.9.337 up to 4.9.*; from 4.14.303 up to 4.14.*; from 4.19.270 up to 4.19.*; from 5.4.229 up to 5.4.*; from 5.10.163 up to 5.10.*; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)

## References

- <https://git.kernel.org/stable/c/020b66023712b1cc42c6ab8b76e4ec13efe4a092>
- <https://git.kernel.org/stable/c/e965c4a60c1daa6e24355e35d78ca8e9f195196f>
- <https://git.kernel.org/stable/c/5debd337f534b122f7c5eac6557a41b5636c9b51>
- <https://git.kernel.org/stable/c/eccbec017c95b9b9ecd4c05c6f5234d1487c72cc>
- <https://git.kernel.org/stable/c/f4ba143b04a17559f2c85e18b47db117f40d8cf3>
- <https://git.kernel.org/stable/c/e59da172059f05c594fda03a9e8a3a0e1f5116c0>
- <https://git.kernel.org/stable/c/8c739021b2022fbc40f71d3fa2e9162beef0c84a>
- <https://git.kernel.org/stable/c/4399a8632e5f8f1f695d91d992c7d418fb451f07>
- <https://git.kernel.org/stable/c/e6f108bffc3708ddcff72324f7d40dfcd0204894>

## Sources

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

---

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