octeontx2-pf: Fix potential use after free in otx2_tc_add_flow()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.155, 6.6.109, 6.12.50, 6.16.10
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- 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