CVE-2025-38665
publishedcan: netlink: can_changelink(): fix NULL pointer deref of struct can_priv::do_set_mode
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux39549eef3587f1c1e8c65c88a2400d10fd30ea17 to < 6bbcf37c5114926c99a1d1e6993a5b35689d2599 · 39549eef3587f1c1e8c65c88a2400d10fd30ea17 to < cf81a60a973358dea163f6b14062f17831ceb894 · 39549eef3587f1c1e8c65c88a2400d10fd30ea17 to < 0ca816a96fdcf32644c80cbe7a82c7b6ce6ddda5 · 39549eef3587f1c1e8c65c88a2400d10fd30ea17 to < 6acceb46180f9e160d4f0c56fcaf39ba562822ae · 39549eef3587f1c1e8c65c88a2400d10fd30ea17 to < c1f3f9797c1f44a762e6f5f72520b2e520537b52 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.31 (affected) · 0 to < 2.6.31 (unaffected · semver) · 6.1.148 through 6.1.* (unaffected · semver) · 6.6.101 through 6.6.* (unaffected · semver) · 6.12.41 through 6.12.* (unaffected · semver) · 6.15.9 through 6.15.* (unaffected · semver) · 6.16 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-3013 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2025-105 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-091 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2025-110 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.153-1~deb11u1 | DLA-4328-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1169 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1208 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el10uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
| Oracle Linux | 9 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-104.43.4.2.el9uek | ELSA-2025-20662 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: can: netlink: can_changelink(): fix NULL pointer deref of struct can_priv::do_set_mode Andrei Lalaev reported a NULL pointer deref when a CAN device is restarted from Bus Off and the driver does not implement the struct can_priv::do_set_mode callback. There are 2 code path that call struct can_priv::do_set_mode: - directly by a manual restart from the user space, via can_changelink() - delayed automatic restart after bus off (deactivated by default) To prevent the NULL pointer deference, refuse a manual restart or configure the automatic restart delay in can_changelink() and report the error via extack to user space. As an additional safety measure let can_restart() return an error if can_priv::do_set_mode is not set instead of dereferencing it unchecked.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 39549eef3587f1c1e8c65c88a2400d10fd30ea17 to < 6bbcf37c5114926c99a1d1e6993a5b35689d2599 (affected · git)39549eef3587f1c1e8c65c88a2400d10fd30ea17 to < cf81a60a973358dea163f6b14062f17831ceb894 (affected · git)39549eef3587f1c1e8c65c88a2400d10fd30ea17 to < 0ca816a96fdcf32644c80cbe7a82c7b6ce6ddda5 (affected · git)39549eef3587f1c1e8c65c88a2400d10fd30ea17 to < 6acceb46180f9e160d4f0c56fcaf39ba562822ae (affected · git)39549eef3587f1c1e8c65c88a2400d10fd30ea17 to < c1f3f9797c1f44a762e6f5f72520b2e520537b52 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.31 (affected)0 to < 2.6.31 (unaffected · semver)6.1.148 through 6.1.* (unaffected · semver)6.6.101 through 6.6.* (unaffected · semver)6.12.41 through 6.12.* (unaffected · semver)6.15.9 through 6.15.* (unaffected · semver)6.16 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/0ca816a96fdcf32644c80cbe7a82c7b6ce6ddda5
- https://git.kernel.org/stable/c/6acceb46180f9e160d4f0c56fcaf39ba562822ae
- https://git.kernel.org/stable/c/6bbcf37c5114926c99a1d1e6993a5b35689d2599
- https://git.kernel.org/stable/c/c1f3f9797c1f44a762e6f5f72520b2e520537b52
- https://git.kernel.org/stable/c/cf81a60a973358dea163f6b14062f17831ceb894
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Provider assertions
3Linux · cna
can: netlink: can_changelink(): fix NULL pointer deref of struct can_priv::do_set_mode
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 311bfcda582f17406299c1f65528ea695bb3bfa627681e2cdd5831ee681546a5
- Ingested
- 07 Nov 2026, 23:34:57 UTC
- Source record
- Official CVE record