# scsi: qedf: Ensure the copied buf is NUL terminated

CVE record · `CVE-2024-38559`

- **Identifiers:** `CVE-2024-38559`
- **State:** Confirmed
- **Severity:** CVSS 4.4 Medium
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-476](https://cwe.mitre.org/data/definitions/476.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 19 Jun 2024
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 19 Jun 2024, 13:35 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: `61d8658b4a435eac729966cc94cdda077a8df5cd to before 1f84a2744ad813be23fc4be99fb74bfb24aadb95` (git)
  - affected: `61d8658b4a435eac729966cc94cdda077a8df5cd to before a75001678e1d38aa607d5b898ec7ff8ed0700d59` (git)
  - affected: `61d8658b4a435eac729966cc94cdda077a8df5cd to before 769b9fd2af02c069451fe9108dba73355d9a021c` (git)
  - affected: `61d8658b4a435eac729966cc94cdda077a8df5cd to before dccd97b39ab2f2b1b9a47a1394647a4d65815255` (git)
  - affected: `61d8658b4a435eac729966cc94cdda077a8df5cd to before d93318f19d1e1a6d5f04f5d965eaa9055bb7c613` (git)
  - affected: `61d8658b4a435eac729966cc94cdda077a8df5cd to before 563e609275927c0b75fbfd0d90441543aa7b5e0d` (git)
  - affected: `61d8658b4a435eac729966cc94cdda077a8df5cd to before 4907f5ad246fa9b51093ed7dfc7da9ebbd3f20b8` (git)
  - affected: `61d8658b4a435eac729966cc94cdda077a8df5cd to before 177f43c6892e6055de6541fe9391a8a3d1f95fc9` (git)
  - affected: `61d8658b4a435eac729966cc94cdda077a8df5cd to before d0184a375ee797eb657d74861ba0935b6e405c62` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.11`
  - unaffected: `before 4.11` (semver)
  - unaffected: `4.19.316 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.278 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.219 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.161 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.93 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.33 to 6.6.*, inclusive` (semver)
  - unaffected: `6.8.12 to 6.8.*, inclusive` (semver)
  - unaffected: `6.9.3 to 6.9.*, inclusive` (semver)
  - unaffected: `6.10 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

- 4.4 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0025, the 16th 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 19 Jun 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/1f84a2744ad813be23fc4be99fb74bfb24aadb95>
- <https://git.kernel.org/stable/c/a75001678e1d38aa607d5b898ec7ff8ed0700d59>
- <https://git.kernel.org/stable/c/769b9fd2af02c069451fe9108dba73355d9a021c>
- <https://git.kernel.org/stable/c/dccd97b39ab2f2b1b9a47a1394647a4d65815255>
- <https://git.kernel.org/stable/c/d93318f19d1e1a6d5f04f5d965eaa9055bb7c613>
- <https://git.kernel.org/stable/c/563e609275927c0b75fbfd0d90441543aa7b5e0d>
- <https://git.kernel.org/stable/c/4907f5ad246fa9b51093ed7dfc7da9ebbd3f20b8>
- <https://git.kernel.org/stable/c/177f43c6892e6055de6541fe9391a8a3d1f95fc9>
- <https://git.kernel.org/stable/c/d0184a375ee797eb657d74861ba0935b6e405c62>

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

---

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