Bug 2272780 (CVE-2024-26659)

Summary: CVE-2024-26659 kernel: xhci: handle isoc Babble and Buffer Overrun events properly
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: acaringi, allarkin, aquini, bhu, chwhite, cye, cyin, dbohanno, debarbos, dfreiber, drow, dvlasenk, esandeen, ezulian, hkrzesin, jarod, jburrell, jdenham, jfaracco, jforbes, 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.10.213, kernel 5.15.152, kernel 6.1.82, kernel 6.6.17, kernel 6.7.5, kernel 6.8 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel related to the Extensible Host Controller Interface (xHCI) subsystem, specifically how it handles certain events. The issue arises when the xHCI driver improperly handles isochronous (isoc) Babble and Buffer Overrun events. The vulnerability occurs because the xHCI driver incorrectly assumes that the xHC (host controller) has released its ownership of a multi-TRB (Transfer Request Block) TD (Transfer Descriptor) after reporting an error on an early TRB. This assumption leads to the premature release of the TD, allowing remaining TRBs to be freed or overwritten, which can cause system instability or crashes.
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: 2272781    
Bug Blocks: 2272924    

Description Mauro Matteo Cascella 2024-04-02 23:03:46 UTC
In the Linux kernel, the following vulnerability has been resolved:

xhci: handle isoc Babble and Buffer Overrun events properly

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024040222-CVE-2024-26659-e4f6@gregkh/T

Comment 1 Mauro Matteo Cascella 2024-04-02 23:04:19 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2272781]

Comment 5 Justin M. Forbes 2024-04-03 16:54:19 UTC
This was fixed for Fedora with the 6.7.5 stable kernel updates.

Comment 6 errata-xmlrpc 2024-06-05 00:31:43 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 7 errata-xmlrpc 2024-06-05 10:04:52 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 8 Alex 2024-06-09 16:29:30 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2024-26659 is: CHECK	Maybe valid. Check manually. with impact LOW (that is an approximation based on flags WRITE USB DMAorINTERRUPT  ; 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.