CVE-2025-40022Linux
No score
Follow: this CVE · Linux · Linux We alert you by email or Slack (account required).
- Priority
- 0
- CVSS
- —
- EPSS
- —
- Auth required
- Unknown
- Published
- Oct 24, 2025
- Updated
- Nov 10, 2026
- Category
- Application · Cross-platform
What happens
In the Linux kernel, the following vulnerability has been resolved:
crypto: af_alg - Fix incorrect boolean values in af_alg_ctx
Commit 1b34cbbf4f01 ("crypto: af_alg - Disallow concurrent writes in
af_alg_sendmsg") changed some fields from bool to 1-bit bitfields of
type u32.
However, some assignments to these fields, specifically 'more' and
'merge', assign values greater than 1. These relied on C's implicit
conversion to bool, such that zero becomes false and nonzero becomes
true.
With a 1-bit bitfields of type u32 instead, mod 2 of the value is taken
instead, resulting in 0 being assigned in some cases when 1 was intended.
Fix this by restoring the bool type.
What to do
- Apply the vendor's security update for Linux.
Affected products
- Linux · Linux
- Siemens · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)
- Siemens · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)
- Siemens · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)
- Siemens · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)
- Siemens · SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for the Linux Kernel · SUSE · SUSE-SU-2026:4668-1 · Oct 14, 2026 Critical
- Security update for the Linux Kernel · SUSE · SUSE-SU-2026:4667-1 · Oct 14, 2026 Critical
- Security update for the Linux Kernel · SUSE · SUSE-SU-2026:4666-1 · Oct 14, 2026 Critical
- Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1.7 · Siemens · SSA-457936 · Oct 13, 2026 Critical
- Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1.6 · Siemens · SSA-019113 · Jul 14, 2026 Critical
Also: SUSE (+15)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.