Vulnerability in Linux

CVE-2025-71151

In the Linux kernel, the following vulnerability has been resolved:

cifs: Fix memory and information leak in smb3_reconfigure()

In smb3_reconfigure(), if smb3_sync_session_ctx_passwords() fails, the
function returns immediately without freeing and erasing the newly
allocated new_password and new_password2. This causes both a memory leak
and a potential information leak.

Fix this by calling kfree_sensitive() on both password buffers before
returning in this error case.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.

EPSS exploit prediction

EPSS 0.001, 3.1th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 6.6.120, 880a661e67648a3ffe85405e8de5f50650a3c0b2, 6.13
  • Linux Kernel — versions 6.19

Weakness classification (CWE)

References