A heap-based buffer overflow flaw was found in the way the legacy_parse_param function in the Filesystem Context functionality of the Linux kernel verified the supplied parameters length. An unprivileged (in case of unprivileged user namespaces enabled, otherwise needs namespaced CAP_SYS_ADMIN privilege) local user able to open a filesystem that does not support the Filesystem Context API (and thus fallbacks to legacy handling) could use this flaw to escalate their privileges on the system.
{
"cna_assigner": "redhat",
"cwe_ids": [
"CWE-190"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0185.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "8.4"
},
{
"last_affected": "8.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"fixed": "722d94847de29310e8aa03fcbdb41fc92c521756"
}
],
"source": "REFERENCES_COMMIT"
}
]
}