title: Copy_from_user Spectre-V1 Gadget in Linux Kernel
description: Copy_from_user on 64-bit versions of the Linux kernel does not implement the __uaccess_begin_nospec allowing a user to bypass the "access_ok" check and pass a kernel pointer to copy_from_user(). This would allow an attacker to leak information. We recommend upgrading beyond commit 74e19ef0ff8061ef55957c3abd71614ef0f42f47
problem types: CWE-763 Release of Invalid Pointer or Reference
affected:
{
defaultStatus: unaffected
packageName: kernel
platforms: 64 bit
product: Linux Kernel
repo: https://git.kernel.org
vendor: Linux
versions:
lessThanOrEqual: 74e19ef0ff8061ef55957c3abd71614ef0f42f47, status: affected, version: 4b842e4e25b12951fa10dedb4bc16bc47e3b850c, versionType: git
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: NONE
baseScore: 6.5
baseSeverity: MEDIUM
confidentialityImpact: HIGH
integrityImpact: NONE
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
version: 3.1
]
format: CVSS
scenarios: GENERAL