CVE-2026-98024: s390/ism: folio_put() after error
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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.
The Linux kernel CVE team has assigned CVE-2026-98024 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.9 with commit 83781384a96b95e2b6403d3c8a002b2c89031770 and fixed in 6.12.111 with commit 890e2ef726904d1d8328e4b9f5090eeb8761b9d1 Issue introduced in 6.9 with commit 83781384a96b95e2b6403d3c8a002b2c89031770 and fixed in 6.18.53 with commit eebb6a9017b55ac05be770cf7b89f9da49505ae7 Issue introduced in 6.9 with commit 83781384a96b95e2b6403d3c8a002b2c89031770 and fixed in 7.2.7 with commit 60983356fab0c1171c5cb1b56a36349ebadc608e Issue introduced in 6.9 with commit 83781384a96b95e2b6403d3c8a002b2c89031770 and fixed in 7.3-rc3 with commit 907a56ab3eb8a58500a58daa76087f17bb2b6826 Issue introduced in 6.6.29 with commit 121fb75414ab8debafd548bded9d888cd5a8f165 Issue introduced in 6.8.8 with commit f3e23edc4917f72139b805f208aeadf23376a0b5
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-98024
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/s390/net/ism_drv.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/890e2ef726904d1d8328e4b9f5090eeb8761b9d1 https://git.kernel.org/stable/c/eebb6a9017b55ac05be770cf7b89f9da49505ae7 https://git.kernel.org/stable/c/60983356fab0c1171c5cb1b56a36349ebadc608e https://git.kernel.org/stable/c/907a56ab3eb8a58500a58daa76087f17bb2b6826