A flaw was found in the filelock_init in fs/locks.c function in the Linux kernel. This issue can lead to host memory exhaustion due to memcg not limiting the number of Portable Operating System Interface (POSIX) file locks.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0480.json"
[
{
"id": "CVE-2022-0480-03adbfa2",
"target": {
"function": "filelock_init",
"file": "fs/locks.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0f12156dff2862ac54235fc72703f18770769042",
"digest": {
"function_hash": "165079579311754444724146021603684322431",
"length": 399.0
},
"signature_type": "Function"
},
{
"id": "CVE-2022-0480-9a2004b7",
"target": {
"file": "fs/locks.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@0f12156dff2862ac54235fc72703f18770769042",
"digest": {
"threshold": 0.9,
"line_hashes": [
"175157879905080608144033130009526329711",
"76224786355977733488672312405690072897",
"157912659062334586645578281624194610133",
"132497202943342041283664998767050177299",
"295755740268076521435589764634666211544",
"120210653227089873047906992182398220070"
]
},
"signature_type": "Line"
}
]