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

Published

2025-10-24

·

Updated

2026-03-14

·

CVE-2025-40022

CVSS v2.0

4.9

Medium

VectorAV:A/AC:M/Au:S/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The Linux kernel contains an issue within the crypto/af alg subsystem. A change introduced by commit 1b34cbbf4f01 altered data types from bool to 1-bit bitfields of type u32. This modification caused incorrect assignments to fields named 'more' and 'merge', as values greater than 1 were being assigned, relying on C's implicit conversion to boolean. The use of 1-bit bitfields resulted in unintended behavior where 0 was assigned instead of 1 in certain cases. The issue is resolved by reverting the data type back to bool.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Incorrect Type Conversion or Cast

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-02773
CVE-2025-40022
DLA-4379-1
DLA-4404-1
DSA-6053-1
ECHO-A046-AA9B-C514
MGASA-2025-0309
MGASA-2025-0310

Affected Products

Debian
Linux Kernel