In the Linux kernel, the following vulnerability has been resolved:
drm/panel/panel-tpo-tpg110: fix a possible null pointer dereference
In tpg110getmodes(), the return value of drmmodeduplicate() is assigned to mode, which will lead to a NULL pointer dereference on failure of drmmodeduplicate(). Add a check to avoid npd.
[
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9acc2bc00135e9ecd13a70ce1140e2673e504cdc",
"digest": {
"function_hash": "279103754864176949542447264391617554471",
"length": 530.0
},
"target": {
"function": "tpg110_get_modes",
"file": "drivers/gpu/drm/panel/panel-tpo-tpg110.c"
},
"id": "CVE-2023-52826-1b5fca3b",
"signature_version": "v1",
"signature_type": "Function"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eaede6900c0961b072669d6bd97fe8f90ed1900f",
"digest": {
"function_hash": "279103754864176949542447264391617554471",
"length": 530.0
},
"target": {
"function": "tpg110_get_modes",
"file": "drivers/gpu/drm/panel/panel-tpo-tpg110.c"
},
"id": "CVE-2023-52826-2376c304",
"signature_version": "v1",
"signature_type": "Function"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9acc2bc00135e9ecd13a70ce1140e2673e504cdc",
"digest": {
"line_hashes": [
"323099011744677109872629255469374524808",
"277403152420548351579668195697965482902",
"313374337805228174881852841655272988516",
"43808824426931600279814683789059390927"
],
"threshold": 0.9
},
"target": {
"file": "drivers/gpu/drm/panel/panel-tpo-tpg110.c"
},
"id": "CVE-2023-52826-3fadf81c",
"signature_version": "v1",
"signature_type": "Line"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f22def5970c423ea7f87d5247bd0ef91416b0658",
"digest": {
"line_hashes": [
"323099011744677109872629255469374524808",
"277403152420548351579668195697965482902",
"313374337805228174881852841655272988516",
"43808824426931600279814683789059390927"
],
"threshold": 0.9
},
"target": {
"file": "drivers/gpu/drm/panel/panel-tpo-tpg110.c"
},
"id": "CVE-2023-52826-5b59924b",
"signature_version": "v1",
"signature_type": "Line"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@84c923d898905187ebfd4c0ef38cd1450af7e0ea",
"digest": {
"function_hash": "279103754864176949542447264391617554471",
"length": 530.0
},
"target": {
"function": "tpg110_get_modes",
"file": "drivers/gpu/drm/panel/panel-tpo-tpg110.c"
},
"id": "CVE-2023-52826-63109e5a",
"signature_version": "v1",
"signature_type": "Function"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f22def5970c423ea7f87d5247bd0ef91416b0658",
"digest": {
"function_hash": "279103754864176949542447264391617554471",
"length": 530.0
},
"target": {
"function": "tpg110_get_modes",
"file": "drivers/gpu/drm/panel/panel-tpo-tpg110.c"
},
"id": "CVE-2023-52826-d58a5f59",
"signature_version": "v1",
"signature_type": "Function"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9268bfd76bebc85ff221691b61498cc16d75451c",
"digest": {
"function_hash": "279103754864176949542447264391617554471",
"length": 530.0
},
"target": {
"function": "tpg110_get_modes",
"file": "drivers/gpu/drm/panel/panel-tpo-tpg110.c"
},
"id": "CVE-2023-52826-d8993236",
"signature_version": "v1",
"signature_type": "Function"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eaede6900c0961b072669d6bd97fe8f90ed1900f",
"digest": {
"line_hashes": [
"323099011744677109872629255469374524808",
"277403152420548351579668195697965482902",
"313374337805228174881852841655272988516",
"43808824426931600279814683789059390927"
],
"threshold": 0.9
},
"target": {
"file": "drivers/gpu/drm/panel/panel-tpo-tpg110.c"
},
"id": "CVE-2023-52826-d8b5ecc0",
"signature_version": "v1",
"signature_type": "Line"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@84c923d898905187ebfd4c0ef38cd1450af7e0ea",
"digest": {
"line_hashes": [
"323099011744677109872629255469374524808",
"277403152420548351579668195697965482902",
"313374337805228174881852841655272988516",
"43808824426931600279814683789059390927"
],
"threshold": 0.9
},
"target": {
"file": "drivers/gpu/drm/panel/panel-tpo-tpg110.c"
},
"id": "CVE-2023-52826-e1cd4183",
"signature_version": "v1",
"signature_type": "Line"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d0bc9ab0a161a9745273f5bf723733a8e6c57aca",
"digest": {
"line_hashes": [
"323099011744677109872629255469374524808",
"277403152420548351579668195697965482902",
"313374337805228174881852841655272988516",
"43808824426931600279814683789059390927"
],
"threshold": 0.9
},
"target": {
"file": "drivers/gpu/drm/panel/panel-tpo-tpg110.c"
},
"id": "CVE-2023-52826-e48195fc",
"signature_version": "v1",
"signature_type": "Line"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d0bc9ab0a161a9745273f5bf723733a8e6c57aca",
"digest": {
"function_hash": "279103754864176949542447264391617554471",
"length": 530.0
},
"target": {
"function": "tpg110_get_modes",
"file": "drivers/gpu/drm/panel/panel-tpo-tpg110.c"
},
"id": "CVE-2023-52826-f42c256f",
"signature_version": "v1",
"signature_type": "Function"
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9268bfd76bebc85ff221691b61498cc16d75451c",
"digest": {
"line_hashes": [
"323099011744677109872629255469374524808",
"277403152420548351579668195697965482902",
"313374337805228174881852841655272988516",
"43808824426931600279814683789059390927"
],
"threshold": 0.9
},
"target": {
"file": "drivers/gpu/drm/panel/panel-tpo-tpg110.c"
},
"id": "CVE-2023-52826-f6d159a5",
"signature_version": "v1",
"signature_type": "Line"
}
]