In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: hciuart: add missing NULL check in h5enqueue
Syzbot hit general protection fault in _pmruntime_resume(). The problem was in missing NULL check.
hu->serdev can be NULL and we should not blindly pass &serdev->dev somewhere, since it will cause GPF.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@32cb08e958696908a9aad5e49a78d74f7e32fffb",
"id": "CVE-2022-49202-036f7c82",
"deprecated": false,
"target": {
"function": "h5_enqueue",
"file": "drivers/bluetooth/hci_h5.c"
},
"signature_version": "v1",
"digest": {
"length": 831.0,
"function_hash": "245519766156120556258026379925161059535"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8a3896c30f542439d36303183dc96f65df8cc528",
"id": "CVE-2022-49202-2f46f0d5",
"deprecated": false,
"target": {
"function": "h5_enqueue",
"file": "drivers/bluetooth/hci_h5.c"
},
"signature_version": "v1",
"digest": {
"length": 831.0,
"function_hash": "245519766156120556258026379925161059535"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e6b6c904c0f88588b6a3ace20e4c0d61eab124f8",
"id": "CVE-2022-49202-35d96a2c",
"deprecated": false,
"target": {
"file": "drivers/bluetooth/hci_h5.c"
},
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"41968186943893998833009944898868484852",
"120781682324571226270814006670025957707",
"175868712813941493473902529732000428230",
"212217424696987248624167302355865531530",
"257903536805406402817978179865482895764",
"11790921892260591506519398707237760879"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7235485433d290367d60ae22fcdfc565e61d42ab",
"id": "CVE-2022-49202-46248358",
"deprecated": false,
"target": {
"file": "drivers/bluetooth/hci_h5.c"
},
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"41968186943893998833009944898868484852",
"120781682324571226270814006670025957707",
"175868712813941493473902529732000428230",
"212217424696987248624167302355865531530",
"257903536805406402817978179865482895764",
"11790921892260591506519398707237760879"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@32cb08e958696908a9aad5e49a78d74f7e32fffb",
"id": "CVE-2022-49202-50d63ade",
"deprecated": false,
"target": {
"file": "drivers/bluetooth/hci_h5.c"
},
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"41968186943893998833009944898868484852",
"120781682324571226270814006670025957707",
"175868712813941493473902529732000428230",
"212217424696987248624167302355865531530",
"257903536805406402817978179865482895764",
"11790921892260591506519398707237760879"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8a3896c30f542439d36303183dc96f65df8cc528",
"id": "CVE-2022-49202-661d41c4",
"deprecated": false,
"target": {
"file": "drivers/bluetooth/hci_h5.c"
},
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"41968186943893998833009944898868484852",
"120781682324571226270814006670025957707",
"175868712813941493473902529732000428230",
"212217424696987248624167302355865531530",
"257903536805406402817978179865482895764",
"11790921892260591506519398707237760879"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7235485433d290367d60ae22fcdfc565e61d42ab",
"id": "CVE-2022-49202-c90bfdb1",
"deprecated": false,
"target": {
"function": "h5_enqueue",
"file": "drivers/bluetooth/hci_h5.c"
},
"signature_version": "v1",
"digest": {
"length": 831.0,
"function_hash": "245519766156120556258026379925161059535"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e6b6c904c0f88588b6a3ace20e4c0d61eab124f8",
"id": "CVE-2022-49202-f669a411",
"deprecated": false,
"target": {
"function": "h5_enqueue",
"file": "drivers/bluetooth/hci_h5.c"
},
"signature_version": "v1",
"digest": {
"length": 831.0,
"function_hash": "245519766156120556258026379925161059535"
},
"signature_type": "Function"
}
]