CVE Vulnerabilities

CVE-2022-3108

Unchecked Return Value

Published: Dec 14, 2022 | Modified: Dec 16, 2022
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

An issue was discovered in the Linux kernel through 5.16-rc6. kfd_parse_subtype_iolink in drivers/gpu/drm/amd/amdkfd/kfd_crat.c lacks check of the return value of kmemdup().

Weakness

The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions.

Affected Software

Name Vendor Start Version End Version
Linux_kernel Linux * 5.16.0 (excluding)
Linux_kernel Linux 5.16.0 (including) 5.16.0 (including)
Linux_kernel Linux 5.16.0-rc1 (including) 5.16.0-rc1 (including)
Linux_kernel Linux 5.16.0-rc2 (including) 5.16.0-rc2 (including)
Linux_kernel Linux 5.16.0-rc3 (including) 5.16.0-rc3 (including)
Linux_kernel Linux 5.16.0-rc4 (including) 5.16.0-rc4 (including)
Linux_kernel Linux 5.16.0-rc5 (including) 5.16.0-rc5 (including)
Linux_kernel Linux 5.16.0-rc6 (including) 5.16.0-rc6 (including)

Potential Mitigations

References