CVE-2022-49055

Source
https://cve.org/CVERecord?id=CVE-2022-49055
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49055.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49055
Downstream
Related
Published
2025-02-26T01:54:27.771Z
Modified
2026-07-07T08:40:28.584833014Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
drm/amdkfd: Check for potential null return of kmalloc_array()
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/amdkfd: Check for potential null return of kmalloc_array()

As the kmallocarray() may return null, the 'eventwaiters[i].wait' would lead to null-pointer dereference. Therefore, it is better to check the return value of kmalloc_array() to avoid this confusion.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49055.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f3a398183f7b9ef78f6b71ee9f7641e046403bcb
Fixed
32cf90a521dcc0f136db7ee5ba32bfe5f79e460e
Fixed
40bf32dbfef866c83a3e74800b81d79e52b6d20b
Fixed
94869bb0de69a812f70231b0eb480bb2f7ae73a6
Fixed
c7a268b33882d5feaafd29c1734456f41ba41396
Fixed
1d7a5aae884ca727d41c7ed15d4c82fdb67c040c
Fixed
f2658d5966bcee8c3eb487875f459756d4f7cdfc
Fixed
0a692c625e373fef692ffbc7fc41f8a025f01cb7
Fixed
ebbb7bb9e80305820dc2328a371c1b35679f2667

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49055.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.2.0
Fixed
4.9.311
Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
4.14.276
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.239
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.190
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.112
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.35
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.17.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49055.json"