# net/mlx5e: Don't call cleanup on profile rollback failure

CVE record · `CVE-2024-50146`

- **Identifiers:** `CVE-2024-50146`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 7 Nov 2024
- **Updated:** 5 Nov 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: `3ef14e463f6ed0218710f56b97e1a7d0448784d2 to before db84cb4c8c565e6d4de84b23c2818b63991adfdd` (git)
  - affected: `3ef14e463f6ed0218710f56b97e1a7d0448784d2 to before d6fe973c8873c998734a050f366b28facc03d32a` (git)
  - affected: `3ef14e463f6ed0218710f56b97e1a7d0448784d2 to before 3955b77494c3c7d14873b1db67e7e00c46a714db` (git)
  - affected: `3ef14e463f6ed0218710f56b97e1a7d0448784d2 to before 4dbc1d1a9f39c3711ad2a40addca04d07d9ab5d0` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.12`
  - unaffected: `before 5.12` (semver)
  - unaffected: `6.1.123 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.80 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

## Machine-written summary

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

> The Linux kernel mlx5e network driver (net/mlx5e) is affected from 5.12. If a profile rollback fails during a profile change, unloading the driver can cause a kernel NULL pointer dereference crash. The source gives few details on the conditions that trigger this. Upgrade to kernel 6.1.123, 6.6.80, 6.11.6, or 6.12 or later.

Written 16 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

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0023, the 14th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 7 Nov 2024, 09:31 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2024-50146)
- 7 Nov 2024, 10:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2024-50146)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/db84cb4c8c565e6d4de84b23c2818b63991adfdd>
- <https://git.kernel.org/stable/c/d6fe973c8873c998734a050f366b28facc03d32a>
- <https://git.kernel.org/stable/c/3955b77494c3c7d14873b1db67e7e00c46a714db>
- <https://git.kernel.org/stable/c/4dbc1d1a9f39c3711ad2a40addca04d07d9ab5d0>

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

---

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