CVE-2025-39996
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-39996 is a use-after-free vulnerability discovered in the Linux kernel's media subsystem, specifically in the B2C2 FlexCop PCI driver. The vulnerability was disclosed on October 15, 2025, affecting the flexcoppciremove function in the Linux kernel's media driver (NVD).

Technical details

The vulnerability stems from improper handling of delayed work items in the flexcoppciremove function. The issue occurs when canceldelayedwork() is called, which does not guarantee that the delayed work item irqcheckwork has fully completed if it was already running. This can lead to a race condition where flexcoppciremove() may free the flexcopdevice while irqcheck_work is still active and attempts to dereference the device (NVD).

Impact

The vulnerability can result in a use-after-free condition, which could potentially lead to system crashes, memory corruption, or possible privilege escalation. The issue was confirmed through KASAN (Kernel Address Sanitizer) reports showing memory corruption (NVD).

Mitigation and workarounds

The recommended fix is to replace canceldelayedwork() with canceldelayedwork_sync() to ensure that the delayed work item is properly canceled and any executing delayed work has finished before the device memory is deallocated (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-39998N/AN/A
  • Linux KernelLinux Kernel
  • kernel-ipaclones-internal
NoNoOct 15, 2025
CVE-2025-39997N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoOct 15, 2025
CVE-2025-39996N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-core
NoNoOct 15, 2025
CVE-2025-39965N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-debug-modules-core
NoNoOct 13, 2025
CVE-2025-39964N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoYesOct 13, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management