CVE-2025-38665: debian debian_linux NULL Pointer Dereference
Vulnerability summary
CVE-2025-38665 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in debian debian_linux. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 3.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 40 · Related 39Timeline
- 22-08-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.15%
Chance of exploitation in the next 30 days
Percentile
4%
Versus all other CVEs
30-day change
0.00 pp
From 0.15% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu148 products
- linuxAll versions (No fix recorded) | < 6.8.0-100.100
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 6.8.0-1046.49
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian2 products
- linux< 6.1.148-1 | < 6.12.41-1 | < 6.16.3-1
- debian_linuxEOL11.0
Linux2 products
- linux≥ 39549eef3587f1c1e8c65c88a2400d10fd30ea17, < 6bbcf37c5114926c99a1d1e6993a5b35689d2599 | ≥ 39549eef3587f1c1e8c65c88a2400d10fd30ea17, < cf81a60a973358dea163f6b14062f17831ceb894 | ≥ 39549eef3587f1c1e8c65c88a2400d10fd30ea17, < 0ca816a96fdcf32644c80cbe7a82c7b6ce6ddda5 | ≥ 39549eef3587f1c1e8c65c88a2400d10fd30ea17, < 6acceb46180f9e160d4f0c56fcaf39ba562822ae | ≥ 39549eef3587f1c1e8c65c88a2400d10fd30ea17, < c1f3f9797c1f44a762e6f5f72520b2e520537b52 | 2.6.31
- 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 | 6.16:rc2 | 6.16:rc3 | 6.16:rc4 | 6.16:rc5 | 6.16:rc6 | 6.16:rc7
3 vendors · 152 products
References
33 links- lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlThird Party Advisory