s390/sclp: Add check for get_zeroed_page()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 4c8f4794b61e89dd68f96cfc23a9d9b6c25be420 · < 3db42c75a921854a99db0a2775814fef97415bac| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
s390/sclp: Add check for get_zeroed_page()
Add check for the return value of get_zeroed_page() in sclp_console_init() to prevent null pointer dereference. Furthermore, to solve the memory leak caused by the loop allocation, add a free helper to do the free job.
From the CVE record · Linux
The Linux kernel’s s390/sclp console initialization did not check whether get_zeroed_page() succeeded, which could lead to a null pointer dereference. The description also identifies a memory leak from loop allocation. It does not specify an attacker path, authentication requirements, or user interaction.
Engineers running Linux kernels with the s390/sclp component should check whether their kernel is affected; affected versions are not specified.