CVE-2022-50676
net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < 5d2ba255e93211e541373469dffbda7c99dfa0e5; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < 2425007c0967a7c04b0dee7cce05ecf0ca869ad1; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < e3cb25d3ad08f5dbd53ce2b31720cad529944322; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < 360aa7219285fac63dab99706a16f2daf3222abe; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < da349221c4d2d4ac5f606c1c3b36d4ef0b3e6a0c; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < 30bfa5aa7228eb1e67663d67e553627e572cc717; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < c380c28ab9b15fc53565909c814f6dd3e7f77c4b; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < afe7053c390fe8ff27d0c2ceaece5625283044ba; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < a91b750fd6629354460282bbf5146c01b05c4859
- Anyone running Linux 4.8
Vulnerability facts
- Affected
- Linux >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < 5d2ba255e93211e541373469dffbda7c99dfa0e5; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < 2425007c0967a7c04b0dee7cce05ecf0ca869ad1; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < e3cb25d3ad08f5dbd53ce2b31720cad529944322; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < 360aa7219285fac63dab99706a16f2daf3222abe; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < da349221c4d2d4ac5f606c1c3b36d4ef0b3e6a0c; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < 30bfa5aa7228eb1e67663d67e553627e572cc717; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < c380c28ab9b15fc53565909c814f6dd3e7f77c4b; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < afe7053c390fe8ff27d0c2ceaece5625283044ba; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < a91b750fd6629354460282bbf5146c01b05c4859; Linux 4.8
- Fixed in
- Linux 5d2ba255e93211e541373469dffbda7c99dfa0e5, Linux 2425007c0967a7c04b0dee7cce05ecf0ca869ad1, Linux 360aa7219285fac63dab99706a16f2daf3222abe, Linux 30bfa5aa7228eb1e67663d67e553627e572cc717
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 1.10% chance of exploitation in 30 days (percentile 65, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks() syzbot is reporting lockdep warning at rds_tcp_reset_callbacks() [1], for commit ac3615e7f3cffe2a ("RDS: TCP: Reduce code duplication in rds_tcp_reset_callbacks()") added cancel_delayed_work_sync() into a section protected by lock_sock() without realizing that rds_send_xmit() might call lock_sock(). We don't need to protect cancel_delayed_work_sync() using lock_sock(), for even if rds_{send,recv}_worker() re-queued this work while __flush_work() from cancel_delayed_work_sync() was waiting for this work to complete, retried rds_{send,recv}_worker() is no-op due to the absence of RDS_CONN_UP bit.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < 5d2ba255e93211e541373469dffbda7c99dfa0e5; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < 2425007c0967a7c04b0dee7cce05ecf0ca869ad1; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < e3cb25d3ad08f5dbd53ce2b31720cad529944322; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < 360aa7219285fac63dab99706a16f2daf3222abe; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < da349221c4d2d4ac5f606c1c3b36d4ef0b3e6a0c; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < 30bfa5aa7228eb1e67663d67e553627e572cc717; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < c380c28ab9b15fc53565909c814f6dd3e7f77c4b; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < afe7053c390fe8ff27d0c2ceaece5625283044ba; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < a91b750fd6629354460282bbf5146c01b05c4859 | — | cvelist |
| Linux | 4.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50676. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50676.md Affected: Linux >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < 5d2ba255e93211e541373469dffbda7c99dfa0e5; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < 2425007c0967a7c04b0dee7cce05ecf0ca869ad1; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < e3cb25d3ad08f5dbd53ce2b31720cad529944322; >= ac3615e7f3cffe2a1a6b251… Fixed in: Linux 5d2ba255e93211e541373469dffbda7c99dfa0e5, Linux 2425007c0967a7c04b0dee7cce05ecf0ca869ad1, Linux 360aa7219285fac63dab99706a16f2daf3222abe, Linux 30bfa5aa7228eb1e67663d67e553627e572cc717 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/5d2ba255e93211e541373469dffbda7c99dfa0e5
- https://git.kernel.org/stable/c/2425007c0967a7c04b0dee7cce05ecf0ca869ad1
- https://git.kernel.org/stable/c/e3cb25d3ad08f5dbd53ce2b31720cad529944322
- https://git.kernel.org/stable/c/360aa7219285fac63dab99706a16f2daf3222abe
- https://git.kernel.org/stable/c/da349221c4d2d4ac5f606c1c3b36d4ef0b3e6a0c
- https://git.kernel.org/stable/c/30bfa5aa7228eb1e67663d67e553627e572cc717
- https://git.kernel.org/stable/c/c380c28ab9b15fc53565909c814f6dd3e7f77c4b
- https://git.kernel.org/stable/c/afe7053c390fe8ff27d0c2ceaece5625283044ba
- https://git.kernel.org/stable/c/a91b750fd6629354460282bbf5146c01b05c4859
FAQ
Is CVE-2022-50676 being exploited?
There is no confirmed exploitation: CVE-2022-50676 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.10% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50676?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2022-50676?
Linux >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < 5d2ba255e93211e541373469dffbda7c99dfa0e5; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < 2425007c0967a7c04b0dee7cce05ecf0ca869ad1; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < e3cb25d3ad08f5dbd53ce2b31720cad529944322; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < 360aa7219285fac63dab99706a16f2daf3222abe; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < da349221c4d2d4ac5f606c1c3b36d4ef0b3e6a0c; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < 30bfa5aa7228eb1e67663d67e553627e572cc717; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < c380c28ab9b15fc53565909c814f6dd3e7f77c4b; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < afe7053c390fe8ff27d0c2ceaece5625283044ba; >= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < a91b750fd6629354460282bbf5146c01b05c4859; Linux 4.8.
Is there a fix for CVE-2022-50676?
Yes. Fixed in Linux 5d2ba255e93211e541373469dffbda7c99dfa0e5, Linux 2425007c0967a7c04b0dee7cce05ecf0ca869ad1, Linux 360aa7219285fac63dab99706a16f2daf3222abe, Linux 30bfa5aa7228eb1e67663d67e553627e572cc717. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-50676?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.