# scsi: mpt3sas: Avoid test/set_bit() operating in non-allocated memory

CVE record · `CVE-2024-40901`

- **Identifiers:** `CVE-2024-40901`
- **State:** Confirmed
- **Severity:** CVSS 7.3 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 12 Jul 2024
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 12 Jul 2024, 12:20 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: `c696f7b83edeac804e898952058089143f49ca0a to before e9bce7c751f6d6c7be88c0bc081a66aaf61a23ee` (git)
  - affected: `c696f7b83edeac804e898952058089143f49ca0a to before 19649e49a6df07cd2e03e0a11396fd3a99485ec2` (git)
  - affected: `c696f7b83edeac804e898952058089143f49ca0a to before 0081d2b3ae0a17a86b8cc0fa3c8bdc54e233ba16` (git)
  - affected: `c696f7b83edeac804e898952058089143f49ca0a to before 521f333e644c4246ca04a4fc4772edc53dd2a801` (git)
  - affected: `c696f7b83edeac804e898952058089143f49ca0a to before 46bab2bcd771e725ff5ca3a68ba68cfeac45676c` (git)
  - affected: `c696f7b83edeac804e898952058089143f49ca0a to before 9079338c5a0d1f1fee34fb1c9e99b754efe414c5` (git)
  - affected: `c696f7b83edeac804e898952058089143f49ca0a to before 18abb5db0aa9b2d48f7037a88b41af2eef821674` (git)
  - affected: `c696f7b83edeac804e898952058089143f49ca0a to before 4254dfeda82f20844299dca6c38cbffcfd499f41` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.10`
  - unaffected: `before 4.10` (semver)
  - unaffected: `4.19.317 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.279 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.221 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.162 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.95 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.35 to 6.6.*, inclusive` (semver)
  - unaffected: `6.9.6 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

- 7.3 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0031, the 24th 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 12 Jul 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/e9bce7c751f6d6c7be88c0bc081a66aaf61a23ee>
- <https://git.kernel.org/stable/c/19649e49a6df07cd2e03e0a11396fd3a99485ec2>
- <https://git.kernel.org/stable/c/0081d2b3ae0a17a86b8cc0fa3c8bdc54e233ba16>
- <https://git.kernel.org/stable/c/521f333e644c4246ca04a4fc4772edc53dd2a801>
- <https://git.kernel.org/stable/c/46bab2bcd771e725ff5ca3a68ba68cfeac45676c>
- <https://git.kernel.org/stable/c/9079338c5a0d1f1fee34fb1c9e99b754efe414c5>
- <https://git.kernel.org/stable/c/18abb5db0aa9b2d48f7037a88b41af2eef821674>
- <https://git.kernel.org/stable/c/4254dfeda82f20844299dca6c38cbffcfd499f41>

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

---

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