# xfrm: validate new SA's prefixlen using SA family when sel.family is unset

CVE record · `CVE-2024-50142`

- **Identifiers:** `CVE-2024-50142`
- **State:** Confirmed
- **Severity:** CVSS 5.5 Medium
- **Critical:** No
- **CNA:** Linux
- **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: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before f31398570acf0f0804c644006f7bfa9067106b0a` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 401ad99a5ae7180dd9449eac104cb755f442e7f3` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 8df5cd51fd70c33aa1776e5cbcd82b0a86649d73` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 2d08a6c31c65f23db71a5385ee9cf9d8f9a67a71` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before bce1afaa212ec380bf971614f70909a27882b862` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 7d9868180bd1e4cf37e7c5067362658971162366` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before e68dd80ba498265d2266b12dc3459164f4ff0c4a` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 3f0ab59e6537c6a8f9e1b355b48f9c05a76e8563` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.12`
  - unaffected: `before 2.6.12` (semver)
  - unaffected: `4.19.323 to 4.19.*, inclusive` (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

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

- **CISA KEV:** Not listed.
- **EPSS:** 0.0026, the 17th 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-50142](https://www.cve.org/CVERecord?id=CVE-2024-50142)
- [NVD: CVE-2024-50142](https://nvd.nist.gov/vuln/detail/CVE-2024-50142)

### References from the CNA

- <https://git.kernel.org/stable/c/f31398570acf0f0804c644006f7bfa9067106b0a>
- <https://git.kernel.org/stable/c/401ad99a5ae7180dd9449eac104cb755f442e7f3>
- <https://git.kernel.org/stable/c/8df5cd51fd70c33aa1776e5cbcd82b0a86649d73>
- <https://git.kernel.org/stable/c/2d08a6c31c65f23db71a5385ee9cf9d8f9a67a71>
- <https://git.kernel.org/stable/c/bce1afaa212ec380bf971614f70909a27882b862>
- <https://git.kernel.org/stable/c/7d9868180bd1e4cf37e7c5067362658971162366>
- <https://git.kernel.org/stable/c/e68dd80ba498265d2266b12dc3459164f4ff0c4a>
- <https://git.kernel.org/stable/c/3f0ab59e6537c6a8f9e1b355b48f9c05a76e8563>

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

---

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