BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2025-38687 in Debian Linux and 4 more products

Medium 4.7 Industrial / OT

In the Linux kernel, the following vulnerability has been resolved: comedi: fix race between polling and detaching syzbot reports a use-after-free in comedi in the below link, which is due to comedi gladly removing the allocated async area even though poll requests are still active on the wait_queue_head inside of it. This can cause a use-after-free when the poll entries are later triggered or removed, as the memory for the wait_queue_head has been freed. We need to check there are no tasks queued on any of the subdevices' wait queues before allowing the device to be detached by the `COMEDI_DEVCONFIG` ioctl. Tasks will read-lock `dev->attach_lock` before adding themselves to the subdevice wait queue, so fix the problem in the `COMEDI_DEVCONFIG` ioctl handler by write-locking `dev->attach_lock` before checking that all of the subdevices are safe to be deleted. This includes testing for any sleepers on the subdevices' wait queues. It remains locked until the device has been detached. This requires the `comedi_device_detach()` function to be refactored slightly, moving the bulk of it into new function `comedi_device_detach_locked()`. Note that the refactor of `comedi_device_detach()` results in `comedi_device_cancel_all()` now being called while `dev->attach_lock` is write-locked, which wasn't the case previously, but that does not matter. Thanks to Jens Axboe for diagnosing the problem and co-developing this patch.

Affects 5 products from 3 vendors. Description from NVD and MITRE.

CVSS 3.14.7
EPSS0.1%
EPSS percentile4th

Requires local access, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 11.0
Linux Linux Kernel ≥ 3.14, < 5.4.297 ≥ 5.5, < 5.10.241 ≥ 5.11, < 5.15.190 ≥ 5.16, < 6.1.149 ≥ 6.2, < 6.6.103 ≥ 6.7, < 6.12.43
+2 more≥ 6.13, < 6.15.11 ≥ 6.16, < 6.16.2
Linux Linux 3.14
Siemens SIMATIC Cn 4100 (device and firmware) < 5.0

Fix and vendor advisory

  • SIMATIC CN 4100: Update to V5.0 or later version

Source: ICSA-26-134-10

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2025-38687
BreachSpider IDBS-2026-GLOBAL-256946-H
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Published2026-05-14
Last modified2026-10-19
Weakness (CWE)
SourceNVD

Compensating controls AI-drafted, review before use

Implement network segmentation to isolate the SIMATIC CN 4100 from other critical systems and monitor traffic for suspicious activity.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-19.