{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "7b86ce16706b985e27fe589675f1dee1708032c8"
            },
            {
              "fixed": "bbca60a0ac5dca1d2f4e547f0fa0402001d12299"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "f42d4796ee100fade86086d1cf98537fb4d326c8"
            },
            {
              "fixed": "32bfe3eddb18691b482893c730fd71b0996e4aca"
            },
            {
              "fixed": "6aba58adb5ff9d4b62b820518f409f1ee615021a"
            },
            {
              "fixed": "5db358f3a7f9c33717622c1597d15c4c91997b19"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "8484cbcf59c0f222ef31a3dd2a7ab59506464554"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.12.36"
            },
            {
              "fixed": "6.12.118"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.15.5"
            },
            {
              "fixed": "6.16"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.16.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99853.json"
  },
  "details": "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(\u0026queue-\u003esend_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(\u0026queue-\u003ereq_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.",
  "id": "CVE-2026-99853",
  "modified": "2026-11-30T14:46:07.082266553Z",
  "published": "2026-11-30T13:17:40.304Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/32bfe3eddb18691b482893c730fd71b0996e4aca"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5db358f3a7f9c33717622c1597d15c4c91997b19"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6aba58adb5ff9d4b62b820518f409f1ee615021a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bbca60a0ac5dca1d2f4e547f0fa0402001d12299"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99853.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99853"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "nvme-tcp: fix io_work priority inversion when send_mutex is held"
}