# can: netlink: can_changelink(): fix NULL pointer deref of struct can_priv::do_set_mode

CVE record · `CVE-2025-38665`

- **Identifiers:** `CVE-2025-38665`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 22 Aug 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 22 Aug 2025, 16:02 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: `39549eef3587f1c1e8c65c88a2400d10fd30ea17 to before 6bbcf37c5114926c99a1d1e6993a5b35689d2599` (git)
  - affected: `39549eef3587f1c1e8c65c88a2400d10fd30ea17 to before cf81a60a973358dea163f6b14062f17831ceb894` (git)
  - affected: `39549eef3587f1c1e8c65c88a2400d10fd30ea17 to before 0ca816a96fdcf32644c80cbe7a82c7b6ce6ddda5` (git)
  - affected: `39549eef3587f1c1e8c65c88a2400d10fd30ea17 to before 6acceb46180f9e160d4f0c56fcaf39ba562822ae` (git)
  - affected: `39549eef3587f1c1e8c65c88a2400d10fd30ea17 to before c1f3f9797c1f44a762e6f5f72520b2e520537b52` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.31`
  - unaffected: `before 2.6.31` (semver)
  - unaffected: `6.1.148 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.101 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.41 to 6.12.*, inclusive` (semver)
  - unaffected: `6.15.9 to 6.15.*, inclusive` (semver)
  - unaffected: `6.16 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

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

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

## Timeline

- 22 Aug 2025, 16:02 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-38665)
- 22 Aug 2025, 16:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-38665)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/6bbcf37c5114926c99a1d1e6993a5b35689d2599>
- <https://git.kernel.org/stable/c/cf81a60a973358dea163f6b14062f17831ceb894>
- <https://git.kernel.org/stable/c/0ca816a96fdcf32644c80cbe7a82c7b6ce6ddda5>
- <https://git.kernel.org/stable/c/6acceb46180f9e160d4f0c56fcaf39ba562822ae>
- <https://git.kernel.org/stable/c/c1f3f9797c1f44a762e6f5f72520b2e520537b52>

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

---

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