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.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53336.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53336.json"
[
{
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e08b091e33ecf6e4cb2c0c5820a69abe7673280b",
"id": "CVE-2023-53336-0a204719",
"deprecated": false,
"target": {
"function": "cio2_bridge_connect_sensor",
"file": "drivers/media/pci/intel/ipu3/cio2-bridge.c"
},
"signature_version": "v1",
"digest": {
"length": 1700.0,
"function_hash": "164649479781041617888667870742522142095"
}
},
{
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e08b091e33ecf6e4cb2c0c5820a69abe7673280b",
"id": "CVE-2023-53336-69784e3d",
"deprecated": false,
"target": {
"file": "drivers/media/pci/intel/ipu3/cio2-bridge.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"223528931888607376662972244082879129502",
"169218348078967462722912893122106719936",
"303840005526567361097048015905140284330",
"52613963111732256177265862908240755782"
],
"threshold": 0.9
}
}
]