Bug 1776375 (CVE-2019-19081)

Summary: CVE-2019-19081 kernel: memory leak in the nfp_flower_spawn_vnic_reprs() function in drivers/net/ethernet/netronome/nfp/flower/main.c leads to DoS
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, qzhao, rt-maint, rvrbovsk, steved, williams, yozone
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 NFP4000/NFP6000 TC Flower offload functionality in the Linux kernel handled memory cleanup on failures. This flaw allows an attacker to cause a denial of service and crash the system.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-25 22:13: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: 1776376, 1820487, 1820488, 1820489, 1820490    
Bug Blocks: 1776377    

Description Guilherme de Almeida Suckevicz 2019-11-25 14:44:24 UTC
A memory leak in the nfp_flower_spawn_vnic_reprs() function in drivers/net/ethernet/netronome/nfp/flower/main.c in the Linux kernel before 5.3.4 allows attackers to cause a denial of service (memory consumption), aka CID-8ce39eb5a67a.

Reference and upstream commit:
https://github.com/torvalds/linux/commit/8ce39eb5a67aee25d9f05b40b673c95b23502e3e

Comment 1 Guilherme de Almeida Suckevicz 2019-11-25 14:45:28 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1776376]

Comment 2 Justin M. Forbes 2019-11-25 15:57:03 UTC
This was fixed for Fedora with the 5.3.4 stable kernel updates.

Comment 4 Petr Matousek 2020-04-03 08:02:54 UTC
Statement:

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

Comment 5 Petr Matousek 2020-04-03 08:02:58 UTC
Mitigation:

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