# scsi: core: Fix a use-after-free

CVE record · `CVE-2022-48666`

- **Identifiers:** `CVE-2022-48666`
- **State:** Confirmed
- **Severity:** CVSS 9.8 Critical
- **Critical:** Yes: CVSS 9+
- **CNA:** Linux
- **Weakness (CWE):** [CWE-416](https://cwe.mitre.org/data/definitions/416.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 28 Apr 2024
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 28 Apr 2024, 13:01 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Critical

Critical, because:

- CVSS score 9.8: 9.0 or more.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `65ca846a53149a1a72cd8d02e7b2e73dd545b834 to before 5ce8fad941233e81f2afb5b52a3fcddd3ba8732f` (git)
  - affected: `65ca846a53149a1a72cd8d02e7b2e73dd545b834 to before f818708eeeae793e12dc39f8984ed7732048a7d9` (git)
  - affected: `65ca846a53149a1a72cd8d02e7b2e73dd545b834 to before 2e7eb4c1e8af8385de22775bd0be552f59b28c9a` (git)
  - affected: `65ca846a53149a1a72cd8d02e7b2e73dd545b834 to before 8fe4ce5836e932f5766317cb651c1ff2a4cd0506` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.7`
  - unaffected: `before 5.7` (semver)
  - unaffected: `5.10.223 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.164 to 5.15.*, inclusive` (semver)
  - unaffected: `5.19.12 to 5.19.*, inclusive` (semver)
  - unaffected: `6.0 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 9.8 Critical, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux) (used for this record)
- 7.4 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0078, the 56th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 28 Apr 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2022-48666](https://www.cve.org/CVERecord?id=CVE-2022-48666)
- [NVD: CVE-2022-48666](https://nvd.nist.gov/vuln/detail/CVE-2022-48666)

### References from the CNA

- <https://git.kernel.org/stable/c/5ce8fad941233e81f2afb5b52a3fcddd3ba8732f>
- <https://git.kernel.org/stable/c/f818708eeeae793e12dc39f8984ed7732048a7d9>
- <https://git.kernel.org/stable/c/2e7eb4c1e8af8385de22775bd0be552f59b28c9a>
- <https://git.kernel.org/stable/c/8fe4ce5836e932f5766317cb651c1ff2a4cd0506>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2022-48666>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2022-48666/>. Everything for agents: <https://agentprime.io/llms.txt>.
