# net: enetc: allocate vf_state during PF probes

CVE record · `CVE-2024-50298`

- **Identifiers:** `CVE-2024-50298`
- **State:** Confirmed
- **Severity:** CVSS 5.5 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 Nov 2024
- **Updated:** 10 Nov 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: `d4fd0404c1c95b17880f254ebfee3485693fa8ba to before 35668e29e979b3a1927d3959cdd87327afd8e5eb` (git)
  - affected: `d4fd0404c1c95b17880f254ebfee3485693fa8ba to before ef0edfbe9eeed1fccad7cb705648af5222664944` (git)
  - affected: `d4fd0404c1c95b17880f254ebfee3485693fa8ba to before 7eb923f8d4819737c07d6a8d0daef0a4d7f99e0c` (git)
  - affected: `d4fd0404c1c95b17880f254ebfee3485693fa8ba to before e15c5506dd39885cd047f811a64240e2e8ab401b` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.1`
  - unaffected: `before 5.1` (semver)
  - unaffected: `6.1.167 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

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel enetc driver is affected from version 5.1 until the fixes in 6.1.167, 6.6.61, 6.11.8, and 6.12. Setting a virtual function's MAC address before that VF is enabled dereferences a null pointer and crashes the kernel. Upgrade to a fixed kernel release; no workaround is listed.

Written 19 Nov 2026.

## 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.0022, the 12th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 19 Nov 2024, 01:30 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2024-50298)
- 19 Nov 2024, 02:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2024-50298)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/35668e29e979b3a1927d3959cdd87327afd8e5eb>
- <https://git.kernel.org/stable/c/ef0edfbe9eeed1fccad7cb705648af5222664944>
- <https://git.kernel.org/stable/c/7eb923f8d4819737c07d6a8d0daef0a4d7f99e0c>
- <https://git.kernel.org/stable/c/e15c5506dd39885cd047f811a64240e2e8ab401b>

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

---

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