CVE-2026-74738: regmap: sdw-mbq: don't call an unset readable_reg callback
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
regmap: sdw-mbq: don't call an unset readable_reg callback
regmap_sdw_mbq_poll_busy() decides whether to poll the Function Busy bit by calling ctx->readable_reg(), which is a straight copy of config->readable_reg. That callback is optional: regmap_readable() treats a NULL ->readable_reg as "every register is readable", and drivers rely on that. es9356 and tac5xx2-sdw both build an MBQ regmap without one.
Since commit ca1b11b36d82 ("regmap: sdw-mbq: Allow defers on undeferrable controls") the poll runs on every -ENODATA, not only for Controls the driver marked deferrable, so any of those devices answering COMMAND_IGNORED takes the kernel through a NULL function pointer.
Treat a missing callback the way the rest of regmap does and poll.
The Linux kernel CVE team has assigned CVE-2026-74738 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.14 with commit 5bc493bf0c37c157bf2eb364e55a1c6f8bc43a69 and fixed in 6.18.46 with commit 6cf600b276a55a6481462830607a611f32e737c0 Issue introduced in 6.14 with commit 5bc493bf0c37c157bf2eb364e55a1c6f8bc43a69 and fixed in 7.1.10 with commit 5bd8e897ecf558507142f4553e4526adfc1d6482 Issue introduced in 6.14 with commit 5bc493bf0c37c157bf2eb364e55a1c6f8bc43a69 and fixed in 7.2 with commit 00268f9452d2a0d660aa9c1bb0ca07a994af6a4f
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-74738
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/base/regmap/regmap-sdw-mbq.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/6cf600b276a55a6481462830607a611f32e737c0 https://git.kernel.org/stable/c/5bd8e897ecf558507142f4553e4526adfc1d6482 https://git.kernel.org/stable/c/00268f9452d2a0d660aa9c1bb0ca07a994af6a4f