Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-39978

HIGH 7.8EPSS 8%

octeontx2-pf: Fix potential use after free in otx2_tc_add_flow()

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < 5723120423a753a220b8b2954b273838b9d7e74a; >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < df2c071061ed52d2225d97b212d27ecedf456b8a; >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < c41b2941a024d4ec7c768e16ffb10a74b188fced; >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < a8a63f27c3a8a3714210d32b12fd0f16d0337414; >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < d9c70e93ec5988ab07ad2a92d9f9d12867f02c56
  • Anyone running Linux 5.14

Vulnerability facts

Affected
Linux >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < 5723120423a753a220b8b2954b273838b9d7e74a; >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < df2c071061ed52d2225d97b212d27ecedf456b8a; >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < c41b2941a024d4ec7c768e16ffb10a74b188fced; >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < a8a63f27c3a8a3714210d32b12fd0f16d0337414; >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < d9c70e93ec5988ab07ad2a92d9f9d12867f02c56; Linux 5.14
Fixed in
Linux 5723120423a753a220b8b2954b273838b9d7e74a
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: octeontx2-pf: Fix potential use after free in otx2_tc_add_flow() This code calls kfree_rcu(new_node, rcu) and then dereferences "new_node" and then dereferences it on the next line. Two lines later, we take a mutex so I don't think this is an RCU safe region. Re-order it to do the dereferences before queuing up the free.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < 5723120423a753a220b8b2954b273838b9d7e74a; >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < df2c071061ed52d2225d97b212d27ecedf456b8a; >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < c41b2941a024d4ec7c768e16ffb10a74b188fced; >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < a8a63f27c3a8a3714210d32b12fd0f16d0337414; >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < d9c70e93ec5988ab07ad2a92d9f9d12867f02c56—cvelist
Linux5.14—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-39978. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39978.md
Affected: Linux >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < 5723120423a753a220b8b2954b273838b9d7e74a; >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < df2c071061ed52d2225d97b212d27ecedf456b8a; >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < c41b2941a024d4ec7c768e16ffb10a74b188fced; >= 68fbff68dbea35f9e6f7649…
Fixed in: Linux 5723120423a753a220b8b2954b273838b9d7e74a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-39978 being exploited?

There is no confirmed exploitation: CVE-2025-39978 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-39978?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-39978?

Linux >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < 5723120423a753a220b8b2954b273838b9d7e74a; >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < df2c071061ed52d2225d97b212d27ecedf456b8a; >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < c41b2941a024d4ec7c768e16ffb10a74b188fced; >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < a8a63f27c3a8a3714210d32b12fd0f16d0337414; >= 68fbff68dbea35f9e6f7649dd22fce492a5aedac, < d9c70e93ec5988ab07ad2a92d9f9d12867f02c56; Linux 5.14.

Is there a fix for CVE-2025-39978?

Yes. Fixed in Linux 5723120423a753a220b8b2954b273838b9d7e74a. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-39978?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors