CVE-2022-49765

MEDIUM EPSS 2.1%
Published May 1, 20251y ago · Modified Jun 17, 20262w ago
5.5 CVSS 3.1
Medium
Find Similar
Published May 1, 2025 1y ago
Last Modified Jun 17, 2026 2w ago

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)

CVSS Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
2.1% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-667

Affected Products 2

VendorProductVersionRange
linuxlinux_kernel* <5.15.80
linuxlinux_kernel*≥5.16  –  <6.0.10

References 3

  • git.kernel.org https://git.kernel.org/stable/c/296ab4a813841ba1d5f40b03190fd1bd8f25aab0
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/43bbadb7e4636dc02f6a283c2a39e6438e6173cd
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/717b9b4f38703d7f5293059e3a242d16f76fa045
    Patch

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/296ab4a813841ba1d5f40b03190fd1bd8f25aab0
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/43bbadb7e4636dc02f6a283c2a39e6438e6173cd
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/717b9b4f38703d7f5293059e3a242d16f76fa045
    Patch