Bug 2401423 (CVE-2025-39931) - CVE-2025-39931 kernel: crypto: af_alg - Set merge to zero early in af_alg_sendmsg
Summary: CVE-2025-39931 kernel: crypto: af_alg - Set merge to zero early in af_alg_sen...
Keywords:
Status: NEW
Alias: CVE-2025-39931
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-04 08:02 UTC by OSIDB Bzimport
Modified: 2025-10-06 18:16 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-04 08:02:25 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.