Bug 1776852 (CVE-2019-19076)

Summary: CVE-2019-19076 kernel: memory leak in the nfp_abm_u32_knode_replace() function in drivers/net/ethernet/netronome/nfp/abm/cls.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
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 Advanced buffer management NIC driver in the Linux kernel handled memory release on error handling. 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:14:00 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: 1776853, 1820479, 1820480    
Bug Blocks: 1776854    

Description Guilherme de Almeida Suckevicz 2019-11-26 13:48:14 UTC
A memory leak in the nfp_abm_u32_knode_replace() function in drivers/net/ethernet/netronome/nfp/abm/cls.c in the Linux kernel before 5.3.6 allows attackers to cause a denial of service (memory consumption), aka CID-78beef629fd9.

Reference and upstream commit:
https://github.com/torvalds/linux/commit/78beef629fd95be4ed853b2d37b832f766bd96ca

Comment 1 Guilherme de Almeida Suckevicz 2019-11-26 13:48:46 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1776853]

Comment 2 Justin M. Forbes 2019-11-26 14:19:50 UTC
This was fixed for Fedora in 5.3.6 stable kernel updates.

Comment 3 Petr Matousek 2020-04-03 07:51:05 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 07:51:09 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.