{"id":"CVE-2023-53110","state":"PUBLISHED","title":"net/smc: fix NULL sndbuf_desc in smc_cdc_tx_handler()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: fix NULL sndbuf_desc in smc_cdc_tx_handler()\n\nWhen performing a stress test on SMC-R by rmmod mlx5_ib driver\nduring the wrk/nginx test, we found that there is a probability\nof triggering a panic while terminating all link groups.\n\nThis issue dues to the race between smc_smcr_terminate_all()\nand smc_buf_create().\n\n\t\t\tsmc_smcr_terminate_all\n\nsmc_buf_create\n/* init */\nconn->sndbuf_desc = NULL;\n...\n\n\t\t\t__smc_lgr_terminate\n\t\t\t\tsmc_conn_kill\n\t\t\t\t\tsmc_close_abort\n\t\t\t\t\t\tsmc_cdc_get_slot_and_msg_send\n\n\t\t\t__softirqentry_text_start\n\t\t\t\tsmc_wr_tx_process_cqe\n\t\t\t\t\tsmc_cdc_tx_handler\n\t\t\t\t\t\tREAD(conn->sndbuf_desc->len);\n\t\t\t\t\t\t/* panic dues to NULL sndbuf_desc */\n\nconn->sndbuf_desc = xxx;\n\nThis patch tries to fix the issue by always to check the sndbuf_desc\nbefore send any cdc msg, to make sure that no null pointer is\nseen during cqe processing.","publishedAt":"2025-05-02T15:55:50.367Z","updatedAt":"2026-10-15T21:41:26.885Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0b29ec6436138721acf5844e558f7334a0fa61d5","status":"affected","lessThan":"31817c530768b0199771ec6019571b4f0ddbf230","versionType":"git"},{"version":"0b29ec6436138721acf5844e558f7334a0fa61d5","status":"affected","lessThan":"b108bd9e6be000492ebebe867daa699285978a10","versionType":"git"},{"version":"0b29ec6436138721acf5844e558f7334a0fa61d5","status":"affected","lessThan":"3c270435db8aa34929263dddae8fd050f5216ecb","versionType":"git"},{"version":"0b29ec6436138721acf5844e558f7334a0fa61d5","status":"affected","lessThan":"3ebac7cf0a184a8102821a7a00203f02bebda83c","versionType":"git"},{"version":"0b29ec6436138721acf5844e558f7334a0fa61d5","status":"affected","lessThan":"22a825c541d775c1dbe7b2402786025acad6727b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/smc/smc_cdc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.5","versionType":"semver"},{"version":"5.10.176","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.104","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.21","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.2.8","status":"unaffected","lessThanOrEqual":"6.2.*","versionType":"semver"},{"version":"6.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/smc/smc_cdc.c"]}],"references":["https://git.kernel.org/stable/c/31817c530768b0199771ec6019571b4f0ddbf230","https://git.kernel.org/stable/c/b108bd9e6be000492ebebe867daa699285978a10","https://git.kernel.org/stable/c/3c270435db8aa34929263dddae8fd050f5216ecb","https://git.kernel.org/stable/c/3ebac7cf0a184a8102821a7a00203f02bebda83c","https://git.kernel.org/stable/c/22a825c541d775c1dbe7b2402786025acad6727b"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/53xxx/CVE-2023-53110.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-53110","state":"PUBLISHED","datePublished":"2025-05-02T15:55:50.367Z","dateUpdated":"2026-10-15T21:41:26.885Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-05-02T15:51:43.554Z"},"containers":{"cna":{"title":"net/smc: fix NULL sndbuf_desc in smc_cdc_tx_handler()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: fix NULL sndbuf_desc in smc_cdc_tx_handler()\n\nWhen performing a stress test on SMC-R by rmmod mlx5_ib driver\nduring the wrk/nginx test, we found that there is a probability\nof triggering a panic while terminating all link groups.\n\nThis issue dues to the race between smc_smcr_terminate_all()\nand smc_buf_create().\n\n\t\t\tsmc_smcr_terminate_all\n\nsmc_buf_create\n/* init */\nconn->sndbuf_desc = NULL;\n...\n\n\t\t\t__smc_lgr_terminate\n\t\t\t\tsmc_conn_kill\n\t\t\t\t\tsmc_close_abort\n\t\t\t\t\t\tsmc_cdc_get_slot_and_msg_send\n\n\t\t\t__softirqentry_text_start\n\t\t\t\tsmc_wr_tx_process_cqe\n\t\t\t\t\tsmc_cdc_tx_handler\n\t\t\t\t\t\tREAD(conn->sndbuf_desc->len);\n\t\t\t\t\t\t/* panic dues to NULL sndbuf_desc */\n\nconn->sndbuf_desc = xxx;\n\nThis patch tries to fix the issue by always to check the sndbuf_desc\nbefore send any cdc msg, to make sure that no null pointer is\nseen during cqe processing."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0b29ec6436138721acf5844e558f7334a0fa61d5","status":"affected","lessThan":"31817c530768b0199771ec6019571b4f0ddbf230","versionType":"git"},{"version":"0b29ec6436138721acf5844e558f7334a0fa61d5","status":"affected","lessThan":"b108bd9e6be000492ebebe867daa699285978a10","versionType":"git"},{"version":"0b29ec6436138721acf5844e558f7334a0fa61d5","status":"affected","lessThan":"3c270435db8aa34929263dddae8fd050f5216ecb","versionType":"git"},{"version":"0b29ec6436138721acf5844e558f7334a0fa61d5","status":"affected","lessThan":"3ebac7cf0a184a8102821a7a00203f02bebda83c","versionType":"git"},{"version":"0b29ec6436138721acf5844e558f7334a0fa61d5","status":"affected","lessThan":"22a825c541d775c1dbe7b2402786025acad6727b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/smc/smc_cdc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.5","versionType":"semver"},{"version":"5.10.176","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.104","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.21","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.2.8","status":"unaffected","lessThanOrEqual":"6.2.*","versionType":"semver"},{"version":"6.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/smc/smc_cdc.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/31817c530768b0199771ec6019571b4f0ddbf230"},{"url":"https://git.kernel.org/stable/c/b108bd9e6be000492ebebe867daa699285978a10"},{"url":"https://git.kernel.org/stable/c/3c270435db8aa34929263dddae8fd050f5216ecb"},{"url":"https://git.kernel.org/stable/c/3ebac7cf0a184a8102821a7a00203f02bebda83c"},{"url":"https://git.kernel.org/stable/c/22a825c541d775c1dbe7b2402786025acad6727b"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - The race window is on the SMC server listen path (smc_listen_work → smc_listen_rdma_init → smc_conn_create then smc_buf_create), driven by remote CLC over TCP and peer LLC DELETE_LINK/protocol events over RoCE; SMC-Rv2/RoCEv2 and CLC are IP-routable, matching other SMC remote scores.\nAC:L - A remote peer controls both sides: it opens handshakes that register a connection with sndbuf_desc still NULL, and can force __smc_lgr_terminate via LLC DELETE_LINK ALL or CLC decline, retrying across parallel connections through a wide sleeping buf-create window.\nPR:N - CLC/LLC run before any application authentication; SMC performs no peer credential checks, and reaching an AF_SMC listener needs no account or capability on the target.\nUI:N - The listen worker and terminate_work run automatically on inbound SMC traffic and peer link teardown with no local user action required.\nS:U - The NULL dereference oops stays inside the host kernel SMC/RDMA softirq path and does not cross a VM, IOMMU, or other security authority.\nC:N - smc_cdc_tx_handler only loads conn->sndbuf_desc->len when sndbuf_desc is still NULL (never assigned); this is a pure NULL pointer dereference with no UAF/OOB read or disclosure primitive.\nI:N - The fault is a NULL dereference on a never-set pointer under mmap_min_addr, with no OOB write, type confusion, or other corruption that could yield a write or code-execution primitive.\nA:H - The documented failure is a kernel panic/oops in softirq (smc_wr_tx_process_cqe → smc_cdc_tx_handler reading sndbuf_desc->len), which is High availability impact and is remotely repeatable."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T09:12:49.931Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.176"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.15.104"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.1.21"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.2.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2023-53110","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-10-15T21:33:55.502360Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-15T21:41:26.885Z"}}]}}}