Bug 2281740 (CVE-2024-35870)

Summary: CVE-2024-35870 kernel: smb: client: fix UAF in smb2_reconnect_server()
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, rkeshri, 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 6.6.29, kernel 6.8.5, kernel 6.9 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the smb client in the Linux kernel. A potential use-after-free error was seen in the smb2_reconnect_server() function. This issue can lead to the crash of a client user session.
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: 2281741, 2308449    
Bug Blocks: 2281792    

Description ybuenos 2024-05-20 13:17:46 UTC
In the Linux kernel, the following vulnerability has been resolved:

smb: client: fix UAF in smb2_reconnect_server()

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024051940-CVE-2024-35870-3c02@gregkh/T

Comment 2 ybuenos 2024-05-20 13:18:38 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2281741]

Comment 4 Alex 2024-06-09 15:33:02 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2024-35870 is: CHECK	Maybe valid. Check manually. with impact MODERATE (that is approximation based on flags READ LOCK DISK INIT UAF LOG KERNEL_PANIC_PLUS_UAF SERVERTOCLIENT  ; these flags parsed automatically based on patche 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 5 errata-xmlrpc 2024-06-26 00:07:26 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 6 errata-xmlrpc 2024-06-26 00:40:16 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 7 errata-xmlrpc 2024-07-08 02:50:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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