PT-2025-40091 · Linux+1 · Linux Kernel+1

Stanislav

·

Published

2025-09-09

·

Updated

2025-12-19

·

CVE-2025-39917

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The Linux kernel contains a flaw in the bpf crypto crypt() function where the size of the destination dynamic pointer (dst) is not validated against the size of the source dynamic pointer (src) before being passed to the crypto backend. This can lead to an out-of-bounds write if the destination buffer is smaller than the source buffer. The function uses bpf dynptr data() and bpf dynptr data rw() to fetch linear buffers from each dynamic pointer. The crypto backend expects the destination buffer to be large enough to accommodate the data being written, based on the source length (src len). A check has been added to ensure src len is not greater than dst len to prevent the out-of-bounds write. This function is accessible only under root privileges.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Memory Corruption

Weakness Enumeration

Related Identifiers

BDU:2026-02676
CVE-2025-39917
OPENSUSE-SU-2025:20172-1
SUSE-SU-2026:20012-1
SUSE-SU-2026:20015-1
SUSE-SU-2026:20021-1

Affected Products

Astra Linux
Linux Kernel