Bug 1338756 (CVE-2016-4580)

Summary: CVE-2016-4580 kernel: Information leak in x25 module
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: agordeev, aquini, arm-mgr, bhu, dhoward, esammons, fhrbata, gansalmon, iboverma, itamar, jforbes, jkacur, joelsmith, jonathan, jross, jwboyer, kernel-maint, kernel-mgr, kstutsma, lgoncalv, lwang, madhu.chinakonda, matt, mchehab, mcressma, mguzik, nmurray, pholasek, plougher, rt-maint, rvrbovsk, slawomir, vdronov, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
A vulnerability was found in the Linux kernel. There is an information leak in the x25 module (net/x25/x25_facilities.c). Stack object "dte_facilities" is allocated in x25_rx_call_request(), which is supposed to be initialized in x25_negotiate_facilities(). However, 5 fields (8 bytes in total) are not initialized. This object is then copied to userland via copy_to_user(), thus info leak occurs.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-07 09:29:11 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: 1338757    
Bug Blocks: 1332934    

Description Andrej Nemec 2016-05-23 11:52:23 UTC
A vulnerability was found in the Linux kernel. There is an information leak in the x25 module (net/x25/x25_facilities.c). Stack object "dte_facilities" is allocated in x25_rx_call_request(), which is supposed to be initialized in x25_negotiate_facilities. However, 5 fields (8 bytes in total) are not initialized. This object is then copied to userland via copy_to_user, thus info leak occurs.

References:

http://www.openwall.com/lists/oss-security/2016/05/10/12

https://lkml.org/lkml/2016/5/8/59

CVE-ID request:

http://seclists.org/oss-sec/2016/q2/308

Upstream patch:

https://github.com/torvalds/linux/commit/79e48650320e6fba48369fccf13fd045315b19b8

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=79e48650320e6fba48369fccf13fd045315b19b8

Comment 1 Andrej Nemec 2016-05-23 11:53:07 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1338757]

Comment 3 Vladis Dronov 2016-06-07 09:29:11 UTC
Statement:

This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 5, 6, 7 and MRG-2. This has been rated as having Low security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.