Bug 1445338 (CVE-2017-8065)

Summary: CVE-2017-8065 kernel: crypto/ccm.c interacts incorrectly with the CONFIG_VMAP_STACK option
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aquini, bhu, dhoward, fhrbata, gansalmon, hwkernel-mgr, iboverma, ichavero, itamar, jforbes, jkacur, jonathan, jross, jwboyer, kernel-maint, kernel-mgr, labbott, lgoncalv, madhu.chinakonda, matt, mchehab, mcressma, nmurray, pholasek, plougher, rt-maint, rvrbovsk, 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:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:11:22 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: 1445344    
Bug Blocks:    

Description Adam Mariš 2017-04-25 13:47:38 UTC
crypto/ccm.c in the Linux kernel 4.9.x and 4.10.x through 4.10.12
interacts incorrectly with the CONFIG_VMAP_STACK option, which allows
local users to cause a denial of service (system crash or memory
corruption) or possibly have unspecified other impact by leveraging
use of more than one virtual page for a DMA scatterlist.

Upstream patch:

https://github.com/torvalds/linux/commit/3b30460c5b0ed762be75a004e924ec3f8711e032

Comment 1 Adam Mariš 2017-04-25 13:54:39 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1445344]

Comment 2 Justin M. Forbes 2017-04-27 14:06:24 UTC
The commit that this patch fixes was not until 4.11-rc1, 4.9 and 4.10 both have idata/odata as part of pctx.  This bug never shipped in a released kernel, it was introduced in the 4.11 merge window and resolved in the merge window.