Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2025-38665 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-476NULL Pointer Dereference[email protected]

Affected Products

ProductVersions
linux linux kernel
>= 2.6.31, < 6.1.148
>= 6.2, < 6.6.101
>= 6.7, < 6.12.41
>= 6.13, < 6.15.9
6.16 rc1

CPE

  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.16:rc5:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.16:rc6:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.16:rc7:*:*:*:*:*:*

Remediation

  • No remediation found in references.
debian debian linux
11.0

CPE

  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

Remediation

  • No remediation found in references.

Change History

4 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2025-38665
NVD Published Date:
Aug 22, 2025
NVD Last Modified:
Jun 17, 2026
Source:
kernel.org
CVE-2025-38665 Details - Not Deferred