CVE-2022-49765 Details
Description
In the Linux kernel, the following vulnerability has been resolved: net/9p: use a dedicated spinlock for trans_fd Shamelessly copying the explanation from Tetsuo Handa's suggested patch[1] (slightly reworded): syzbot is reporting inconsistent lock state in p9_req_put()[2], for p9_tag_remove() from p9_req_put() from IRQ context is using spin_lock_irqsave() on "struct p9_client"->lock but trans_fd (not from IRQ context) is using spin_lock(). Since the locks actually protect different things in client.c and in trans_fd.c, just replace trans_fd.c's lock by a new one specific to the transport (client.c's protect the idr for fid/tag allocations, while trans_fd.c's protects its own req list and request status field that acts as the transport's state machine)
A vulnerability in the Linux kernel's 9p transport layer has been addressed by introducing a dedicated spinlock for the transport's file descriptor management. The issue arose from an inconsistent lock state, where the removal of a 9p tag in interrupt context was improperly synchronized with the transport's state machine. This vulnerability affected the handling of request lists and request statuses, leading to potential synchronization issues.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/296ab4a813841ba1d5f40b03190fd1bd8f25aab0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/43bbadb7e4636dc02f6a283c2a39e6438e6173cd | kernel.org | Patch |
| https://git.kernel.org/stable/c/717b9b4f38703d7f5293059e3a242d16f76fa045 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-667 | Improper Locking | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 5.15.80 >= 5.16, < 6.0.10 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 6, 2025 | Initial Analysis | [email protected] |
| May 1, 2025 | New CVE Received | kernel.org |