Bug 1763869 (CVE-2019-15924)

Summary: CVE-2019-15924 kernel: null pointer dereference in drivers/net/ethernet/intel/fm10k/fm10k_main.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: acaringi, airlied, bdettelb, bhu, blc, brdeoliv, bskeggs, dhoward, dvlasenk, esammons, fhrbata, hdegoede, hkrzesin, iboverma, ichavero, itamar, jarodwilson, jeremy, jforbes, jlelli, john.j5live, jonathan, josef, jross, jshortt, jstancek, jwboyer, kernel-maint, kernel-mgr, lgoncalv, linville, masami256, mchehab, mcressma, mjg59, mlangsdo, nmurray, rt-maint, rvrbovsk, steved, williams
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 flaw was found in the way the fm10k driver in the Linux kernel reacted to memory-related errors during driver initialization. This flaw allows a local attacker to cause a denial of service and crash the system.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-25 09:55:29 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: 1763870, 1781387, 1820463, 1820464, 1820465, 1832214, 1832215    
Bug Blocks: 1763871    

Description Guilherme de Almeida Suckevicz 2019-10-21 19:21:22 UTC
An issue was discovered in the Linux kernel before 5.0.11. fm10k_init_module in drivers/net/ethernet/intel/fm10k/fm10k_main.c has a NULL pointer dereference because there is no -ENOMEM upon an alloc_workqueue failure.

Reference:
https://github.com/torvalds/linux/commit/01ca667133d019edc9f0a1f70a272447c84ec41f

Comment 1 Guilherme de Almeida Suckevicz 2019-10-21 19:21:41 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1763870]

Comment 2 Justin M. Forbes 2019-10-22 12:58:09 UTC
This was fixed for Fedora with the 5.0.11 stable kernel update.

Comment 3 Petr Matousek 2020-04-03 06:45:39 UTC
Statement:

This issue is rated as having Low impact because of the low memory conditions needed to trigger this issue.

Comment 4 Petr Matousek 2020-04-03 06:45:43 UTC
Mitigation:

To mitigate this issue, prevent module fm10k from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.