Vulnerabilities

CVE-2025-38699

High 7.8 CVSS 3.1

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: bfa: Double-free fix When the bfad_im_probe() function fails during initialization, the memory pointed to by bfad->im is freed without setting bfad->im to NULL. Subsequently, during driver uninstallation, when the state machine enters the bfad_sm_stopping state and calls the bfad_im_probe_undo() function, it attempts to free the memory pointed to by bfad->im again, thereby triggering a double-free vulnerability. Set bfad->im to NULL if probing fails.

Description as published by the source, in English.

Key facts

Published
2025-09-04
Last modified
2026-10-19
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.2 % higher than 6 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Debian Debian Linux 11.0 Affected
Linux Linux Kernel 2.6.32 Affected
Linux Linux Kernel ≥ 2.6.33, < 5.4.297 Affected
Linux Linux Kernel ≥ 5.11, < 5.15.190 Affected
Linux Linux Kernel ≥ 5.16, < 6.1.149 Affected
Linux Linux Kernel ≥ 5.5, < 5.10.241 Affected
Linux Linux Kernel ≥ 6.13, < 6.15.11 Affected
Linux Linux Kernel ≥ 6.16, < 6.16.2 Affected
Linux Linux Kernel ≥ 6.2, < 6.6.103 Affected
Linux Linux Kernel ≥ 6.7, < 6.12.43 Affected

Weakness type

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities