Skip to contentSkip to conversation

CVE-2023-53350: accel/qaic: Fix slicing memory leak

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17, 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:

accel/qaic: Fix slicing memory leak

The temporary buffer storing slicing configuration data from user is only freed on error. This is a memory leak. Free the buffer unconditionally.

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

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

	Issue introduced in 6.4 with commit ff13be8303336ead5621712f2c55012d738878b5 and fixed in 6.4.12 with commit df45c3e46cdb41f486eecb4277fbcc4c1ffbf9be
	Issue introduced in 6.4 with commit ff13be8303336ead5621712f2c55012d738878b5 and fixed in 6.5 with commit 2d956177b7c96e62fac762a3b7da4318cde27a73

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-53350

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/accel/qaic/qaic_data.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/df45c3e46cdb41f486eecb4277fbcc4c1ffbf9be
	https://git.kernel.org/stable/c/2d956177b7c96e62fac762a3b7da4318cde27a73