CVE-2025-38665

MEDIUM
MEDIUM Priority: 0.01 BB Relevance: 36/100
Published: 2025-08-22 Modified: 2026-11-05 First seen: 2026-11-05 Status: active

Attack Surface

Low Complexity No Interaction

CVSS Vector Breakdown

AV: Local
AC: Low
PR: Low
UI: None
S: Unchanged
C: None
I: None
A: High

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.

Weakness Classification (1)

Affected Software (15)

VendorProductVersion
Linux Linux 39549eef3587f1c1e8c65c88a2400d10fd30ea17 < 6bbcf37c5114926c99a1d1e6993a5b35689d2599
Linux Linux 39549eef3587f1c1e8c65c88a2400d10fd30ea17 < cf81a60a973358dea163f6b14062f17831ceb894
Linux Linux 39549eef3587f1c1e8c65c88a2400d10fd30ea17 < 0ca816a96fdcf32644c80cbe7a82c7b6ce6ddda5
Linux Linux 39549eef3587f1c1e8c65c88a2400d10fd30ea17 < 6acceb46180f9e160d4f0c56fcaf39ba562822ae
Linux Linux 39549eef3587f1c1e8c65c88a2400d10fd30ea17 < c1f3f9797c1f44a762e6f5f72520b2e520537b52
Linux Linux 2.6.31
debian debian_linux 11.0
linux linux_kernel 2.6.31 – 6.1.148
linux linux_kernel 6.16
linux linux_kernel 6.16
linux linux_kernel 6.16
linux linux_kernel 6.16
linux linux_kernel 6.16
linux linux_kernel 6.16
linux linux_kernel 6.16

Bug Bounty Relevance

36 / 100
✓ Low complexity
✓ No user interaction

CVSS Score

5.5 / 10.0 v3.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS — Exploitation Probability

0.16%
Raw Score 0.001640
Percentile 5.7%
Date 2026-11-13

EPSS Trend

2026-11-13
0.00164
2026-11-12
0.00164
2026-11-10
0.00155
2026-11-09
0.00155
2026-11-08
0.00155
2026-11-07
0.00155
2026-11-06
0.00155
2026-11-05
0.00155

Intelligence Sources

mitre ref →
nvd ref →