Skip to contentSkip to conversation

CVE-2022-48767: ceph: properly put ceph_string reference after async create attempt

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 20, 2024

lore
Share & tools
lore
#0 lore raw

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

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

ceph: properly put ceph_string reference after async create attempt

The reference acquired by try_prep_async_create is currently leaked. Ensure we put it.

The Linux kernel CVE team has assigned CVE-2022-48767 to this issue.

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

Issue introduced in 5.7 with commit 9a8d03ca2e2c and fixed in 5.10.96 with commit e7be12ca7d39 Issue introduced in 5.7 with commit 9a8d03ca2e2c and fixed in 5.15.19 with commit 36d433ae3242 Issue introduced in 5.7 with commit 9a8d03ca2e2c and fixed in 5.16.5 with commit a0c22e970cd7 Issue introduced in 5.7 with commit 9a8d03ca2e2c and fixed in 5.17 with commit 932a9b5870d3

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-2022-48767

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:
fs/ceph/file.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/e7be12ca7d3947765b0d7c1c7e0537e748da993a
	https://git.kernel.org/stable/c/36d433ae3242aa714176378850e6d1a5a3e78f18
	https://git.kernel.org/stable/c/a0c22e970cd78b81c94691e6cb09713e8074d580
	https://git.kernel.org/stable/c/932a9b5870d38b87ba0a9923c804b1af7d3605b9