In the Linux kernel, the following vulnerability has been resolved:
nvme-core: fix devpmqos memleak
Call devpmqoshidelatency_tolerance() in the error unwind patch to avoid following kmemleak:-
blktests (master) # kmemleak-clear; ./check nvme/044; blktests (master) # kmemleak-scan ; kmemleak-show nvme/044 (Test bi-directional authentication) [passed] runtime 2.111s ... 2.124s unreferenced object 0xffff888110c46240 (size 96): comm "nvme", pid 33461, jiffies 4345365353 (age 75.586s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<0000000069ac2cec>] kmalloctrace+0x25/0x90 [<000000006acc66d5>] devpmqosupdateuserlatencytolerance+0x6f/0x100 [<00000000cc376ea7>] nvmeinitctrl+0x38e/0x410 [nvmecore] [<000000007df61b4b>] 0xffffffffc05e88b3 [<00000000d152b985>] 0xffffffffc05744cb [<00000000f04a4041>] vfswrite+0xc5/0x3c0 [<00000000f9491baf>] ksyswrite+0x5f/0xe0 [<000000001c46513d>] dosyscall64+0x3b/0x90 [<00000000ecf348fe>] entrySYSCALL64afterhwframe+0x72/0xdc
[
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e1379e067b9485e5af03399fe3f0d39bccb023ad",
"deprecated": false,
"id": "CVE-2023-53670-316f7ba9",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"5844897317870765663273170730197780875",
"329273516711227721290315646350197810770",
"237481392529618933518207333067565638286",
"45399449774697362081157266553382892765"
]
},
"target": {
"file": "drivers/nvme/host/core.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7ed5cf8e6d9bfb6a78d0471317edff14f0f2b4dd",
"deprecated": false,
"id": "CVE-2023-53670-522bee3e",
"signature_type": "Function",
"digest": {
"length": 2785.0,
"function_hash": "49037843752788461143989371476279460204"
},
"target": {
"function": "nvme_init_ctrl",
"file": "drivers/nvme/host/core.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ed9a89192e3192e5fea7ff6475c8722513f325e",
"deprecated": false,
"id": "CVE-2023-53670-52fdf725",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"5844897317870765663273170730197780875",
"329273516711227721290315646350197810770",
"237481392529618933518207333067565638286",
"45399449774697362081157266553382892765"
]
},
"target": {
"file": "drivers/nvme/host/core.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ed9a89192e3192e5fea7ff6475c8722513f325e",
"deprecated": false,
"id": "CVE-2023-53670-70ec05fb",
"signature_type": "Function",
"digest": {
"length": 2785.0,
"function_hash": "49037843752788461143989371476279460204"
},
"target": {
"function": "nvme_init_ctrl",
"file": "drivers/nvme/host/core.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7ed5cf8e6d9bfb6a78d0471317edff14f0f2b4dd",
"deprecated": false,
"id": "CVE-2023-53670-c6cb06da",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"5844897317870765663273170730197780875",
"329273516711227721290315646350197810770",
"237481392529618933518207333067565638286",
"45399449774697362081157266553382892765"
]
},
"target": {
"file": "drivers/nvme/host/core.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7237c26431cc78e5ec3259f4350f3dd58f6a4319",
"deprecated": false,
"id": "CVE-2023-53670-d4446dc6",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"5844897317870765663273170730197780875",
"329273516711227721290315646350197810770",
"237481392529618933518207333067565638286",
"45399449774697362081157266553382892765"
]
},
"target": {
"file": "drivers/nvme/host/core.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7237c26431cc78e5ec3259f4350f3dd58f6a4319",
"deprecated": false,
"id": "CVE-2023-53670-ded8019e",
"signature_type": "Function",
"digest": {
"length": 2785.0,
"function_hash": "49037843752788461143989371476279460204"
},
"target": {
"function": "nvme_init_ctrl",
"file": "drivers/nvme/host/core.c"
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e1379e067b9485e5af03399fe3f0d39bccb023ad",
"deprecated": false,
"id": "CVE-2023-53670-e4a6c64c",
"signature_type": "Function",
"digest": {
"length": 2785.0,
"function_hash": "49037843752788461143989371476279460204"
},
"target": {
"function": "nvme_init_ctrl",
"file": "drivers/nvme/host/core.c"
}
}
]