CVE-2022-49765
publishednet/9p: use a dedicated spinlock for trans_fd
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux673d62cdaac6ffbce980a349d3174b3929ceb9e5 to < 43bbadb7e4636dc02f6a283c2a39e6438e6173cd · 673d62cdaac6ffbce980a349d3174b3929ceb9e5 to < 717b9b4f38703d7f5293059e3a242d16f76fa045 · 673d62cdaac6ffbce980a349d3174b3929ceb9e5 to < 296ab4a813841ba1d5f40b03190fd1bd8f25aab0 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.28 (affected) · 0 to < 2.6.28 (unaffected · semver) · 5.15.80 through 5.15.* (unaffected · semver) · 6.0.10 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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)
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 673d62cdaac6ffbce980a349d3174b3929ceb9e5 to < 43bbadb7e4636dc02f6a283c2a39e6438e6173cd (affected · git)673d62cdaac6ffbce980a349d3174b3929ceb9e5 to < 717b9b4f38703d7f5293059e3a242d16f76fa045 (affected · git)673d62cdaac6ffbce980a349d3174b3929ceb9e5 to < 296ab4a813841ba1d5f40b03190fd1bd8f25aab0 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.28 (affected)0 to < 2.6.28 (unaffected · semver)5.15.80 through 5.15.* (unaffected · semver)6.0.10 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
net/9p: use a dedicated spinlock for trans_fd
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 25409b703bacf547e0a32c79f49ead8876c0cc7ceeda6d2223749e5f9d07d220
- Ingested
- 23 Sep 2026, 08:04:21 UTC
- Source record
- Official CVE record