Skip to content
Not rated

CVE-2025-38699 In the Linux kernel, the following vulnerability has been resolved: scsi: bfa: Double-free fix When the…

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.

Affected products and versions

Product Affected versions Fixed in
Linux 6.17 earliest → < 6.17 6.17
Linux 6.16 earliest → < 6.16.2 6.16.2
Linux 6.15 earliest → < 6.15.11 6.15.11
Linux 6.12 earliest → < 6.12.43 6.12.43
Linux 6.6 earliest → < 6.6.103 6.6.103
Linux 6.1 earliest → < 6.1.149 6.1.149
Linux 5.15 earliest → < 5.15.190 5.15.190
Linux 5.10 earliest → < 5.10.241 5.10.241
Linux 5.4 earliest → < 5.4.297 5.4.297
Show the 2 other branches
Product Affected versions Fixed in
Linux 2.6.32 No fix stated
SIMATIC CN 4100 5.0 earliest → < 5.0 5.0

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE