Bug 2169480

Summary: kernel: ice_gnss_create_tty_driver in drivers/net/ethernet/intel/ice/ice_gnss.c lacks check of the return value of kzalloc() and will cause the NULL Pointer Dereference.
Product: [Other] Security Response Reporter: Alex <allarkin>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: acaringi, bhu, ddepaula, dhoward, dvlasenk, fhrbata, hkrzesin, jarod, jfaracco, jferlan, jforbes, joe.lawrence, jshortt, jstancek, kcarcia, kernel-mgr, lzampier, nmurray, ptalbert, rvrbovsk, scweaver, walters
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 Intel Ethernet Connection E800 Series of devices driver was found. A local user could use this flaw to crash the system.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-15 05:13:02 UTC 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: 2169481    
Bug Blocks: 2167953    

Description Alex 2023-02-13 17:27:53 UTC
An issue was discovered in the Linux kernel through 6.1-rc8.
ice_gnss_create_tty_driver in drivers/net/ethernet/intel/ice/ice_gnss.c
lacks check of the return value of kzalloc() and will cause the
NULL Pointer Dereference.

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

Comment 1 Alex 2023-02-13 17:28:15 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2169481]

Comment 3 Justin M. Forbes 2023-03-01 19:31:52 UTC
This was fixed for Fedora with the 6.1.7 stable kernel updates.