PT-2026-167207
CVE-2026-143349
·
Publicado
2026-12-03
·
Atualizado
2026-12-03
Descrição por
Pontuação
N/A
Não disponívelNão há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5: macsec: free struct mlx5 fs id after an RCU grace period
macsec fs id del() removes a struct mlx5 fs id from its rhashtable with
rhashtable remove fast() and then frees it with kfree() right away.
The TX (SCI) table is read locklessly from the transmit path:
mlx5e macsec handle tx skb() and mlx5e macsec tx build eseg() call
mlx5 macsec fs get fs id from hashtable(), which does
rhashtable lookup() under rcu read lock() and then reads
mlx5 fs id->id. A transmit that looked the entry up just before it was
removed reads freed memory.
Before commit d4ece08f4b1d ("net/mlx5: Maintain fs id xarray per MACsec
device inside macsec steering") the SCI table held struct
mlx5e macsec sa directly, and mlx5e macsec del txsa() freed it with
kfree rcu mightsleep(). That commit moved the table into macsec fs.c
with the new struct mlx5 fs id, but frees it with a plain kfree().
Add an rcu head to struct mlx5 fs id and free it with kfree rcu().
The same issue was flagged by the Sashiko AI review as a pre-existing
problem while reviewing the HW-GRO for PSP series.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾