{"id":"CVE-2022-49765","published":"2025-05-01T14:09:04Z","modified":"2026-05-11T19:06:20Z","title":"net/9p: use a dedicated spinlock for trans_fd","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/9p: use a dedicated spinlock for trans_fd\n\nShamelessly copying the explanation from Tetsuo Handa's suggested\npatch[1] (slightly reworded):\nsyzbot is reporting inconsistent lock state in p9_req_put()[2],\nfor p9_tag_remove() from p9_req_put() from IRQ context is using\nspin_lock_irqsave() on \"struct p9_client\"->lock but trans_fd\n(not from IRQ context) is using spin_lock().\n\nSince the locks actually protect different things in client.c and in\ntrans_fd.c, just replace trans_fd.c's lock by a new one specific to the\ntransport (client.c's protect the idr for fid/tag allocations,\nwhile trans_fd.c's protects its own req list and request status field\nthat acts as the transport's state machine)","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00151,"percentile":0.04204,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/43bbadb7e4636dc02f6a283c2a39e6438e6173cd","tags":[]},{"url":"https://git.kernel.org/stable/c/717b9b4f38703d7f5293059e3a242d16f76fa045","tags":[]},{"url":"https://git.kernel.org/stable/c/296ab4a813841ba1d5f40b03190fd1bd8f25aab0","tags":[]}],"priority":{"score":0.8,"factors":[{"name":"EPSS percentile","points":0.84}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 673d62cdaac6ffbce980a349d3174b3929ceb9e5, < 43bbadb7e4636dc02f6a283c2a39e6438e6173cd",">= 673d62cdaac6ffbce980a349d3174b3929ceb9e5, < 717b9b4f38703d7f5293059e3a242d16f76fa045",">= 673d62cdaac6ffbce980a349d3174b3929ceb9e5, < 296ab4a813841ba1d5f40b03190fd1bd8f25aab0"]},{"vendor":"Linux","product":"Linux","versions":["2.6.28"]}],"euvd":{"id":"EUVD-2025-13022","exploited":false,"provenance":"source"}}