[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025123014-CVE-2022-50815-6923@gregkh>
Date: Tue, 30 Dec 2025 13:09:19 +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-50815: ext2: Add sanity checks for group and filesystem size
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ext2: Add sanity checks for group and filesystem size
Add sanity check that filesystem size does not exceed the underlying
device size and that group size is big enough so that metadata can fit
into it. This avoid trying to mount some crafted filesystems with
extremely large group counts.
The Linux kernel CVE team has assigned CVE-2022-50815 to this issue.
Affected and fixed versions
===========================
Fixed in 5.19.17 with commit 40ff52527daec00cf1530c17a95636916ddd3b38
Fixed in 6.0.3 with commit 321440079763998076b75e0c802524e2218a7d97
Fixed in 6.1 with commit d766f2d1e3e3bd44024a7f971ffcf8b8fbb7c5d2
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-50815
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/ext2/super.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/40ff52527daec00cf1530c17a95636916ddd3b38
https://git.kernel.org/stable/c/321440079763998076b75e0c802524e2218a7d97
https://git.kernel.org/stable/c/d766f2d1e3e3bd44024a7f971ffcf8b8fbb7c5d2
Powered by blists - more mailing lists