In the Linux kernel, the following vulnerability has been resolved:
media: hi846: fix usage of pmruntimegetifin_use()
pmruntimegetifin_use() does not only return nonzero values when the device is in use, it can return a negative errno too.
And especially during resuming from system suspend, when runtime pm is not yet up again, -EAGAIN is being returned, so the subsequent pmruntimeput() call results in a refcount underflow.
Fix system-resume by handling -EAGAIN of pmruntimegetifin_use().
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53177.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53177.json"
[
{
"id": "CVE-2023-53177-011ac0ba",
"target": {
"file": "drivers/media/i2c/hi846.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c5dcd7a19f1ed8fe98384f3a9444c7c53befd74e",
"digest": {
"threshold": 0.9,
"line_hashes": [
"46434260532382618380156840340394648389",
"172131208115774510826857539608430387193",
"282155573913347984475770523844499052712",
"5841365542677966921978613930692727284"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53177-0fb5c7a7",
"target": {
"function": "hi846_set_ctrl",
"file": "drivers/media/i2c/hi846.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c5dcd7a19f1ed8fe98384f3a9444c7c53befd74e",
"digest": {
"function_hash": "163090384838840683035267359379935949768",
"length": 1324.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53177-461ca090",
"target": {
"function": "hi846_set_ctrl",
"file": "drivers/media/i2c/hi846.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@04fc06f6dc1592ed5d675311ac50d8fba5db62ab",
"digest": {
"function_hash": "163090384838840683035267359379935949768",
"length": 1324.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53177-4bc68f5b",
"target": {
"file": "drivers/media/i2c/hi846.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@42ec6269f98edd915ee37da3c6456bb6243ea56a",
"digest": {
"threshold": 0.9,
"line_hashes": [
"46434260532382618380156840340394648389",
"172131208115774510826857539608430387193",
"282155573913347984475770523844499052712",
"5841365542677966921978613930692727284"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53177-6f1b0ba7",
"target": {
"file": "drivers/media/i2c/hi846.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@04fc06f6dc1592ed5d675311ac50d8fba5db62ab",
"digest": {
"threshold": 0.9,
"line_hashes": [
"46434260532382618380156840340394648389",
"172131208115774510826857539608430387193",
"282155573913347984475770523844499052712",
"5841365542677966921978613930692727284"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53177-d4f23a9d",
"target": {
"function": "hi846_set_ctrl",
"file": "drivers/media/i2c/hi846.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@42ec6269f98edd915ee37da3c6456bb6243ea56a",
"digest": {
"function_hash": "163090384838840683035267359379935949768",
"length": 1324.0
},
"signature_type": "Function"
}
]