[SRU][J][PATCH 0/1] CVE-2024-26680

Bethany Jamison bethany.jamison at canonical.com
Wed Jul 10 16:52:32 UTC 2024


[Impact]

net: atlantic: Fix DMA mapping for PTP hwts ring

Function aq_ring_hwts_rx_alloc() maps extra AQ_CFG_RXDS_DEF bytes
for PTP HWTS ring but then generic aq_ring_free() does not take this
into account.
Create and use a specific function to free HWTS ring to fix this
issue.

[Fix]

Noble:	not affected
Jammy:	Backport - ignored context conflict from neighboring line,
	shouldn't affect the fix
Focal:	not affected
Bionic:	not affected
Xenial:	not affected
Trusty:	not affected

[Test Case]

Compile and boot tested

[Where problems could occur]

This fix affects those who use the Aquantia atlantic driver, an 
issue with this fix would be visible to the user via unpredicted
system behavior.

Ivan Vecera (1):
  net: atlantic: Fix DMA mapping for PTP hwts ring

 drivers/net/ethernet/aquantia/atlantic/aq_ptp.c  |  4 ++--
 drivers/net/ethernet/aquantia/atlantic/aq_ring.c | 13 +++++++++++++
 drivers/net/ethernet/aquantia/atlantic/aq_ring.h |  1 +
 3 files changed, 16 insertions(+), 2 deletions(-)

-- 
2.34.1




More information about the kernel-team mailing list