# smb: client: fix OOBs when building SMB2_IOCTL request

CVE record · `CVE-2024-50151`

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

Published by the CVE Program (CNA: Linux) at 7 Nov 2024, 09:31 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: `e77fe73c7e38c36145825d84cfe385d400aba4fd to before 6f0516ef1290da24b85461ed08a0938af7415e49` (git)
  - affected: `e77fe73c7e38c36145825d84cfe385d400aba4fd to before ed31aba8ce93472d9e16f5cff844ae7c94e9601d` (git)
  - affected: `e77fe73c7e38c36145825d84cfe385d400aba4fd to before e07d05b7f5ad9a503d9cab0afde2ab867bb65470` (git)
  - affected: `e77fe73c7e38c36145825d84cfe385d400aba4fd to before 2ef632bfb888d1a14f81c1703817951e0bec5531` (git)
  - affected: `e77fe73c7e38c36145825d84cfe385d400aba4fd to before b209c3a0bc3ac172265c7fa8309e5d00654f2510` (git)
  - affected: `e77fe73c7e38c36145825d84cfe385d400aba4fd to before fe92ddc1c32d4474e605e3a31a4afcd0e7d765ec` (git)
  - affected: `e77fe73c7e38c36145825d84cfe385d400aba4fd to before 1ab60323c5201bef25f2a3dc0ccc404d9aca77f1` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.0`
  - unaffected: `before 5.0` (semver)
  - unaffected: `5.4.285 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.229 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.170 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.115 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.59 to 6.6.*, inclusive` (semver)
  - unaffected: `6.11.6 to 6.11.*, inclusive` (semver)
  - unaffected: `6.12 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

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

- **CISA KEV:** Not listed.
- **EPSS:** 0.0028, the 21st 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 7 Nov 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/6f0516ef1290da24b85461ed08a0938af7415e49>
- <https://git.kernel.org/stable/c/ed31aba8ce93472d9e16f5cff844ae7c94e9601d>
- <https://git.kernel.org/stable/c/e07d05b7f5ad9a503d9cab0afde2ab867bb65470>
- <https://git.kernel.org/stable/c/2ef632bfb888d1a14f81c1703817951e0bec5531>
- <https://git.kernel.org/stable/c/b209c3a0bc3ac172265c7fa8309e5d00654f2510>
- <https://git.kernel.org/stable/c/fe92ddc1c32d4474e605e3a31a4afcd0e7d765ec>
- <https://git.kernel.org/stable/c/1ab60323c5201bef25f2a3dc0ccc404d9aca77f1>

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

---

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