cvelist/2022/48xxx/CVE-2022-48988.json

157 lines
8.7 KiB
JSON
Raw Normal View History

2024-08-22 02:00:33 +00:00
{
2024-10-21 21:00:36 +00:00
"data_version": "4.0",
2024-08-22 02:00:33 +00:00
"data_type": "CVE",
"data_format": "MITRE",
"CVE_data_meta": {
"ID": "CVE-2022-48988",
2024-10-21 21:00:36 +00:00
"ASSIGNER": "cve@kernel.org",
"STATE": "PUBLIC"
2024-08-22 02:00:33 +00:00
},
"description": {
"description_data": [
{
"lang": "eng",
2024-10-21 21:00:36 +00:00
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmemcg: fix possible use-after-free in memcg_write_event_control()\n\nmemcg_write_event_control() accesses the dentry->d_name of the specified\ncontrol fd to route the write call. As a cgroup interface file can't be\nrenamed, it's safe to access d_name as long as the specified file is a\nregular cgroup file. Also, as these cgroup interface files can't be\nremoved before the directory, it's safe to access the parent too.\n\nPrior to 347c4a874710 (\"memcg: remove cgroup_event->cft\"), there was a\ncall to __file_cft() which verified that the specified file is a regular\ncgroupfs file before further accesses. The cftype pointer returned from\n__file_cft() was no longer necessary and the commit inadvertently dropped\nthe file type check with it allowing any file to slip through. With the\ninvarients broken, the d_name and parent accesses can now race against\nrenames and removals of arbitrary files and cause use-after-free's.\n\nFix the bug by resurrecting the file type check in __file_cft(). Now that\ncgroupfs is implemented through kernfs, checking the file operations needs\nto go through a layer of indirection. Instead, let's check the superblock\nand dentry type."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"affects": {
"vendor": {
"vendor_data": [
{
"vendor_name": "Linux",
"product": {
"product_data": [
{
"product_name": "Linux",
"version": {
"version_data": [
{
"version_affected": "<",
"version_name": "347c4a874710",
"version_value": "b77600e26fd4"
},
{
"version_value": "not down converted",
"x_cve_json_5_version_data": {
"versions": [
{
"version": "3.14",
"status": "affected"
},
{
"version": "0",
"lessThan": "3.14",
"status": "unaffected",
2024-11-04 13:02:10 +00:00
"versionType": "semver"
2024-10-21 21:00:36 +00:00
},
{
"version": "4.14.302",
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
2024-11-04 13:02:10 +00:00
"versionType": "semver"
2024-10-21 21:00:36 +00:00
},
{
"version": "4.19.269",
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
2024-11-04 13:02:10 +00:00
"versionType": "semver"
2024-10-21 21:00:36 +00:00
},
{
"version": "5.4.227",
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
2024-11-04 13:02:10 +00:00
"versionType": "semver"
2024-10-21 21:00:36 +00:00
},
{
"version": "5.10.159",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
2024-11-04 13:02:10 +00:00
"versionType": "semver"
2024-10-21 21:00:36 +00:00
},
{
"version": "5.15.83",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
2024-11-04 13:02:10 +00:00
"versionType": "semver"
2024-10-21 21:00:36 +00:00
},
{
"version": "6.0.13",
"lessThanOrEqual": "6.0.*",
"status": "unaffected",
2024-11-04 13:02:10 +00:00
"versionType": "semver"
2024-10-21 21:00:36 +00:00
},
{
"version": "6.1",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
],
"defaultStatus": "affected"
}
}
]
}
}
]
}
}
]
}
},
"references": {
"reference_data": [
{
"url": "https://git.kernel.org/stable/c/b77600e26fd48727a95ffd50ba1e937efb548125",
"refsource": "MISC",
"name": "https://git.kernel.org/stable/c/b77600e26fd48727a95ffd50ba1e937efb548125"
},
{
"url": "https://git.kernel.org/stable/c/e1ae97624ecf400ea56c238bff23e5cd139df0b8",
"refsource": "MISC",
"name": "https://git.kernel.org/stable/c/e1ae97624ecf400ea56c238bff23e5cd139df0b8"
},
{
"url": "https://git.kernel.org/stable/c/35963b31821920908e397146502066f6b032c917",
"refsource": "MISC",
"name": "https://git.kernel.org/stable/c/35963b31821920908e397146502066f6b032c917"
},
{
"url": "https://git.kernel.org/stable/c/f1f7f36cf682fa59db15e2089039a2eeb58ff2ad",
"refsource": "MISC",
"name": "https://git.kernel.org/stable/c/f1f7f36cf682fa59db15e2089039a2eeb58ff2ad"
},
{
"url": "https://git.kernel.org/stable/c/aad8bbd17a1d586005feb9226c2e9cfce1432e13",
"refsource": "MISC",
"name": "https://git.kernel.org/stable/c/aad8bbd17a1d586005feb9226c2e9cfce1432e13"
},
{
"url": "https://git.kernel.org/stable/c/0ed074317b835caa6c03bcfa8f133365324673dc",
"refsource": "MISC",
"name": "https://git.kernel.org/stable/c/0ed074317b835caa6c03bcfa8f133365324673dc"
},
{
"url": "https://git.kernel.org/stable/c/4a7ba45b1a435e7097ca0f79a847d0949d0eb088",
"refsource": "MISC",
"name": "https://git.kernel.org/stable/c/4a7ba45b1a435e7097ca0f79a847d0949d0eb088"
2024-08-22 02:00:33 +00:00
}
]
2024-10-21 21:00:36 +00:00
},
"generator": {
2024-11-04 13:02:10 +00:00
"engine": "bippy-9e1c9544281a"
2024-08-22 02:00:33 +00:00
}
}