Bug 2281897 (CVE-2024-35970)

Summary: CVE-2024-35970 kernel: af_unix: Clear stale u->oob_skb.
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, 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.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:
A vulnerability was found in the Linux kernel's Unix domain socket (af_unix) implementation, where stale Out-of-Band (OOB) data is not cleared from the receive queue. This issue arises when OOB data is dequeued but the associated `oob_skb` is not cleared, leading to incorrect behavior in subsequent `recv()` calls. It can cause deadlocks, improper data handling, and incorrect socket polling.
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: 2281898    
Bug Blocks: 2282028    

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

af_unix: Clear stale u-&gt;oob_skb.

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024052023-CVE-2024-35970-2b77@gregkh/T

Comment 1 Robb Gatica 2024-05-20 16:36:55 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2281898]

Comment 2 Alex 2024-06-09 16:05:31 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2024-35970 is: CHECK	Maybe valid. Check manually. with impact MODERATE (that is an approximation based on flags REMOTE OOB DEADLOCK LEAK SKB IMPROVEONLY  ; 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.