CVE-2025-39978
Unknown Unknown - Not Provided

BaseFortify

Vulnerability report for CVE-2025-39978, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-10-15

Last updated on: 2025-10-16

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-10-15
Last Modified
2025-10-16
Generated
2026-07-06
AI Q&A
2025-10-15
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel From 5.15.160 (inc) to 5.16 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a use-after-free issue in the Linux kernel's octeontx2-pf driver, specifically in the function otx2_tc_add_flow(). The code frees a memory node (new_node) using kfree_rcu and then dereferences it immediately afterward, which can lead to accessing freed memory. The fix involves reordering the code to perform dereferences before freeing the memory to avoid unsafe access.

Impact Analysis

The use-after-free vulnerability can lead to undefined behavior such as system crashes, data corruption, or potential escalation of privileges if exploited. It may compromise system stability and security by allowing attackers to manipulate kernel memory improperly.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-39978. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart