In the Linux kernel, the following vulnerability has been resolved:
ext4: avoid resizing to a partial cluster size
This patch avoids an attempt to resize the filesystem to an unaligned cluster boundary. An online resize to a size that is not integral to cluster size results in the last iteration attempting to grow the fs by a negative amount, which trips a BUG_ON and leaves the fs with a corrupted in-memory superblock.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/ee626f5d79d5817bb21d6f048dc0da4c4e383443/cves/2022/50xxx/CVE-2022-50020.json",
"cna_assigner": "Linux"
}[
{
"signature_type": "Function",
"target": {
"function": "ext4_resize_fs",
"file": "fs/ext4/resize.c"
},
"signature_version": "v1",
"id": "CVE-2022-50020-04c38c49",
"deprecated": false,
"digest": {
"function_hash": "147570790260169126675466671817556896761",
"length": 3339.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bd"
},
{
"signature_type": "Line",
"target": {
"file": "fs/ext4/resize.c"
},
"signature_version": "v1",
"id": "CVE-2022-50020-0bbbb129",
"deprecated": false,
"digest": {
"line_hashes": [
"85693543912596800230503668342497778396",
"181358169403495572725973662755946155118",
"269697811974274424439762165130959133308"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@952b3dc02baaae6a69c71c0aca23e06741182d9a"
},
{
"signature_type": "Line",
"target": {
"file": "fs/ext4/resize.c"
},
"signature_version": "v1",
"id": "CVE-2022-50020-28c8ed51",
"deprecated": false,
"digest": {
"line_hashes": [
"85693543912596800230503668342497778396",
"181358169403495572725973662755946155118",
"269697811974274424439762165130959133308"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bd"
},
{
"signature_type": "Line",
"target": {
"file": "fs/ext4/resize.c"
},
"signature_version": "v1",
"id": "CVE-2022-50020-2edb95bc",
"deprecated": false,
"digest": {
"line_hashes": [
"85693543912596800230503668342497778396",
"181358169403495572725973662755946155118",
"269697811974274424439762165130959133308"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80288883294c5b4ed18bae0d8bd9c4a12f297074"
},
{
"signature_type": "Function",
"target": {
"function": "ext4_resize_fs",
"file": "fs/ext4/resize.c"
},
"signature_version": "v1",
"id": "CVE-2022-50020-2fc43fff",
"deprecated": false,
"digest": {
"function_hash": "81497537206537504274947570376898009028",
"length": 3336.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72b850a2a996f72541172e7cf686d54a2b29bcd8"
},
{
"signature_type": "Function",
"target": {
"function": "ext4_resize_fs",
"file": "fs/ext4/resize.c"
},
"signature_version": "v1",
"id": "CVE-2022-50020-47829db1",
"deprecated": false,
"digest": {
"function_hash": "217085089434942016048221361978268712407",
"length": 3321.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a6805b3dcf5cd41f2ae3a03dca43411135b99849"
},
{
"signature_type": "Function",
"target": {
"function": "ext4_resize_fs",
"file": "fs/ext4/resize.c"
},
"signature_version": "v1",
"id": "CVE-2022-50020-7a3b1063",
"deprecated": false,
"digest": {
"function_hash": "147570790260169126675466671817556896761",
"length": 3339.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0082e99a9074ff88eff729c70c93454c8588d8e1"
},
{
"signature_type": "Function",
"target": {
"function": "ext4_resize_fs",
"file": "fs/ext4/resize.c"
},
"signature_version": "v1",
"id": "CVE-2022-50020-89e845db",
"deprecated": false,
"digest": {
"function_hash": "217085089434942016048221361978268712407",
"length": 3321.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7bdfb01fc5f6b3696728aeb527c50386e0ee09a1"
},
{
"signature_type": "Line",
"target": {
"file": "fs/ext4/resize.c"
},
"signature_version": "v1",
"id": "CVE-2022-50020-8d68191f",
"deprecated": false,
"digest": {
"line_hashes": [
"85693543912596800230503668342497778396",
"181358169403495572725973662755946155118",
"269697811974274424439762165130959133308"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@53f62a4201be1cfc1e3c971e566888b182c3ffb0"
},
{
"signature_type": "Function",
"target": {
"function": "ext4_resize_fs",
"file": "fs/ext4/resize.c"
},
"signature_version": "v1",
"id": "CVE-2022-50020-9bf3bd51",
"deprecated": false,
"digest": {
"function_hash": "81497537206537504274947570376898009028",
"length": 3336.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80288883294c5b4ed18bae0d8bd9c4a12f297074"
},
{
"signature_type": "Line",
"target": {
"file": "fs/ext4/resize.c"
},
"signature_version": "v1",
"id": "CVE-2022-50020-9c1c5e78",
"deprecated": false,
"digest": {
"line_hashes": [
"85693543912596800230503668342497778396",
"181358169403495572725973662755946155118",
"269697811974274424439762165130959133308"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72b850a2a996f72541172e7cf686d54a2b29bcd8"
},
{
"signature_type": "Line",
"target": {
"file": "fs/ext4/resize.c"
},
"signature_version": "v1",
"id": "CVE-2022-50020-a6be3d97",
"deprecated": false,
"digest": {
"line_hashes": [
"85693543912596800230503668342497778396",
"181358169403495572725973662755946155118",
"269697811974274424439762165130959133308"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0082e99a9074ff88eff729c70c93454c8588d8e1"
},
{
"signature_type": "Line",
"target": {
"file": "fs/ext4/resize.c"
},
"signature_version": "v1",
"id": "CVE-2022-50020-b1d6447a",
"deprecated": false,
"digest": {
"line_hashes": [
"85693543912596800230503668342497778396",
"181358169403495572725973662755946155118",
"269697811974274424439762165130959133308"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7bdfb01fc5f6b3696728aeb527c50386e0ee09a1"
},
{
"signature_type": "Function",
"target": {
"function": "ext4_resize_fs",
"file": "fs/ext4/resize.c"
},
"signature_version": "v1",
"id": "CVE-2022-50020-b4c64a2e",
"deprecated": false,
"digest": {
"function_hash": "128277970016579499839410031780243182317",
"length": 3302.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@952b3dc02baaae6a69c71c0aca23e06741182d9a"
},
{
"signature_type": "Line",
"target": {
"file": "fs/ext4/resize.c"
},
"signature_version": "v1",
"id": "CVE-2022-50020-c29cd94e",
"deprecated": false,
"digest": {
"line_hashes": [
"85693543912596800230503668342497778396",
"181358169403495572725973662755946155118",
"269697811974274424439762165130959133308"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a6805b3dcf5cd41f2ae3a03dca43411135b99849"
},
{
"signature_type": "Function",
"target": {
"function": "ext4_resize_fs",
"file": "fs/ext4/resize.c"
},
"signature_version": "v1",
"id": "CVE-2022-50020-dfbb7a3a",
"deprecated": false,
"digest": {
"function_hash": "128277970016579499839410031780243182317",
"length": 3302.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@53f62a4201be1cfc1e3c971e566888b182c3ffb0"
}
]