mbox series

[SRU,J,0/1] CVE-2023-52532

Message ID 20241004124432.36810-1-massimiliano.pellizzer@canonical.com
Headers show
Series CVE-2023-52532 | expand

Message

Massimiliano Pellizzer Oct. 4, 2024, 12:44 p.m. UTC
[Impact]

net: mana: Fix TX CQE error handling

For an unknown TX CQE error type (probably from a newer hardware),
still free the SKB, update the queue tail, etc., otherwise the
accounting will be wrong.

Also, TX errors can be triggered by injecting corrupted packets, so
replace the WARN_ONCE to ratelimited error logging.

[Fix]

Noble:  Not affected
Jammy:  Cherry picked from linux-6.1.y
Focal:  Not affected
Bionic: Not affected
Xenial: Not affected

[Test Case]

Compile tested only.

[Where problems could occur]

The fix affects the MANA network driver. A bug in the patch could result
in trasmission failures or network interface instability, potentially
affecting network performance and leading to disrupted connectivity or
complete loss of network services for users relying on the Azure network
adapter.

Haiyang Zhang (1):
  net: mana: Fix TX CQE error handling

 drivers/net/ethernet/microsoft/mana/mana_en.c | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)