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.
[
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"85693543912596800230503668342497778396",
"181358169403495572725973662755946155118",
"269697811974274424439762165130959133308"
]
},
"id": "CVE-2022-50020-2edb95bc",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80288883294c5b4ed18bae0d8bd9c4a12f297074",
"target": {
"file": "fs/ext4/resize.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 3321.0,
"function_hash": "217085089434942016048221361978268712407"
},
"id": "CVE-2022-50020-89e845db",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7bdfb01fc5f6b3696728aeb527c50386e0ee09a1",
"target": {
"file": "fs/ext4/resize.c",
"function": "ext4_resize_fs"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"85693543912596800230503668342497778396",
"181358169403495572725973662755946155118",
"269697811974274424439762165130959133308"
]
},
"id": "CVE-2022-50020-8d68191f",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@53f62a4201be1cfc1e3c971e566888b182c3ffb0",
"target": {
"file": "fs/ext4/resize.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 3336.0,
"function_hash": "81497537206537504274947570376898009028"
},
"id": "CVE-2022-50020-9bf3bd51",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80288883294c5b4ed18bae0d8bd9c4a12f297074",
"target": {
"file": "fs/ext4/resize.c",
"function": "ext4_resize_fs"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"85693543912596800230503668342497778396",
"181358169403495572725973662755946155118",
"269697811974274424439762165130959133308"
]
},
"id": "CVE-2022-50020-b1d6447a",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7bdfb01fc5f6b3696728aeb527c50386e0ee09a1",
"target": {
"file": "fs/ext4/resize.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 3302.0,
"function_hash": "128277970016579499839410031780243182317"
},
"id": "CVE-2022-50020-dfbb7a3a",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@53f62a4201be1cfc1e3c971e566888b182c3ffb0",
"target": {
"file": "fs/ext4/resize.c",
"function": "ext4_resize_fs"
}
}
]