{"id":"CVE-2026-68438","published":"2026-08-12T00:07:27Z","modified":"2026-08-17T05:05:35Z","title":"smp: Make CSD lock acquisition atomic for debug mode","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmp: Make CSD lock acquisition atomic for debug mode\n\nCommit b0473dcd4b1d (\"smp: Improve smp_call_function_single()\nCSD-lock diagnostics\") changed smp_call_function_single() so that,\nwhen CSD lock debugging is enabled, async !wait calls use the\ndestination CPU csd_data. That improves diagnostics, but it also removes\nthe single-writer property that made the old csd_lock() safe: multiple\nCPUs can now prepare the same destination CPU CSD concurrently.\n\ncsd_lock() currently waits for CSD_FLAG_LOCK to clear and then sets the\nbit with a non-atomic read-modify-write. Two senders can both see an\nunlocked CSD, set the bit, overwrite the callback fields, and enqueue\nthe same llist node. Re-adding a node that is already the queue head can\nmake node->next point to itself, leaving the target CPU stuck walking\ncall_single_queue. Later synchronous work, such as a TLB shootdown, can\nthen remain queued and trigger soft-lockup warnings or panics.\n\nKeep the single csd_lock() implementation, but when CSD lock debugging is\nenabled, acquire CSD_FLAG_LOCK with try_cmpxchg_acquire(). This makes the\ndestination CPU CSD a real atomic lock in the only configuration where it\ncan be shared by multiple remote senders, while preserving the existing\nnon-debug fast path.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00198,"percentile":0.09432,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/282d220bae5fbfc90cf0e3d5b5e42c00ad79f989","tags":[]},{"url":"https://git.kernel.org/stable/c/35551efb155e3b83445a6c3f66cb498d5efc182c","tags":[]}],"priority":{"score":1.9,"factors":[{"name":"EPSS percentile","points":1.89}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= b0473dcd4b1d7e2e44947e7ac1820c73a268821a, < 282d220bae5fbfc90cf0e3d5b5e42c00ad79f989",">= b0473dcd4b1d7e2e44947e7ac1820c73a268821a, < 35551efb155e3b83445a6c3f66cb498d5efc182c"]},{"vendor":"Linux","product":"Linux","versions":["7.1"]}],"euvd":{"id":"EUVD-2026-57046","exploited":false,"provenance":"source"}}