In the Linux kernel, the following vulnerability has been resolved:
HID: intel-ish-hid: ipc: Fix potential use-after-free in work function
When a reset notify IPC message is received, the ISR schedules a work function and passes the ISHTP device to it via a global pointer ishtpdev. If ishprobe() fails, the devm-managed device resources including ishtpdev are freed, but the work is not cancelled, causing a use-after-free when the work function tries to access ishtpdev. Use devmworkautocancel() instead, so that the work is automatically cancelled if probe fails.
[
{
"digest": {
"length": 651.0,
"function_hash": "33544732808604513147933662410145206989"
},
"signature_type": "Function",
"target": {
"function": "recv_ipc",
"file": "drivers/hid/intel-ish-hid/ipc/ipc.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8ae2f2b0a28416ed2f6d8478ac8b9f7862f36785",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53039-16d2fbc8"
},
{
"digest": {
"length": 787.0,
"function_hash": "297291095744295111885880875493518081043"
},
"signature_type": "Function",
"target": {
"function": "ish_dev_init",
"file": "drivers/hid/intel-ish-hid/ipc/ipc.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8ae2f2b0a28416ed2f6d8478ac8b9f7862f36785",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53039-1a68fe56"
},
{
"digest": {
"line_hashes": [
"173172743909393128868555256264982160721",
"205576185637715382163958940184755997996",
"8014160806756891913175605443537657386",
"24153041105854336732620573437626964564",
"112893078568160076247305639426767323064",
"97746600351075313154239940321447443708",
"33184813622733492985024747142587411661",
"264569494257440077450054020678513111502",
"322885463596962053452774939282175197904",
"149355682357436835247507580724387322127",
"274415602560815445482642649865095312814",
"261406822004069766232370463284353664524"
],
"threshold": 0.9
},
"signature_type": "Line",
"target": {
"file": "drivers/hid/intel-ish-hid/ipc/ipc.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0a594cb490ca6232671fc09e2dc1a0fc7ccbb0b5",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53039-2997cb15"
},
{
"digest": {
"line_hashes": [
"173172743909393128868555256264982160721",
"205576185637715382163958940184755997996",
"8014160806756891913175605443537657386",
"24153041105854336732620573437626964564",
"112893078568160076247305639426767323064",
"97746600351075313154239940321447443708",
"33184813622733492985024747142587411661",
"264569494257440077450054020678513111502",
"322885463596962053452774939282175197904",
"149355682357436835247507580724387322127",
"274415602560815445482642649865095312814",
"261406822004069766232370463284353664524"
],
"threshold": 0.9
},
"signature_type": "Line",
"target": {
"file": "drivers/hid/intel-ish-hid/ipc/ipc.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d3ce3afd9f791dd1b7daedfcf8c396b60af5dec0",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53039-2d1c5627"
},
{
"digest": {
"length": 787.0,
"function_hash": "297291095744295111885880875493518081043"
},
"signature_type": "Function",
"target": {
"function": "ish_dev_init",
"file": "drivers/hid/intel-ish-hid/ipc/ipc.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d3ce3afd9f791dd1b7daedfcf8c396b60af5dec0",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53039-3098ca10"
},
{
"digest": {
"length": 651.0,
"function_hash": "33544732808604513147933662410145206989"
},
"signature_type": "Function",
"target": {
"function": "recv_ipc",
"file": "drivers/hid/intel-ish-hid/ipc/ipc.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8c1d378b8c224fd50247625255f09fc01dcc5836",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53039-3e4927d2"
},
{
"digest": {
"length": 651.0,
"function_hash": "33544732808604513147933662410145206989"
},
"signature_type": "Function",
"target": {
"function": "recv_ipc",
"file": "drivers/hid/intel-ish-hid/ipc/ipc.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d3ce3afd9f791dd1b7daedfcf8c396b60af5dec0",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53039-598abf1e"
},
{
"digest": {
"line_hashes": [
"173172743909393128868555256264982160721",
"205576185637715382163958940184755997996",
"8014160806756891913175605443537657386",
"24153041105854336732620573437626964564",
"112893078568160076247305639426767323064",
"97746600351075313154239940321447443708",
"33184813622733492985024747142587411661",
"264569494257440077450054020678513111502",
"322885463596962053452774939282175197904",
"149355682357436835247507580724387322127",
"274415602560815445482642649865095312814",
"261406822004069766232370463284353664524"
],
"threshold": 0.9
},
"signature_type": "Line",
"target": {
"file": "drivers/hid/intel-ish-hid/ipc/ipc.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8c1d378b8c224fd50247625255f09fc01dcc5836",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53039-72492e14"
},
{
"digest": {
"length": 787.0,
"function_hash": "297291095744295111885880875493518081043"
},
"signature_type": "Function",
"target": {
"function": "ish_dev_init",
"file": "drivers/hid/intel-ish-hid/ipc/ipc.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8c1d378b8c224fd50247625255f09fc01dcc5836",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53039-78c8d6b1"
},
{
"digest": {
"line_hashes": [
"173172743909393128868555256264982160721",
"205576185637715382163958940184755997996",
"8014160806756891913175605443537657386",
"24153041105854336732620573437626964564",
"112893078568160076247305639426767323064",
"97746600351075313154239940321447443708",
"33184813622733492985024747142587411661",
"264569494257440077450054020678513111502",
"322885463596962053452774939282175197904",
"149355682357436835247507580724387322127",
"274415602560815445482642649865095312814",
"261406822004069766232370463284353664524"
],
"threshold": 0.9
},
"signature_type": "Line",
"target": {
"file": "drivers/hid/intel-ish-hid/ipc/ipc.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8ae2f2b0a28416ed2f6d8478ac8b9f7862f36785",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53039-b336a467"
},
{
"digest": {
"length": 787.0,
"function_hash": "297291095744295111885880875493518081043"
},
"signature_type": "Function",
"target": {
"function": "ish_dev_init",
"file": "drivers/hid/intel-ish-hid/ipc/ipc.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0a594cb490ca6232671fc09e2dc1a0fc7ccbb0b5",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53039-c2141775"
},
{
"digest": {
"length": 651.0,
"function_hash": "33544732808604513147933662410145206989"
},
"signature_type": "Function",
"target": {
"function": "recv_ipc",
"file": "drivers/hid/intel-ish-hid/ipc/ipc.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0a594cb490ca6232671fc09e2dc1a0fc7ccbb0b5",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53039-e05f082d"
}
]