Skip to content
7.8 High

CVE-2025-39931 In the Linux kernel, the following vulnerability has been resolved: crypto: af_alg - Set merge to zero early in…

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: af_alg - Set merge to zero early in af_alg_sendmsg If an error causes af_alg_sendmsg to abort, ctx->merge may contain a garbage value from the previous loop. This may then trigger a crash on the next entry into af_alg_sendmsg when it attempts to do a merge that can't be done. Fix this by setting ctx->merge to zero near the start of the loop.

Affected products and versions

Product Affected versions Fixed in
Linux 6.17 earliest → < 6.17 6.17
Linux 6.16 earliest → < 6.16.9 6.16.9
Linux 6.12 earliest → < 6.12.49 6.12.49
Linux 6.6 earliest → < 6.6.108 6.6.108
Linux 6.1 earliest → < 6.1.154 6.1.154
Linux 5.15 earliest → < 5.15.211 5.15.211
Linux 5.10 earliest → < 5.10.260 5.10.260
Linux 2.6.38 No fix stated
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.7 → latest No fix stated
Show the 2 other branches
Product Affected versions Fixed in
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP 3.1 3.1.7 → latest No fix stated
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.7 → latest No fix stated
The 18286 CVEs of Linux →
Track this CVE