Skip to contentSkip to conversation

CVE-2023-53724: mfd: pcf50633-adc: Fix potential memleak in pcf50633_adc_async_read()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 22, 2025

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

mfd: pcf50633-adc: Fix potential memleak in pcf50633_adc_async_read()

req is allocated in pcf50633_adc_async_read(), but adc_enqueue_request() could fail to insert the req into queue. We need to check the return value and free it in the case of failure.

The Linux kernel CVE team has assigned CVE-2023-53724 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 2.6.29 with commit 08c3e06a5eb27d43b712adef18379f8464425e71 and fixed in 4.14.308 with commit 66616eed76dfa6f3e442907760325a023c6da7e2
	Issue introduced in 2.6.29 with commit 08c3e06a5eb27d43b712adef18379f8464425e71 and fixed in 4.19.276 with commit 41cdf082ae006ea002135dfaf43b2897de3bded8
	Issue introduced in 2.6.29 with commit 08c3e06a5eb27d43b712adef18379f8464425e71 and fixed in 5.4.235 with commit 588edb4fb1f1e6487a0f60a5f7b9a24d2d0c9f8e
	Issue introduced in 2.6.29 with commit 08c3e06a5eb27d43b712adef18379f8464425e71 and fixed in 5.10.173 with commit 3ee13bdf0d25ae8752ae6185b6d13bbb0d5a8e30
	Issue introduced in 2.6.29 with commit 08c3e06a5eb27d43b712adef18379f8464425e71 and fixed in 5.15.99 with commit 6a8a02dcfae13ab07dc7bed2b409cec7f3d32e92
	Issue introduced in 2.6.29 with commit 08c3e06a5eb27d43b712adef18379f8464425e71 and fixed in 6.1.16 with commit 9cca3a4933ca365cc664d5eefb0f942374ea8b41
	Issue introduced in 2.6.29 with commit 08c3e06a5eb27d43b712adef18379f8464425e71 and fixed in 6.2.3 with commit a62a5e79202967176a9c1a04e477860779accd6c
	Issue introduced in 2.6.29 with commit 08c3e06a5eb27d43b712adef18379f8464425e71 and fixed in 6.3 with commit 8b450dcff23aa254844492831a8e2b508a9d522d

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-2023-53724

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/mfd/pcf50633-adc.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/66616eed76dfa6f3e442907760325a023c6da7e2
	https://git.kernel.org/stable/c/41cdf082ae006ea002135dfaf43b2897de3bded8
	https://git.kernel.org/stable/c/588edb4fb1f1e6487a0f60a5f7b9a24d2d0c9f8e
	https://git.kernel.org/stable/c/3ee13bdf0d25ae8752ae6185b6d13bbb0d5a8e30
	https://git.kernel.org/stable/c/6a8a02dcfae13ab07dc7bed2b409cec7f3d32e92
	https://git.kernel.org/stable/c/9cca3a4933ca365cc664d5eefb0f942374ea8b41
	https://git.kernel.org/stable/c/a62a5e79202967176a9c1a04e477860779accd6c
	https://git.kernel.org/stable/c/8b450dcff23aa254844492831a8e2b508a9d522d