In the Linux kernel, the following vulnerability has been resolved:
nvme-tcp: don't access released socket during error recovery
While the error recovery work is temporarily failing reconnect attempts, running the 'nvme list' command causes a kernel NULL pointer dereference by calling getsockname() with a released socket.
During error recovery work, the nvme tcp socket is released and a new one created, so it is not safe to access the socket without proper check.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53643.json"
}"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53643.json"
[
{
"id": "CVE-2023-53643-09336877",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fe2d9e54165dadaa0d0cc3355c0be9c3e129fa0d",
"target": {
"file": "drivers/nvme/host/tcp.c"
},
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"310216401841086643682702878966568467258",
"129283572921468133065732060440888582025",
"166313223915934619679882704047379246601",
"194036503599464021629164569699542406357",
"208948253552281324493803843886585669009",
"155278035506714970559446626167567764803",
"136379386825869073416672326844570382672"
],
"threshold": 0.9
}
},
{
"id": "CVE-2023-53643-14a4fec1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d82f762db4776fa11de88018f0f5de2d5db72a72",
"target": {
"file": "drivers/nvme/host/tcp.c"
},
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"310216401841086643682702878966568467258",
"129283572921468133065732060440888582025",
"166313223915934619679882704047379246601",
"194036503599464021629164569699542406357",
"208948253552281324493803843886585669009",
"155278035506714970559446626167567764803",
"136379386825869073416672326844570382672"
],
"threshold": 0.9
}
},
{
"id": "CVE-2023-53643-82acfc76",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@76d54bf20cdcc1ed7569a89885e09636e9a8d71d",
"target": {
"file": "drivers/nvme/host/tcp.c"
},
"signature_type": "Line",
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"310216401841086643682702878966568467258",
"129283572921468133065732060440888582025",
"166313223915934619679882704047379246601",
"194036503599464021629164569699542406357",
"208948253552281324493803843886585669009",
"155278035506714970559446626167567764803",
"136379386825869073416672326844570382672"
],
"threshold": 0.9
}
},
{
"id": "CVE-2023-53643-9f00a105",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@76d54bf20cdcc1ed7569a89885e09636e9a8d71d",
"target": {
"file": "drivers/nvme/host/tcp.c",
"function": "nvme_tcp_get_address"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 408.0,
"function_hash": "284154743915645594072361028443368282829"
}
},
{
"id": "CVE-2023-53643-a007f43a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fe2d9e54165dadaa0d0cc3355c0be9c3e129fa0d",
"target": {
"file": "drivers/nvme/host/tcp.c",
"function": "nvme_tcp_get_address"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 408.0,
"function_hash": "284154743915645594072361028443368282829"
}
},
{
"id": "CVE-2023-53643-d2f4dd8e",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d82f762db4776fa11de88018f0f5de2d5db72a72",
"target": {
"file": "drivers/nvme/host/tcp.c",
"function": "nvme_tcp_get_address"
},
"signature_type": "Function",
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 408.0,
"function_hash": "284154743915645594072361028443368282829"
}
}
]