{"id":"CVE-2026-90173","revision":null,"records":[{"revision":"c1336483f0fb45e18dca13cd479ca833","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-90173","aliases":[],"title":"smb: smbdirect: free completion queues with ib_free_cq()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: smbdirect: free completion queues with ib_free_cq()\n\nsmbdirect_connection_destroy_qp() creates the send and receive completion\nqueues with ib_alloc_cq_any(), which for IB_POLL_WORKQUEUE arms an\ninternal completion handler that runs ib_cq_poll_work() on a workqueue.\nTearing those CQs down with ib_destroy_cq() frees them without first\ncancelling that poll work.\n\nIf the provider posts a completion late -- for example Soft-RoCE (rxe)\nposting an RNR error from rxe_receiver() after rdma_destroy_qp() -- the\nhandler re-queues ib_cq_poll_work() on the already-freed CQ, and a\nfollow-on access faults in rxe_req_notify_cq().\n\nUse ib_free_cq(), which cancel_work_sync()es the poll work before freeing\nthe CQ, so no completion handler can run against a freed queue.\n\n[ 1236.599526] ==================================================================\n[ 1236.602142] BUG: KASAN: slab-use-after-free in ib_cq_poll_work+0xd0/0x1a0\n[ 1236.605524] Read of size 8 at addr ffff888111865800 by task kworker/4:1H/82\n[ 1236.609017]\n[ 1236.609270] CPU: 4 UID: 0 PID: 82 Comm: kworker/4:1H Not tainted 7.2.0-rc3-next-20260717-virtme #110 PREEMPT(lazy)\n[ 1236.609287] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.17.0-debian-1.17.0-1 04/01/2014\n[ 1236.609498] Workqueue: ib-comp-wq ib_cq_poll_work\n[ 1236.609525] Call Trace:\n[ 1236.609536]  <TASK>\n[ 1236.609545]  __dump_stack+0x21/0x60\n[ 1236.609562]  dump_stack_lvl+0xc2/0x100\n[ 1236.609573]  print_address_description+0x77/0x200\n[ 1236.609587]  ? ib_cq_poll_work+0xd0/0x1a0\n[ 1236.609597]  print_report+0x58/0x70\n[ 1236.609607]  kasan_report+0x117/0x150\n[ 1236.609623]  ? ib_cq_poll_work+0xd0/0x1a0\n[ 1236.609636]  ? process_scheduled_works+0x954/0x1600\n[ 1236.609650]  ib_cq_poll_work+0xd0/0x1a0\n[ 1236.609662]  ? process_scheduled_works+0x954/0x1600\n[ 1236.609674]  process_scheduled_works+0xc22/0x1600\n[ 1236.609698]  ? __pfx_process_scheduled_works+0x10/0x10\n[ 1236.609713]  ? __pfx_assign_work+0x10/0x10\n[ 1236.609726]  ? lock_is_held_type+0x7b/0x110\n[ 1236.609741]  worker_thread+0x975/0xee0\n[ 1236.609757]  ? __pfx_do_raw_spin_lock+0x10/0x10\n[ 1236.609775]  ? __kthread_parkme+0x21e/0x260\n[ 1236.609789]  kthread+0x3a6/0x490\n[ 1236.609800]  ? __pfx_worker_thread+0x10/0x10\n[ 1236.609809]  ? __pfx_kthread+0x10/0x10\n[ 1236.609820]  ret_from_fork+0x55a/0xa20\n[ 1236.609835]  ? __pfx_ret_from_fork+0x10/0x10\n[ 1236.609850]  ? __pfx_kthread+0x10/0x10\n[ 1236.609861]  ret_from_fork_asm+0x1a/0x30\n[ 1236.609880]  </TASK>\n[ 1236.609886]\n[ 1236.661292] Allocated by task 5076:\n[ 1236.662640]  kasan_save_track+0x3e/0x80\n[ 1236.663842]  __kasan_kmalloc+0x72/0x90\n[ 1236.664763]  __kmalloc_noprof+0x2b0/0x5d0\n[ 1236.665356]  __ib_alloc_cq+0x284/0x1000\n[ 1236.666573]  __ib_alloc_cq_any+0x23e/0x340\n[ 1236.668654]  smbdirect_connection_create_qp+0x6f7/0x1070\n[ 1236.669757]  smbdirect_accept_connect_request+0x500/0x1ca0\n[ 1236.672625]  smbdirect_listen_rdma_event_handler+0x1655/0x1c50\n[ 1236.673930]  cma_listen_handler+0x1bf/0x260\n[ 1236.674923]  cma_cm_event_handler+0x128/0x380\n[ 1236.676926]  cma_ib_req_handler+0x2d3d/0x4de0\n[ 1236.678368]  cm_process_work+0xb0/0x530\n[ 1236.680454]  cm_queue_work_unlock+0xb1/0x230\n[ 1236.681673]  cm_work_handler+0x969f/0xdca0\n[ 1236.682704]  process_scheduled_works+0xc22/0x1600\n[ 1236.683447]  worker_thread+0x975/0xee0\n[ 1236.685901]  kthread+0x3a6/0x490\n[ 1236.688164]  ret_from_fork+0x55a/0xa20\n[ 1236.689522]  ret_from_fork_asm+0x1a/0x30\n[ 1236.690073]\n[ 1236.690378] Freed by task 5137:\n[ 1236.692242]  kasan_save_track+0x3e/0x80\n[ 1236.694272]  kasan_save_free_info+0x40/0x50\n[ 1236.695514]  __kasan_slab_free+0x3a/0x60\n[ 1236.696773]  kfree+0x14e/0x4e0\n[ 1236.697216]  ib_destroy_cq_user+0x18d/0x250\n[ 1236.699817]  smbdirect_connection_destroy_qp+0xf2/0x280\n[ 1236.702115]  smbdirect_socket_destroy_sync+0x1607/0x2720\n[ 1236.704062]  smbdirect_socket_release+0x140/0x280\n[ 1236.705286]  smb_direct_free_transpor\n---truncated---","state":0,"publishedAt":"2026-09-17T16:07:00.463+00:00","modifiedAt":"2026-10-19T08:59:10.504+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/smb/smbdirect/connection.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6073eb3e31756d569c4853fb22724525739d0e0c\",\n                            \"lessThan\": \"8a953b1a47fffb71e70767bc1e914401e3c2f27f\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"6073eb3e31756d569c4853fb22724525739d0e0c\",\n                            \"lessThan\": \"fe2c0cacbcff9d56c03b296f68f22151c4223b04\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/smb/smbdirect/connection.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"7.1\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"7.1\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.6\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"references":["https://git.kernel.org/stable/c/8a953b1a47fffb71e70767bc1e914401e3c2f27f","https://git.kernel.org/stable/c/fe2c0cacbcff9d56c03b296f68f22151c4223b04"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-90173","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-90173","identifiers":["CVE-2026-90173"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-09T03:04:09.5264463+00:00","complete":true,"records":1769,"lastAttemptAt":"2026-11-09T03:04:09.5264463+00:00","lastSuccessAt":"2026-11-09T03:04:09.687719+00:00","error":null,"lastVerifiedAt":"2026-11-09T03:04:09.687725+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-24e6fde7b744113daefb8f6135035fb8a5c69c9617c9c0d40574a0376532ffd3-147e40e6bacaf605c8b8b91790303c2161fe161e986dcab4007ffaf615b27ea0","complete":true,"records":421280,"lastAttemptAt":"2026-11-09T03:02:14.7184665+00:00","lastSuccessAt":"2026-11-09T03:02:14.7023872+00:00","error":null,"lastVerifiedAt":"2026-11-09T03:02:14.7184665+00:00","snapshotPublishedAt":"2026-11-09T02:22:19+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-5923d59598fe46c98ec384fbfaf44bc7","complete":false,"records":13654,"lastAttemptAt":"2026-11-09T03:16:18.1412099+00:00","lastSuccessAt":"2026-11-09T03:16:18.138+00:00","error":"6 identifier lookups failed; latest failures include HTTP 403. Other identifiers were checked independently.","lastVerifiedAt":"2026-11-09T03:16:18.138+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13655,"expectedIdentifiers":13706,"failedIdentifiers":6},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-09T03:04:09.5264463+00:00","complete":true,"records":1096,"lastAttemptAt":"2026-11-09T03:04:09.5264463+00:00","lastSuccessAt":"2026-11-09T03:04:09.6884561+00:00","error":null,"lastVerifiedAt":"2026-11-09T03:04:09.6884561+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-5a44a451442747cb81d83104fe1e7771","complete":true,"records":13666,"lastAttemptAt":"2026-11-09T03:04:10.1662574+00:00","lastSuccessAt":"2026-11-09T02:08:52.274+00:00","error":null,"lastVerifiedAt":"2026-11-09T02:08:52.274+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13706,"expectedIdentifiers":13706,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-980593e6977a6d1b4fb1eed5a1ffe88a468736f89f0a06f710924ad59132c023","complete":true,"records":9914,"lastAttemptAt":"2026-11-09T03:04:09.4835743+00:00","lastSuccessAt":"2026-11-08T11:07:07.068788+00:00","error":null,"lastVerifiedAt":"2026-11-09T03:04:09.4835743+00:00","snapshotPublishedAt":"2026-11-08T11:02:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-fde804134ecdda0ddd5ff5c26ee1fff5a6fa659311f7ef2e51c6ad54964db0e2","complete":true,"records":1971,"lastAttemptAt":"2026-11-09T03:02:14.8618119+00:00","lastSuccessAt":"2026-11-06T19:03:17.0399903+00:00","error":null,"lastVerifiedAt":"2026-11-09T03:02:14.8618119+00:00","snapshotPublishedAt":"2026-11-06T18:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-3b1150af6d7ada2c07356cbab4ead5224c1485027890f71c71d0742cddf0b9e8","complete":true,"records":3055,"lastAttemptAt":"2026-11-09T03:04:09.4954044+00:00","lastSuccessAt":"2026-11-09T00:02:23.4330288+00:00","error":null,"lastVerifiedAt":"2026-11-09T03:04:09.4954044+00:00","snapshotPublishedAt":"2026-11-08T23:17:54+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-d847477990cd62b1d95e922f40ca328269fbc268a0aa72bfe5bee28e656d8ce7","complete":true,"records":231296,"lastAttemptAt":"2026-11-09T03:04:09.3500258+00:00","lastSuccessAt":"2026-11-09T03:04:07.965371+00:00","error":null,"lastVerifiedAt":"2026-11-09T03:04:09.3500258+00:00","snapshotPublishedAt":"2026-11-09T02:33:09+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}