# scsi: core: Fix error handling of scsi_host_alloc()

CVE record · `CVE-2021-47258`

- **Identifiers:** `CVE-2021-47258`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 21 May 2024
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 21 May 2024, 14:19 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.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `1fa5ae857bb14f6046205171d98506d8112dd74e to before 8958181c1663e24a13434448e7d6b96b5d04900a` (git)
  - affected: `1fa5ae857bb14f6046205171d98506d8112dd74e to before db08ce595dd64ea9859f7d088b51cbfc8e685c66` (git)
  - affected: `1fa5ae857bb14f6046205171d98506d8112dd74e to before 2dc85045ae65b9302a1d2e2ddd7ce4c030153a6a` (git)
  - affected: `1fa5ae857bb14f6046205171d98506d8112dd74e to before 79296e292d67fa7b5fb8d8c27343683e823872c8` (git)
  - affected: `1fa5ae857bb14f6046205171d98506d8112dd74e to before 7a696ce1d5d16a33a6cd6400bbcc0339b2460e11` (git)
  - affected: `1fa5ae857bb14f6046205171d98506d8112dd74e to before 45d83db4728127944b237c0c8248987df9d478e7` (git)
  - affected: `1fa5ae857bb14f6046205171d98506d8112dd74e to before 66a834d092930cf41d809c0e989b13cd6f9ca006` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.30`
  - unaffected: `before 2.6.30` (semver)
  - unaffected: `4.9.273 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.237 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.195 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.126 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.44 to 5.10.*, inclusive` (semver)
  - unaffected: `5.12.11 to 5.12.*, inclusive` (semver)
  - unaffected: `5.13 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

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0024, the 14th percentile, on 21 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 21 May 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/8958181c1663e24a13434448e7d6b96b5d04900a>
- <https://git.kernel.org/stable/c/db08ce595dd64ea9859f7d088b51cbfc8e685c66>
- <https://git.kernel.org/stable/c/2dc85045ae65b9302a1d2e2ddd7ce4c030153a6a>
- <https://git.kernel.org/stable/c/79296e292d67fa7b5fb8d8c27343683e823872c8>
- <https://git.kernel.org/stable/c/7a696ce1d5d16a33a6cd6400bbcc0339b2460e11>
- <https://git.kernel.org/stable/c/45d83db4728127944b237c0c8248987df9d478e7>
- <https://git.kernel.org/stable/c/66a834d092930cf41d809c0e989b13cd6f9ca006>

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-2021-47258>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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