In the Linux kernel, the following vulnerability has been resolved:
media: ipu-bridge: Fix null pointer deref on SSDB/PLD parsing warnings
When ipubridgeparserotation() and ipubridgeparseorientation() run sensor->adev is not set yet.
So if either of the dev_warn() calls about unknown values are hit this will lead to a NULL pointer deref.
Set sensor->adev earlier, with a borrowed ref to avoid making unrolling on errors harder, to fix this.
[
{
"id": "CVE-2023-53336-0a204719",
"target": {
"function": "cio2_bridge_connect_sensor",
"file": "drivers/media/pci/intel/ipu3/cio2-bridge.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e08b091e33ecf6e4cb2c0c5820a69abe7673280b",
"signature_type": "Function",
"digest": {
"function_hash": "164649479781041617888667870742522142095",
"length": 1700.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"id": "CVE-2023-53336-4127a5d1",
"target": {
"function": "cio2_bridge_connect_sensor",
"file": "drivers/media/pci/intel/ipu3/cio2-bridge.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3de35e29cfddfe6bff762b15bcfe8d80bebac6cb",
"signature_type": "Function",
"digest": {
"function_hash": "164649479781041617888667870742522142095",
"length": 1700.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"id": "CVE-2023-53336-69784e3d",
"target": {
"file": "drivers/media/pci/intel/ipu3/cio2-bridge.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e08b091e33ecf6e4cb2c0c5820a69abe7673280b",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"223528931888607376662972244082879129502",
"169218348078967462722912893122106719936",
"303840005526567361097048015905140284330",
"52613963111732256177265862908240755782"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"id": "CVE-2023-53336-8b2d6151",
"target": {
"file": "drivers/media/pci/intel/ipu-bridge.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@284be5693163343e1cf17c03917eecd1d6681bcf",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"102929841191963266326431149450994559666",
"191729168067833808218397775235536578264",
"52681591378584848223918714540493508829",
"150051357640277940826534247900708134453"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"id": "CVE-2023-53336-ca7d628c",
"target": {
"file": "drivers/media/pci/intel/ipu3/cio2-bridge.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3de35e29cfddfe6bff762b15bcfe8d80bebac6cb",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"223528931888607376662972244082879129502",
"169218348078967462722912893122106719936",
"303840005526567361097048015905140284330",
"52613963111732256177265862908240755782"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"id": "CVE-2023-53336-e351a4c2",
"target": {
"function": "ipu_bridge_connect_sensor",
"file": "drivers/media/pci/intel/ipu-bridge.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@284be5693163343e1cf17c03917eecd1d6681bcf",
"signature_type": "Function",
"digest": {
"function_hash": "139118743132765207496677223277515721872",
"length": 1696.0
},
"deprecated": false,
"signature_version": "v1"
}
]