Bug 2281647 (CVE-2024-35907)

Summary: CVE-2024-35907 kernel: mlxbf_gige: call request_irq() after NAPI initialized
Product: [Other] Security Response Reporter: ybuenos
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, allarkin, aquini, bhu, chwhite, cye, cyin, dbohanno, debarbos, dfreiber, drow, dvlasenk, esandeen, ezulian, hkrzesin, jarod, jburrell, jdenham, jfaracco, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, kcarcia, ldoskova, lgoncalv, lzampier, mleitner, mmilgram, mstowell, nmurray, ptalbert, rparrazo, rrobaina, rvrbovsk, rysulliv, scweaver, sidakwo, sukulkar, tglozar, tyberry, vkumar, wcosta, williams, wmealing, ycote, ykopkova, zhijwang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 5.15.154, kernel 6.1.85, kernel 6.6.26, kernel 6.8.5, kernel 6.9 Doc Type: If docs needed, set a value
Doc Text:
CVE-2024-35907 is a vulnerability in the Linux kernel's mlxbf_gige driver, which supports Mellanox BlueField devices. The issue occurs during kdump operations when a receive (RX) interrupt is triggered before the driver fully initializes. This leads to a race condition that can result in a NULL pointer dereference, causing the system to crash. A pending RX interrupt before the driver requests the IRQ can lead to an improper sequence of operations, resulting in the crash. This flaw affects system stability during kdump operations, potentially causing kernel panics.
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: 2281648    
Bug Blocks: 2281743    

Description ybuenos 2024-05-20 10:37:15 UTC
In the Linux kernel, the following vulnerability has been resolved:

mlxbf_gige: call request_irq() after NAPI initialized

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024051954-CVE-2024-35907-32f9@gregkh/T

Comment 1 ybuenos 2024-05-20 10:37:56 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2281648]

Comment 5 Alex 2024-06-09 16:11:03 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2024-35907 is: CHECK	Maybe valid. Check manually. with impact MODERATE (that is an approximation based on flags REMOTE DANGER NULLPTR INIT NETWORK  ; these flags parsed automatically based on patch data). Such automatic check happens only for Low/Moderates (and only when not from reporter, but parsing already existing CVE). Highs always checked manually (I check it myself and then we check it again in Remediation team). In rare cases some of the Moderates could be increased to High later.

Comment 16 errata-xmlrpc 2024-07-31 00:40:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 17 errata-xmlrpc 2024-08-14 00:16:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

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

Comment 18 errata-xmlrpc 2024-08-14 00:37:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

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