{"id":"CVE-2026-99853","aliases":[],"cve":{"records":[{"id":"CVE-2026-99853","source":"Linux","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-25T10:25:14.438Z","published":"2026-11-30T13:17:40.304Z","modified":"2026-11-30T13:17:40.304Z"}],"publishers":[{"name":"Linux","role":"CNA","organizationId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","modified":"2026-11-30T13:17:40.304Z"}],"references":[{"url":"https://git.kernel.org/stable/c/bbca60a0ac5dca1d2f4e547f0fa0402001d12299","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/32bfe3eddb18691b482893c730fd71b0996e4aca","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/6aba58adb5ff9d4b62b820518f409f1ee615021a","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/5db358f3a7f9c33717622c1597d15c4c91997b19","tags":[],"source":"Linux"}],"weaknesses":[],"applicability":[{"source":"Linux","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.36","versionEndExcluding":"6.12.118"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.4-rc1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15.5"}]}]}]}],"prioritization":[]},"title":"nvme-tcp: fix io_work priority inversion when send_mutex is held","titleSource":"Linux","descriptionSource":"Linux","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-tcp: fix io_work priority inversion when send_mutex is held\n\nCommit f42d4796ee10 (\"nvme-tcp: fix I/O stalls on congested sockets\")\nadded a check in nvme_tcp_io_work() that sets pending to true when the\nqueue has pending requests and the socket is writeable. The check is\nplaced after the mutex_trylock() block, so it also runs when\nmutex_trylock(&queue->send_mutex) failed and io_work did not send\nanything.\n\nWhen .queue_rq sends a request directly from its own context, it holds\nsend_mutex and can give up the CPU in lock_sock_nested() when another\ntask needs the CPU, for example the io_work kworker of the same queue,\nwhich runs on the same CPU. Then io_work cannot take send_mutex, but\nthe requests are still on req_list and the socket is writeable, so\npending is set to true. io_work loops until the deadline and queues\nitself again on io_cpu, without sleeping.\n\nThis is a priority inversion. io_work runs on the high priority\nnvme_tcp_wq and cannot make progress until send_mutex is released, but\nit keeps running. The task holding send_mutex runs at normal priority\nand needs the CPU to release it. The scheduler keeps giving the CPU to\nio_work, so the task holding send_mutex may not run again, and the\nrequests on the queue are not sent and time out.\n\nThis is the same problem that commit 70f437fb4395 (\"nvme-tcp: fix\nio_work priority inversion\") fixed. That commit removed\n\"pending = !llist_empty(&queue->req_list)\" from the path where\nmutex_trylock() fails, and let the task holding send_mutex queue\nio_work again in nvme_tcp_queue_request() after it releases the mutex.\nThe new check brings back the same behavior in a different form.\n\nTwo things make this easier to hit. nvme_tcp_queue_request() sends\ndirectly only when it runs on io_cpu, so the task that takes send_mutex\nis on the same CPU as the io_work kworker of that queue when it takes\nthe mutex. Also, when the tasks are in a cgroup with the cpu controller\nenabled, the whole group competes with the nice -20 kworker as one\nentity, so each task in the group gets even less CPU time.\n\nWe hit this on a 6 CPU VM running a database on nvme-tcp storage. In\nthe vmcore, 2 tasks held send_mutex of 2 queues and were runnable in\nlock_sock_nested() for 103 seconds, while the kworkers for those queues\nkept running io_work on their CPUs. All database tasks were in one\ncgroup, which got only about 0.3% of the CPU against the nice -20\nkworker. Requests timed out, and blk_mq_timeout_work() waited in\nsynchronize_srcu() for the tasks still in .queue_rq.\n\nOnly do the pending check if io_work could take send_mutex. If it could\nnot, the task holding send_mutex sends what it can in\nnvme_tcp_send_all(), and queues io_work again after it releases the\nmutex if requests are still pending, so no request is left behind.","score":null,"severity":"unknown","published":"2026-11-30T13:17:40.304Z","modified":"2026-11-30T13:17:40.304Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"7b86ce16706b985e27fe589675f1dee1708032c8","status":"affected","lessThan":"bbca60a0ac5dca1d2f4e547f0fa0402001d12299","versionType":"git"},{"version":"f42d4796ee100fade86086d1cf98537fb4d326c8","status":"affected","lessThan":"32bfe3eddb18691b482893c730fd71b0996e4aca","versionType":"git"},{"version":"f42d4796ee100fade86086d1cf98537fb4d326c8","status":"affected","lessThan":"6aba58adb5ff9d4b62b820518f409f1ee615021a","versionType":"git"},{"version":"f42d4796ee100fade86086d1cf98537fb4d326c8","status":"affected","lessThan":"5db358f3a7f9c33717622c1597d15c4c91997b19","versionType":"git"},{"version":"8484cbcf59c0f222ef31a3dd2a7ab59506464554","status":"affected","versionType":"git"},{"version":"6.12.36","status":"affected","lessThan":"6.12.118","versionType":"semver"},{"version":"6.15.5","status":"affected","lessThan":"6.16","versionType":"semver"}],"defaultStatus":"unaffected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99853"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.12.118","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.63","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.4","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"defaultStatus":"affected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99853"}],"remediation":[],"references":["https://git.kernel.org/stable/c/bbca60a0ac5dca1d2f4e547f0fa0402001d12299","https://git.kernel.org/stable/c/32bfe3eddb18691b482893c730fd71b0996e4aca","https://git.kernel.org/stable/c/6aba58adb5ff9d4b62b820518f409f1ee615021a","https://git.kernel.org/stable/c/5db358f3a7f9c33717622c1597d15c4c91997b19"],"sources":[{"name":"CVE","id":"CVE-2026-99853","modified":"2026-11-30T13:17:40.304Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99853"}],"assessments":[],"sourceAffected":[],"observedAt":"2026-11-30T13:47:03.934Z","kev":{"status":"not-listed","checkedAt":"2026-11-30T22:55:31.926Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":null}