[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025123013-CVE-2022-50811-66f4@gregkh>
Date: Tue, 30 Dec 2025 13:09:15 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50811: erofs: fix missing unmap if z_erofs_get_extent_compressedlen() fails
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
erofs: fix missing unmap if z_erofs_get_extent_compressedlen() fails
Otherwise, meta buffers could be leaked.
The Linux kernel CVE team has assigned CVE-2022-50811 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.13 with commit cec6e93beadfd145758af2c0854fcc2abb8170cb and fixed in 6.0.16 with commit 091a8ca572a2e48554427feda78aa503e98c1028
Issue introduced in 5.13 with commit cec6e93beadfd145758af2c0854fcc2abb8170cb and fixed in 6.1.2 with commit 373b6f350aecf5dca2e7474f0b4ec8cca659f2f0
Issue introduced in 5.13 with commit cec6e93beadfd145758af2c0854fcc2abb8170cb and fixed in 6.2 with commit d5d188b8f8b38d3d71dd05993874b4fc9284ce95
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-50811
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/erofs/zmap.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/091a8ca572a2e48554427feda78aa503e98c1028
https://git.kernel.org/stable/c/373b6f350aecf5dca2e7474f0b4ec8cca659f2f0
https://git.kernel.org/stable/c/d5d188b8f8b38d3d71dd05993874b4fc9284ce95
Powered by blists - more mailing lists