In the Linux kernel, the following vulnerability has been resolved: can: etas_es58x: populate ndo_change_mtu() to prevent buffer overflow Sending an… (CVE-2025-39988)
A buffer overflow vulnerability in the Linux kernel's can: etas_es58x driver was resolved by adding a proper ndo_change_mtu() handler. The flaw allowed attackers with local privileges to set an invalid MTU on the CAN interface, bypassing checks and injecting malicious CAN XL frames that the driver could misinterpret, leading to a buffer overflow.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's can: etas_es58x driver arises because the driver did not implement the net_device_ops->ndo_change_mtu() callback. This omission allowed an attacker to configure an invalid MTU (e.g., 9999) on the CAN interface. Subsequently, by opening a PF_PACKET socket with the ETH_P_CANXL protocol, the attacker could inject CAN XL frames with crafted flags and length fields. The es58x_start_xmit() function misinterprets these frames as CAN(FD) frames and copies data without proper length validation, causing a buffer overflow of up to 247 bytes. The root cause was fixed by populating ndo_change_mtu() to restrict MTU settings to valid CAN or CANFD MTU sizes, preventing the overflow.
Potential Impact
Successful exploitation allows a local attacker to cause a buffer overflow in the CAN driver, potentially leading to memory corruption with high impact on confidentiality, integrity, and availability of the system. This could result in arbitrary code execution or system crashes.
Mitigation Recommendations
A fix is available that populates the net_device_ops->ndo_change_mtu() callback in the etas_es58x driver to restrict MTU values to valid ranges. Users should apply the official Linux kernel updates that include this patch. Since this is a kernel vulnerability, upgrading to a fixed kernel version is the recommended remediation. Patch status is not explicitly confirmed in the provided data; check the vendor or Linux kernel advisories for the exact fixed versions and apply updates accordingly.
In the Linux kernel, the following vulnerability has been resolved: can: etas_es58x: populate ndo_change_mtu() to prevent buffer overflow Sending an… (CVE-2025-39988)
Description
A buffer overflow vulnerability in the Linux kernel's can: etas_es58x driver was resolved by adding a proper ndo_change_mtu() handler. The flaw allowed attackers with local privileges to set an invalid MTU on the CAN interface, bypassing checks and injecting malicious CAN XL frames that the driver could misinterpret, leading to a buffer overflow.
CVSS v3.1
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's can: etas_es58x driver arises because the driver did not implement the net_device_ops->ndo_change_mtu() callback. This omission allowed an attacker to configure an invalid MTU (e.g., 9999) on the CAN interface. Subsequently, by opening a PF_PACKET socket with the ETH_P_CANXL protocol, the attacker could inject CAN XL frames with crafted flags and length fields. The es58x_start_xmit() function misinterprets these frames as CAN(FD) frames and copies data without proper length validation, causing a buffer overflow of up to 247 bytes. The root cause was fixed by populating ndo_change_mtu() to restrict MTU settings to valid CAN or CANFD MTU sizes, preventing the overflow.
Potential Impact
Successful exploitation allows a local attacker to cause a buffer overflow in the CAN driver, potentially leading to memory corruption with high impact on confidentiality, integrity, and availability of the system. This could result in arbitrary code execution or system crashes.
Mitigation Recommendations
A fix is available that populates the net_device_ops->ndo_change_mtu() callback in the etas_es58x driver to restrict MTU values to valid ranges. Users should apply the official Linux kernel updates that include this patch. Since this is a kernel vulnerability, upgrading to a fixed kernel version is the recommended remediation. Patch status is not explicitly confirmed in the provided data; check the vendor or Linux kernel advisories for the exact fixed versions and apply updates accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-5q82-r42m-g49m
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-39988"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6b72d89c2644c7f847be28
Added to database: 07/30/2026, 15:50:48 UTC
Last enriched: 07/30/2026, 15:53:07 UTC
Last updated: 07/30/2026, 16:26:56 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.