CVE-2026-92484: cxl/region: Fix use-after-free in find_pos_and_ways() error path
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
cxl/region: Fix use-after-free in find_pos_and_ways() error path
The error path releases its reference to a switch decoder before logging an error that includes the decoder name. If the released reference is the last one, the decoder can be freed before the error message accesses its name.
Drop the reference after the error is reported.
The Linux kernel CVE team has assigned CVE-2026-92484 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.6.96 with commit 9d90ab45d3d393532b7fa62d6a6b7ebbde9cf5fc and fixed in 6.6.157 with commit 68edf359b0b45cad2654510c1ca257079b241aa5 Issue introduced in 6.12.36 with commit b3dc5c735a754142831f705068fcfa77551724ff and fixed in 6.12.110 with commit b38ca9ce8c7d9b8151bb9e4770404c5e39600a48 Issue introduced in 6.16 with commit d90acdf49e18029cfe4194475c45ef143657737a and fixed in 6.18.52 with commit f54b96e8aadbfc7f2a1b26df349ef9b062c47d2e Issue introduced in 6.16 with commit d90acdf49e18029cfe4194475c45ef143657737a and fixed in 7.2.6 with commit 8f7683ce37a53eeabd721941517341d2eef2cf3c Issue introduced in 6.16 with commit d90acdf49e18029cfe4194475c45ef143657737a and fixed in 7.3-rc1 with commit 15da704b732332cc1e8f121f624e5e6c05124c5d Issue introduced in 6.15.5 with commit 8ad454d3050a40fd616d481e48d1aebb27d9951e
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-92484
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/cxl/core/region.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/68edf359b0b45cad2654510c1ca257079b241aa5 https://git.kernel.org/stable/c/b38ca9ce8c7d9b8151bb9e4770404c5e39600a48 https://git.kernel.org/stable/c/f54b96e8aadbfc7f2a1b26df349ef9b062c47d2e https://git.kernel.org/stable/c/8f7683ce37a53eeabd721941517341d2eef2cf3c https://git.kernel.org/stable/c/15da704b732332cc1e8f121f624e5e6c05124c5d