Bug 2281925 (CVE-2024-35958)

Summary: CVE-2024-35958 kernel: net: ena: Fix incorrect descriptor free behavior
Product: [Other] Security Response Reporter: Robb Gatica <rgatica>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, allarkin, aquini, bhu, chwhite, dbohanno, debarbos, dfreiber, drow, dvlasenk, esandeen, ezulian, hkrzesin, jarod, jburrell, jfaracco, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, ldoskova, lgoncalv, mleitner, mmilgram, mstowell, nmurray, ptalbert, rparrazo, rrobaina, rvrbovsk, scweaver, sidakwo, sukulkar, tglozar, vkumar, wcosta, williams, wmealing, ycote, ykopkova
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 5.10.216, kernel 5.15.156, kernel 6.1.87, kernel 6.6.28, kernel 6.8.7, kernel 6.9 Doc Type: If docs needed, set a value
Doc Text:
This is a vulnerability in the Linux kernel's Elastic Network Adapter (ENA) driver, which manages network interfaces on certain platforms. The driver utilizes two types of transmit (TX) queues: one for packets from the network stack and another for packets directed by XDP (eXpress Data Path) operations. The function ena_free_tx_bufs() is responsible for unmapping and freeing descriptors of uncompleted TX transactions. However, it incorrectly assumes that all TX queues handle packets from the network stack, leading to improper handling of descriptors in XDP-specific queues. This mismanagement can result in descriptors not being freed correctly, potentially causing system crashes, especially during a Virtual Function (VF) reset. The issue has been resolved by updating the driver to correctly differentiate between the two types of TX queues, ensuring proper descriptor management. Users are advised to update their Linux kernel to a version that includes this fix to maintain system stability.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2281926    
Bug Blocks: 2282032    

Description Robb Gatica 2024-05-20 17:08:08 UTC
In the Linux kernel, the following vulnerability has been resolved:

net: ena: Fix incorrect descriptor free behavior

The Linux kernel CVE team has assigned CVE-2024-35958 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024052019-CVE-2024-35958-18a7@gregkh/T

Comment 1 Robb Gatica 2024-05-20 17:08:41 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2281926]

Comment 9 errata-xmlrpc 2024-06-26 00:07:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:4106 https://access.redhat.com/errata/RHSA-2024:4106

Comment 10 errata-xmlrpc 2024-06-26 00:41:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:4108 https://access.redhat.com/errata/RHSA-2024:4108

Comment 11 errata-xmlrpc 2024-07-02 08:56:35 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:4211 https://access.redhat.com/errata/RHSA-2024:4211

Comment 12 errata-xmlrpc 2024-07-08 02:03:26 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:4352 https://access.redhat.com/errata/RHSA-2024:4352

Comment 13 errata-xmlrpc 2024-07-10 00:13:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service

Via RHSA-2024:4447 https://access.redhat.com/errata/RHSA-2024:4447

Comment 15 errata-xmlrpc 2024-07-17 00:48:22 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:4583 https://access.redhat.com/errata/RHSA-2024:4583

Comment 16 errata-xmlrpc 2024-07-23 15:26:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Extended Update Support

Via RHSA-2024:4740 https://access.redhat.com/errata/RHSA-2024:4740