Bug 2266822 (CVE-2021-46960)

Summary: CVE-2021-46960 kernel: cifs: Return correct error code from smb2_get_enc_key
Product: [Other] Security Response Reporter: Avinash Hanwate <ahanwate>
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, 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 4.14.233, kernel 4.19.191, kernel 5.4.118, kernel 5.10.36, kernel 5.11.20, kernel 5.12.3, kernel 5.13 Doc Type: If docs needed, set a value
Doc Text:
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: 2266823    
Bug Blocks: 2266839    

Description Avinash Hanwate 2024-02-29 06:53:47 UTC
In the Linux kernel, the following vulnerability has been resolved:

cifs: Return correct error code from smb2_get_enc_key

The Linux kernel CVE team has assigned CVE-2021-46960 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024022718-CVE-2021-46960-f5ac@gregkh/T/#u

Comment 1 Avinash Hanwate 2024-02-29 06:54:29 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2266823]

Comment 4 Justin M. Forbes 2024-03-01 22:29:13 UTC
This was fixed for Fedora with the 5.11.20 stable kernel updates.

Comment 5 Alex 2024-06-09 15:28:40 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2021-46960 is: CHECK	Maybe valid. Check manually. with impact MODERATE (that is approximation based on flags REMOTE DISK UAF  ; 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 7 errata-xmlrpc 2025-03-05 00:26:37 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-2025:2265 https://access.redhat.com/errata/RHSA-2025:2265