# security/keys: fix slab-out-of-bounds in key_task_permission

CVE record · `CVE-2024-50301`

- **Identifiers:** `CVE-2024-50301`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-125](https://cwe.mitre.org/data/definitions/125.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 Nov 2024
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 19 Nov 2024, 01:30 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: `b2a4df200d570b2c33a57e1ebfa5896e4bc81b69 to before c3ce634ad953ce48c75c39bdfd8b711dd95f346f` (git)
  - affected: `b2a4df200d570b2c33a57e1ebfa5896e4bc81b69 to before 4efb69a0e294ef201bcdf7ce3d6202cd0a545a5d` (git)
  - affected: `b2a4df200d570b2c33a57e1ebfa5896e4bc81b69 to before 1e4332581cd4eed75aea77af6f66cdcdda8b49b9` (git)
  - affected: `b2a4df200d570b2c33a57e1ebfa5896e4bc81b69 to before 199c20fb7499c79557a075dc24e9a7dae7d9f1ce` (git)
  - affected: `b2a4df200d570b2c33a57e1ebfa5896e4bc81b69 to before bbad2d5b6c99db468d8f88b6ba6a56ed409b4881` (git)
  - affected: `b2a4df200d570b2c33a57e1ebfa5896e4bc81b69 to before 3e79ad156bedf2da0ab909a118d2cec6c9c22b79` (git)
  - affected: `b2a4df200d570b2c33a57e1ebfa5896e4bc81b69 to before e0a317ad68e4ea48a0158187238c5407e4fdec8b` (git)
  - affected: `b2a4df200d570b2c33a57e1ebfa5896e4bc81b69 to before 4a74da044ec9ec8679e6beccc4306b936b62873f` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `3.13`
  - unaffected: `before 3.13` (semver)
  - unaffected: `4.19.324 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.286 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.230 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.172 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.117 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.61 to 6.6.*, inclusive` (semver)
  - unaffected: `6.11.8 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.1 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/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 19 Nov 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/c3ce634ad953ce48c75c39bdfd8b711dd95f346f>
- <https://git.kernel.org/stable/c/4efb69a0e294ef201bcdf7ce3d6202cd0a545a5d>
- <https://git.kernel.org/stable/c/1e4332581cd4eed75aea77af6f66cdcdda8b49b9>
- <https://git.kernel.org/stable/c/199c20fb7499c79557a075dc24e9a7dae7d9f1ce>
- <https://git.kernel.org/stable/c/bbad2d5b6c99db468d8f88b6ba6a56ed409b4881>
- <https://git.kernel.org/stable/c/3e79ad156bedf2da0ab909a118d2cec6c9c22b79>
- <https://git.kernel.org/stable/c/e0a317ad68e4ea48a0158187238c5407e4fdec8b>
- <https://git.kernel.org/stable/c/4a74da044ec9ec8679e6beccc4306b936b62873f>

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

---

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