In the Linux kernel, the following vulnerability has been resolved:
remoteproc: Fix count check in rproccoredumpwrite()
Check count for 0, to avoid a potential underflow. Make the check the same as the one in rprocrecoverywrite().
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49278.json",
"cna_assigner": "Linux"
}[
{
"deprecated": false,
"id": "CVE-2022-49278-96340388",
"target": {
"file": "drivers/remoteproc/remoteproc_debugfs.c"
},
"digest": {
"line_hashes": [
"338081009138473204783409184973503118916",
"262279207451433181750754772226541565467",
"290001550679860374553441782607808398279",
"278642504846569212733609838862019426986"
],
"threshold": 0.9
},
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f89672cc3681952f2d06314981a6b45f8b0045d1"
},
{
"deprecated": false,
"id": "CVE-2022-49278-c2beaff1",
"target": {
"file": "drivers/remoteproc/remoteproc_debugfs.c",
"function": "rproc_coredump_write"
},
"digest": {
"function_hash": "192399223163389820460242641702900040356",
"length": 906.0
},
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f89672cc3681952f2d06314981a6b45f8b0045d1"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49278.json"