Skip to content
StratQuad

Threats

Linux kernel af_alg merge variable uninitialised on error

CVE-2025-39931Medium

The af_alg_sendmsg function in the Linux kernel does not properly initialise the ctx->merge variable when an error occurs during message sending. If an error causes the function to abort, ctx->merge may retain a garbage value from a previous loop iteration. On the next call to af_alg_sendmsg, this uninitialised value can cause the function to attempt an invalid merge operation, resulting in a crash. An attacker with the ability to send messages through the af_alg interface can trigger this condition by causing an error during message transmission.

Plain English summary of the NVD and CISA text, checked by machine against both.

Scores and dates

CVSS 3.1
5.5
MEDIUM
EPSS score
0.00
Probability of exploitation in 30 days
EPSS percentile
6th
Share of scored CVEs at or below this one

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Daily EPSS score, 3 Nov to 15 Nov, source FIRST

Detail

Affected versions

  • linux linux kernel: from 2.6.38, before 6.1.154
  • linux linux kernel: from 6.2, before 6.6.108
  • linux linux kernel: from 6.7, before 6.12.49
  • linux linux kernel: from 6.13, before 6.16.9
  • linux linux kernel: 6.17

Reports naming this CVE1 in total