Bug 2169191

Summary: kernel: alauda_init_media in drivers/usb/storage/alauda.c lacks check of the return value of kcalloc() and will cause the NULL Pointer Dereference
Product: [Other] Security Response Reporter: Alex <allarkin>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: acaringi, bhu, chwhite, ddepaula, debarbos, dfreiber, dvlasenk, ezulian, fhrbata, hkrzesin, jarod, jburrell, jfaracco, jferlan, jforbes, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, kcarcia, kernel-mgr, lgoncalv, lleshchi, lzampier, nmurray, ptalbert, qzhao, rogbas, rvrbovsk, scweaver, swood, tyberry, vkumar, walters, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Linux kernel 6.1-rc8 Doc Type: If docs needed, set a value
Doc Text:
A null pointer dereference in the Linux kernel Olympus MAUSB-10 and Fujifilm DPC-R1 USB Card reader/writer devices driver was found in the way user insert device when both out of memory happens. A local user could use this flaw to crash the system.
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: 2169192, 2169193, 2169194, 2169195, 2169196    
Bug Blocks: 2167953    

Description Alex 2023-02-12 16:41:24 UTC
An issue was discovered in the Linux kernel through 6.1-rc8.
alauda_init_media in drivers/usb/storage/alauda.c
lacks check of the return value of kcalloc() and will cause the
NULL Pointer Dereference.

Reference:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c35ca10f53c51eeb610d3f8fbc6dd6d511b58a58

Comment 1 Alex 2023-02-12 16:41:51 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2169192]

Comment 4 Justin M. Forbes 2023-03-01 19:24:47 UTC
This was fixed for Fedora with the 6.0.16 stable kernel updates.