# CVE-2022-48824: scsi: myrs: Fix crash in error case

- 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.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2024-07-16T11:44:09.970Z
- Modified: 2026-06-17T05:16:17.437Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

scsi: myrs: Fix crash in error case

In myrs_detect(), cs->disable_intr is NULL when privdata->hw_init() fails
with non-zero. In this case, myrs_cleanup(cs) will call a NULL ptr and
crash the kernel.

[    1.105606] myrs 0000:00:03.0: Unknown Initialization Error 5A
[    1.105872] myrs 0000:00:03.0: Failed to initialize Controller
[    1.106082] BUG: kernel NULL pointer dereference, address: 0000000000000000
[    1.110774] Call Trace:
[    1.110950]  myrs_cleanup+0xe4/0x150 [myrs]
[    1.111135]  myrs_probe.cold+0x91/0x56a [myrs]
[    1.111302]  ? DAC960_GEM_intr_handler+0x1f0/0x1f0 [myrs]
[    1.111500]  local_pci_probe+0x48/0x90

(As written by CVE List.)

## Affected

- Linux Linux: from 77266186397c6c782a3f670d32808a9671806ec5 before 5c5ceea00c8c9df150708e66cb9f2891192c1162; from 77266186397c6c782a3f670d32808a9671806ec5 before 0e42c4a3d732517edc3766dd45a14e60d29dd929; from 77266186397c6c782a3f670d32808a9671806ec5 before 6207f35c213f6cb2fc3f13b5e77f08c710e1de19; from 77266186397c6c782a3f670d32808a9671806ec5 before 1d6cd26605b4d662063a83c15c776b5299a1cb23; from 77266186397c6c782a3f670d32808a9671806ec5 before 4db09593af0b0b4d7d4805ebb3273df51d7cc30d; 4.20 (not affected: before 4.20; from 5.4.180 up to 5.4.*; from 5.10.101 up to 5.10.*; from 5.15.24 up to 5.15.*; from 5.16.10 up to 5.16.*; from 5.17 up to *)
- linux linux_kernel: before 5.4.180; from 5.5 before 5.10.101; from 5.11 before 5.15.24; from 5.16 before 5.16.10

## References

- <https://git.kernel.org/stable/c/5c5ceea00c8c9df150708e66cb9f2891192c1162> (patch)
- <https://git.kernel.org/stable/c/0e42c4a3d732517edc3766dd45a14e60d29dd929> (patch)
- <https://git.kernel.org/stable/c/6207f35c213f6cb2fc3f13b5e77f08c710e1de19> (patch)
- <https://git.kernel.org/stable/c/1d6cd26605b4d662063a83c15c776b5299a1cb23> (patch)
- <https://git.kernel.org/stable/c/4db09593af0b0b4d7d4805ebb3273df51d7cc30d> (patch)

## Sources

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

---

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