NTB: ntb_transport: Fail TX enqueue when the QP link is down
3Vexday Risk Score
Sin señal de explotación. Ningún artefacto público de explotación conocido hasta ahora.
ssvc Trackepss 0.2%
probabilidad de explotación
0.2%top 93% de las CVE
explotación observada
noninguna fuente lo reporta
In the Linux kernel, the following vulnerability has been resolved:
NTB: ntb_transport: Fail TX enqueue when the QP link is down
Commit f195a1a6fe41 ("ntb: Drop packets when qp link is down") meant to
make ntb_transport_tx_enqueue() drop packets submitted while the QP link
is down, but it only returns 0 without consuming the packet. Zero means
success by this function's contract, so ntb_netdev reports NETDEV_TX_OK
and forgets the skb: nothing queued it, nothing frees it, and it leaks,
one skb for every transmit racing a link-down.
Return -ENOLINK instead, restoring the contract that a non-zero return
leaves the buffer owned by the caller. With the preceding patch,
ntb_netdev frees the skb on non-retryable enqueue failures and returns
NETDEV_TX_OK, so a packet racing with link-down is dropped without leaking
or entering a busy retry loop.
Productos afectados
Linux · LinuxReferencias
https://git.kernel.org/stable/c/45cc11035165918dd1f81796ea98f81ece20d361https://git.kernel.org/stable/c/5eca0d899a3be661a7e2caaaa7467a6fa15d756chttps://git.kernel.org/stable/c/76c9ccc0c6bebfc74c0e727eda67687f5103ab06https://git.kernel.org/stable/c/873ce713fef5dde0939220f04f3484ec86a16fbahttps://git.kernel.org/stable/c/89177732fe1653bbfef10cf5d99bf20cf57762c2https://git.kernel.org/stable/c/894e136b432da75c0352c80299807a5c4b04f167https://git.kernel.org/stable/c/96d792c65b9d5f7f9dd86a1004315db59e450c07https://git.kernel.org/stable/c/e6cc541fab01099fd8efadfa4f13afdf118bf536