PT-2025-20345 · Linux+5 · Linux Kernel+5
Published
2025-03-18
·
Updated
2026-04-20
·
CVE-2025-37816
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A vulnerability has been resolved in the Linux kernel. The issue is related to the use of the
counted by() function in the vsc-tp.c code, which is using the counted by(len) attribute on vsc tp packet.buf[] in a wrong way. The len variable does not contain the available size in the buffer, but rather the actual packet length without the CRC. This causes a fortify-panic handler to be triggered when vsc tp xfer() tries to add the CRC to buf[]. The solution involves splitting the vsc tp packet struct definition into a header and a full-packet definition and using a fixed-size buf[] in the packet definition.Recommendations
To resolve the issue, split the
vsc tp packet struct definition into a header and a full-packet definition and use a fixed-size buf[] in the packet definition. This way, fortify-source buffer overrun checking still works when enabled.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu