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

CVE-2025-39978
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.15 % · centile 4 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 68fbff68dbea35f9e6f7649dd22fce492a5aedac < 5723120423a753a220b8b2954b273838b9d7e74a ; affected 68fbff68dbea35f9e6f7649dd22fce492a5aedac < df2c071061ed52d2225d97b212d27ecedf456b8a ; affected 68fbff68dbea35f9e6f7649dd22fce492a5aedac < c41b2941a024d4ec7c768e16ffb10a74b188fced ; affected 68fbff68dbea35f9e6f7649dd22fce492a5aedac < a8a63f27c3a8a3714210d32b12fd0f16d0337414 ; affected 68fbff68dbea35f9e6f7649dd22fce492a5aedac < d9c70e93ec5988ab07ad2a92d9f9d12867f02c56
Linux · Linuxaffected 5.14 ; unaffected 0 < 5.14 ; unaffected 6.1.155 ≤ 6.1.* ; unaffected 6.6.109 ≤ 6.6.* ; unaffected 6.12.50 ≤ 6.12.* ; unaffected 6.16.10 ≤ 6.16.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD