s390/ism: folio_put() after error
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
f3e23edc4917f72139b805f208aeadf23376a0b5| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
s390/ism: folio_put() after error
dmb->cpu_addr was allocated via folio_alloc(). Use folio_put() instead of kfree() in the error exit of ism_alloc_dmb() to avoid slab allocator corruption.
While at it, reset dmb->cpu_addr after folio_put to avoid unintentional UAF by future callers.
From the CVE record · Linux
The Linux kernel’s s390/ism component used kfree() on memory allocated by folio_alloc() in the ism_alloc_dmb() error path, risking slab allocator corruption. The fix also clears the pointer after release to prevent possible use-after-free by future callers. The input does not establish how an attacker could trigger the error path or whether authentication or user interaction is required.
Engineers running Linux kernels with the s390/ism component should check their kernel versions; affected versions are not specified.