CVEvulnerability

CVE-2025-39931

5.5 MEDIUM Published 2025-10-04 Modified 2026-10-19 Official page ↗
Status
Modified
Published
2025-10-04
Last modified
2026-10-19
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-908

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 configurations

• linux linux kernel (>= 2.6.38 < 6.1.154) • linux linux kernel (>= 6.2 < 6.6.108) • linux linux kernel (>= 6.7 < 6.12.49) • linux linux kernel (>= 6.13 < 6.16.9) • linux linux kernel 6.17

Related

Weakness · CWE (1)

  • CWE-908 Use of Uninitialized Resource weakness

References