CVE-2025-38699

Kernel memory corruption via stale bfad pointer

Published Sep 4, 2025 · Updated May 12, 2026

Double free in the bfa SCSI driver in Linux and SIMATIC CN 4100 before V5.0 allows local users to corrupt kernel memory. On an initialization error, bfad_im_probe() frees bfad->im but leaves the stale pointer set, so bfad_im_probe_undo() frees the allocation again when bfad_sm_stopping runs. The path requires local administrative control to uninstall the driver after the failed probe; published sources document the double free but no demonstrated post-free exploit.

CVSS severity7.8
High
EPSS probability0.18%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Double free in the bfa SCSI driver in Linux and SIMATIC CN 4100 before V5.0 allows local users to corrupt kernel memory. On an initialization error, bfad_im_probe() frees bfad->im but leaves the stale pointer set, so bfad_im_probe_undo() frees the allocation again when bfad_sm_stopping runs. The path requires local administrative control to uninstall the driver after the failed probe; published sources document the double free but no demonstrated post-free exploit.

The record

CVE
CVE-2025-38699
Published
Sep 4, 2025
Updated
May 12, 2026
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
CWE-415
Attack vector
local
Privileges
Unavailable

Timeline

How it unfolded

  1. Sep 4, 2025CVE publishedPublication date reported by the CVE source.
  2. May 12, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=2.6.32
  2. Affected versionversion=7725ccfda59715ecf8f99e3b520a0b84cc2ea79e <13f613228cf3c96a038424cd97aa4d6aadc66294
  3. Affected versionversion=7725ccfda59715ecf8f99e3b520a0b84cc2ea79e <39cfe2c83146aad956318f866d0ee471b7a61fa5
  4. Affected versionversion=7725ccfda59715ecf8f99e3b520a0b84cc2ea79e <50d9bd48321038bd6e15af5a454bbcd180cf6f80
  5. Affected versionversion=7725ccfda59715ecf8f99e3b520a0b84cc2ea79e <684c92bb08a25ed3c0356bc7eb532ed5b19588dd
  6. Affected versionversion=7725ccfda59715ecf8f99e3b520a0b84cc2ea79e <8456f862cb95bcc3a831e1ba87c0c17068be0f3f
  7. Affected versionversion=7725ccfda59715ecf8f99e3b520a0b84cc2ea79e <8e03dd9fadf76db5b9799583074a1a2a54f787f1
  8. Affected versionversion=7725ccfda59715ecf8f99e3b520a0b84cc2ea79e <9337c2affbaebe00b75fdf84ea0e2fcf93c140af
  9. Affected versionversion=7725ccfda59715ecf8f99e3b520a0b84cc2ea79e <add4c4850363d7c1b72e8fce9ccb21fdd2cf5dc9
  10. Affected versionversion=7725ccfda59715ecf8f99e3b520a0b84cc2ea79e <ba024d92564580bb90ec367248ace8efe16ce815

What conditions does exploitation require?

Attack vectorlocal
Required privilegesUnavailable in this record.

What is affected?

The Linux Kernel Organization · Linuxversion=2.6.32; version=7725ccfda59715ecf8f99e3b520a0b84cc2ea79e <13f613228cf3c96a038424cd97aa4d6aadc66294; version=7725ccfda59715ecf8f99e3b520a0b84cc2ea79e <39cfe2c83146aad956318f866d0ee471b7a61fa5; version=7725ccfda59715ecf8f99e3b520a0b84cc2ea79e <50d9bd48321038bd6e15af5a454bbcd180cf6f80; version=7725ccfda59715ecf8f99e3b520a0b84cc2ea79e <684c92bb08a25ed3c0356bc7eb532ed5b19588dd; version=7725ccfda59715ecf8f99e3b520a0b84cc2ea79e <8456f862cb95bcc3a831e1ba87c0c17068be0f3f; version=7725ccfda59715ecf8f99e3b520a0b84cc2ea79e <8e03dd9fadf76db5b9799583074a1a2a54f787f1; version=7725ccfda59715ecf8f99e3b520a0b84cc2ea79e <9337c2affbaebe00b75fdf84ea0e2fcf93c140af; version=7725ccfda59715ecf8f99e3b520a0b84cc2ea79e <add4c4850363d7c1b72e8fce9ccb21fdd2cf5dc9; version=7725ccfda59715ecf8f99e3b520a0b84cc2ea79e <ba024d92564580bb90ec367248ace8efe16ce815
Siemens · SIMATIC CN 4100version=0 <V5.0

Published CVSS scores

6.4Siemens ProductCERTCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
7.8NIST NVDCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
PrivilegesUnavailable
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-415Double Free

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo