Skip to main content
← All vulnerabilities
CVE-2025-39978

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.1.155, 6.6.109, 6.12.50, 6.16.10
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    From 68fbff68dbea35f9e6f7649dd22fce492a5aedac · fixed in 5723120423a753a220b8b2954b273838b9d7e74a; From 68fbff68dbea35f9e6f7649dd22fce492a5aedac · fixed in df2c071061ed52d2225d97b212d27ecedf456b8a; From 68fbff68dbea35f9e6f7649dd22fce492a5aedac · fixed in c41b2941a024d4ec7c768e16ffb10a74b188fced; From 68fbff68dbea35f9e6f7649dd22fce492a5aedac · fixed in a8a63f27c3a8a3714210d32b12fd0f16d0337414; From 68fbff68dbea35f9e6f7649dd22fce492a5aedac · fixed in d9c70e93ec5988ab07ad2a92d9f9d12867f02c56

  • Linux Linux

    5.14

  • KernelLinux

    From 5.14.0 · fixed in 6.1.155; From 6.2.0 · fixed in 6.6.109; From 6.7.0 · fixed in 6.12.50; From 6.13.0 · fixed in 6.16.10

References 5

git.kernel.org