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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 16, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-07-16T11:44:09.970Z
- **Modified:** 2026-06-17T05:16:17.437Z

## Who should check

- Anyone running Linux \>= 77266186397c6c782a3f670d32808a9671806ec5, \< 5c5ceea00c8c9df150708e66cb9f2891192c1162; \>= 77266186397c6c782a3f670d32808a9671806ec5, \< 0e42c4a3d732517edc3766dd45a14e60d29dd929; \>= 77266186397c6c782a3f670d32808a9671806ec5, \< 6207f35c213f6cb2fc3f13b5e77f08c710e1de19; \>= 77266186397c6c782a3f670d32808a9671806ec5, \< 1d6cd26605b4d662063a83c15c776b5299a1cb23; \>= 77266186397c6c782a3f670d32808a9671806ec5, \< 4db09593af0b0b4d7d4805ebb3273df51d7cc30d
- Anyone running Linux 4.20

## 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

## Affected and fixed versions

- Linux: \>= 77266186397c6c782a3f670d32808a9671806ec5, \< 5c5ceea00c8c9df150708e66cb9f2891192c1162; \>= 77266186397c6c782a3f670d32808a9671806ec5, \< 0e42c4a3d732517edc3766dd45a14e60d29dd929; \>= 77266186397c6c782a3f670d32808a9671806ec5, \< 6207f35c213f6cb2fc3f13b5e77f08c710e1de19; \>= 77266186397c6c782a3f670d32808a9671806ec5, \< 1d6cd26605b4d662063a83c15c776b5299a1cb23; \>= 77266186397c6c782a3f670d32808a9671806ec5, \< 4db09593af0b0b4d7d4805ebb3273df51d7cc30d (cvelist)
- Linux: 4.20 (cvelist)

## Mitigation

- Upgrade Linux to 4db09593af0b0b4d7d4805ebb3273df51d7cc30d or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-48824. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48824.md
Affected: Linux >= 77266186397c6c782a3f670d32808a9671806ec5, < 5c5ceea00c8c9df150708e66cb9f2891192c1162; >= 77266186397c6c782a3f670d32808a9671806ec5, < 0e42c4a3d732517edc3766dd45a14e60d29dd929; >= 77266186397c6c782a3f670d32808a9671806ec5, < 6207f35c213f6cb2fc3f13b5e77f08c710e1de19; >= 77266186397c6c782a3f670…
Fixed in: Linux 5c5ceea00c8c9df150708e66cb9f2891192c1162, Linux 0e42c4a3d732517edc3766dd45a14e60d29dd929, Linux 6207f35c213f6cb2fc3f13b5e77f08c710e1de19, Linux 1d6cd26605b4d662063a83c15c776b5299a1cb23, Linux 4db09593af0b0b4d7d4805ebb3273df51d7cc30d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-48824 being exploited?

There is no confirmed exploitation: CVE-2022-48824 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-48824?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-48824?

Linux \>= 77266186397c6c782a3f670d32808a9671806ec5, \< 5c5ceea00c8c9df150708e66cb9f2891192c1162; \>= 77266186397c6c782a3f670d32808a9671806ec5, \< 0e42c4a3d732517edc3766dd45a14e60d29dd929; \>= 77266186397c6c782a3f670d32808a9671806ec5, \< 6207f35c213f6cb2fc3f13b5e77f08c710e1de19; \>= 77266186397c6c782a3f670d32808a9671806ec5, \< 1d6cd26605b4d662063a83c15c776b5299a1cb23; \>= 77266186397c6c782a3f670d32808a9671806ec5, \< 4db09593af0b0b4d7d4805ebb3273df51d7cc30d; Linux 4.20.

### Is there a fix for CVE-2022-48824?

Yes. Fixed in Linux 5c5ceea00c8c9df150708e66cb9f2891192c1162, Linux 0e42c4a3d732517edc3766dd45a14e60d29dd929, Linux 6207f35c213f6cb2fc3f13b5e77f08c710e1de19, Linux 1d6cd26605b4d662063a83c15c776b5299a1cb23, Linux 4db09593af0b0b4d7d4805ebb3273df51d7cc30d. Upgrade Linux to 4db09593af0b0b4d7d4805ebb3273df51d7cc30d or later.

### How do I check if I'm affected by CVE-2022-48824?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-48824>

HTML: <https://flawdb.com/CVE-2022-48824> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-48824>
