Bug 2404094 (CVE-2025-39978) - CVE-2025-39978 kernel: octeontx2-pf: Fix potential use after free in otx2_tc_add_flow()
Summary: CVE-2025-39978 kernel: octeontx2-pf: Fix potential use after free in otx2_tc_...
Keywords:
Status: NEW
Alias: CVE-2025-39978
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-15 08:01 UTC by OSIDB Bzimport
Modified: 2025-10-16 12:13 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-15 08:01:33 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.