Bug 2266364 (CVE-2023-52472)

Summary: CVE-2023-52472 kernel: null pointer derefrence in mpi_alloc
Product: [Other] Security Response Reporter: Rohit Keshri <rkeshri>
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, scweaver, sukulkar, tglozar, vkumar, wcosta, williams, wmealing, ycote, ykopkova, zhijwang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A null pointer dereference flaw was found in mpi_alloc in the crypto rsa subcomponent in the Linux kernel.
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: 2266366    
Bug Blocks: 2266208    

Description Rohit Keshri 2024-02-27 17:14:50 UTC
In the Linux kernel, the following vulnerability has been resolved:

crypto: rsa - add a check for allocation failure

Static checkers insist that the mpi_alloc() allocation can fail so add
a check to prevent a NULL dereference.  Small allocations like this
can't actually fail in current kernels, but adding a check is very
simple and makes the static checkers happy.

https://git.kernel.org/stable/c/2831f4d3bfa68e64c5f83e96688be779c87b3511
https://git.kernel.org/stable/c/95ad8b6879e2e49d02e3bfc0e1fb46421633fe2a
https://git.kernel.org/stable/c/d872ca165cb67112f2841ef9c37d51ef7e63d1e4

Comment 1 Rohit Keshri 2024-02-27 17:17:07 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2266366]

Comment 3 Justin M. Forbes 2024-02-27 18:33:41 UTC
This was fixed for Fedora with the 6.6.14 stable kernel updates.