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.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bd",
"target": {
"function": "ext4_resize_fs",
"file": "fs/ext4/resize.c"
},
"deprecated": false,
"id": "CVE-2022-50020-04c38c49",
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 3339.0,
"function_hash": "147570790260169126675466671817556896761"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@952b3dc02baaae6a69c71c0aca23e06741182d9a",
"target": {
"file": "fs/ext4/resize.c"
},
"deprecated": false,
"id": "CVE-2022-50020-0bbbb129",
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"85693543912596800230503668342497778396",
"181358169403495572725973662755946155118",
"269697811974274424439762165130959133308"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@69cb8e9d8cd97cdf5e293b26d70a9dee3e35e6bd",
"target": {
"file": "fs/ext4/resize.c"
},
"deprecated": false,
"id": "CVE-2022-50020-28c8ed51",
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"85693543912596800230503668342497778396",
"181358169403495572725973662755946155118",
"269697811974274424439762165130959133308"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80288883294c5b4ed18bae0d8bd9c4a12f297074",
"target": {
"file": "fs/ext4/resize.c"
},
"deprecated": false,
"id": "CVE-2022-50020-2edb95bc",
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"85693543912596800230503668342497778396",
"181358169403495572725973662755946155118",
"269697811974274424439762165130959133308"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72b850a2a996f72541172e7cf686d54a2b29bcd8",
"target": {
"function": "ext4_resize_fs",
"file": "fs/ext4/resize.c"
},
"deprecated": false,
"id": "CVE-2022-50020-2fc43fff",
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 3336.0,
"function_hash": "81497537206537504274947570376898009028"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a6805b3dcf5cd41f2ae3a03dca43411135b99849",
"target": {
"function": "ext4_resize_fs",
"file": "fs/ext4/resize.c"
},
"deprecated": false,
"id": "CVE-2022-50020-47829db1",
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 3321.0,
"function_hash": "217085089434942016048221361978268712407"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0082e99a9074ff88eff729c70c93454c8588d8e1",
"target": {
"function": "ext4_resize_fs",
"file": "fs/ext4/resize.c"
},
"deprecated": false,
"id": "CVE-2022-50020-7a3b1063",
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 3339.0,
"function_hash": "147570790260169126675466671817556896761"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7bdfb01fc5f6b3696728aeb527c50386e0ee09a1",
"target": {
"function": "ext4_resize_fs",
"file": "fs/ext4/resize.c"
},
"deprecated": false,
"id": "CVE-2022-50020-89e845db",
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 3321.0,
"function_hash": "217085089434942016048221361978268712407"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@53f62a4201be1cfc1e3c971e566888b182c3ffb0",
"target": {
"file": "fs/ext4/resize.c"
},
"deprecated": false,
"id": "CVE-2022-50020-8d68191f",
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"85693543912596800230503668342497778396",
"181358169403495572725973662755946155118",
"269697811974274424439762165130959133308"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80288883294c5b4ed18bae0d8bd9c4a12f297074",
"target": {
"function": "ext4_resize_fs",
"file": "fs/ext4/resize.c"
},
"deprecated": false,
"id": "CVE-2022-50020-9bf3bd51",
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 3336.0,
"function_hash": "81497537206537504274947570376898009028"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72b850a2a996f72541172e7cf686d54a2b29bcd8",
"target": {
"file": "fs/ext4/resize.c"
},
"deprecated": false,
"id": "CVE-2022-50020-9c1c5e78",
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"85693543912596800230503668342497778396",
"181358169403495572725973662755946155118",
"269697811974274424439762165130959133308"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0082e99a9074ff88eff729c70c93454c8588d8e1",
"target": {
"file": "fs/ext4/resize.c"
},
"deprecated": false,
"id": "CVE-2022-50020-a6be3d97",
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"85693543912596800230503668342497778396",
"181358169403495572725973662755946155118",
"269697811974274424439762165130959133308"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7bdfb01fc5f6b3696728aeb527c50386e0ee09a1",
"target": {
"file": "fs/ext4/resize.c"
},
"deprecated": false,
"id": "CVE-2022-50020-b1d6447a",
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"85693543912596800230503668342497778396",
"181358169403495572725973662755946155118",
"269697811974274424439762165130959133308"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@952b3dc02baaae6a69c71c0aca23e06741182d9a",
"target": {
"function": "ext4_resize_fs",
"file": "fs/ext4/resize.c"
},
"deprecated": false,
"id": "CVE-2022-50020-b4c64a2e",
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 3302.0,
"function_hash": "128277970016579499839410031780243182317"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a6805b3dcf5cd41f2ae3a03dca43411135b99849",
"target": {
"file": "fs/ext4/resize.c"
},
"deprecated": false,
"id": "CVE-2022-50020-c29cd94e",
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"85693543912596800230503668342497778396",
"181358169403495572725973662755946155118",
"269697811974274424439762165130959133308"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@53f62a4201be1cfc1e3c971e566888b182c3ffb0",
"target": {
"function": "ext4_resize_fs",
"file": "fs/ext4/resize.c"
},
"deprecated": false,
"id": "CVE-2022-50020-dfbb7a3a",
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"length": 3302.0,
"function_hash": "128277970016579499839410031780243182317"
}
}
]