# scsi: st: Fix array overflow in st_setup()

CVE record · `CVE-2025-37857`

- **Identifiers:** `CVE-2025-37857`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 9 May 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 9 May 2025, 06:42 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: `2bec708a88ce053ffcb0dd8e373d1e46c6dc38a4 to before 736ae988bfb5932c05625baff70fba224d547c08` (git)
  - affected: `2bec708a88ce053ffcb0dd8e373d1e46c6dc38a4 to before 574b399a7fb6ae71c97e26d122205c4a720c0e43` (git)
  - affected: `2bec708a88ce053ffcb0dd8e373d1e46c6dc38a4 to before c6015d0f7a2236ddb3928b2dfcb1c556a1368b55` (git)
  - affected: `2bec708a88ce053ffcb0dd8e373d1e46c6dc38a4 to before f746fe0c51e044d1248dc67918328bfb3d86b639` (git)
  - affected: `2bec708a88ce053ffcb0dd8e373d1e46c6dc38a4 to before e4d1ca0a84a6650d3172eb8c07ef2fbc585b0d96` (git)
  - affected: `2bec708a88ce053ffcb0dd8e373d1e46c6dc38a4 to before 7fe3b4deed8b93609058c37c9a11df1d2b2c0423` (git)
  - affected: `2bec708a88ce053ffcb0dd8e373d1e46c6dc38a4 to before e6b585d016c47ca8a37b92ea8a3fe35c0b585256` (git)
  - affected: `2bec708a88ce053ffcb0dd8e373d1e46c6dc38a4 to before ad4c3037dc77739a625246a2a0fb23b8f3402c06` (git)
  - affected: `2bec708a88ce053ffcb0dd8e373d1e46c6dc38a4 to before a018d1cf990d0c339fe0e29b762ea5dc10567d67` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.19`
  - unaffected: `before 3.19` (semver)
  - unaffected: `5.4.293 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.237 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.181 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.135 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.88 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.24 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13.12 to 6.13.*, inclusive` (semver)
  - unaffected: `6.14.3 to 6.14.*, inclusive` (semver)
  - unaffected: `6.15 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel st (SCSI tape) driver is affected from version 3.19 until fixed. The source describes an array overflow in st_setup() but gives few details on what an attacker needs or can do. Upgrade to 5.4.293, 5.10.237, 5.15.181, or 6.1.135 for the matching branch, or to a later kernel.

Written 16 Nov 2026.

## 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.0031, the 24th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 9 May 2025, 06:42 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-37857)
- 9 May 2025, 07:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-37857)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/736ae988bfb5932c05625baff70fba224d547c08>
- <https://git.kernel.org/stable/c/574b399a7fb6ae71c97e26d122205c4a720c0e43>
- <https://git.kernel.org/stable/c/c6015d0f7a2236ddb3928b2dfcb1c556a1368b55>
- <https://git.kernel.org/stable/c/f746fe0c51e044d1248dc67918328bfb3d86b639>
- <https://git.kernel.org/stable/c/e4d1ca0a84a6650d3172eb8c07ef2fbc585b0d96>
- <https://git.kernel.org/stable/c/7fe3b4deed8b93609058c37c9a11df1d2b2c0423>
- <https://git.kernel.org/stable/c/e6b585d016c47ca8a37b92ea8a3fe35c0b585256>
- <https://git.kernel.org/stable/c/ad4c3037dc77739a625246a2a0fb23b8f3402c06>
- <https://git.kernel.org/stable/c/a018d1cf990d0c339fe0e29b762ea5dc10567d67>

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

---

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