# CVE-2022-50676: net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks()

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.10%, higher than 65% of CVEs (2026-11-30)
- Published: 2025-12-09T01:29:29.166Z
- Modified: 2026-08-05T08:59:22.454Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from ac3615e7f3cffe2a1a6b25172dfd09e138593d82 before 5d2ba255e93211e541373469dffbda7c99dfa0e5; from ac3615e7f3cffe2a1a6b25172dfd09e138593d82 before 2425007c0967a7c04b0dee7cce05ecf0ca869ad1; from ac3615e7f3cffe2a1a6b25172dfd09e138593d82 before e3cb25d3ad08f5dbd53ce2b31720cad529944322; from ac3615e7f3cffe2a1a6b25172dfd09e138593d82 before 360aa7219285fac63dab99706a16f2daf3222abe; from ac3615e7f3cffe2a1a6b25172dfd09e138593d82 before da349221c4d2d4ac5f606c1c3b36d4ef0b3e6a0c; from ac3615e7f3cffe2a1a6b25172dfd09e138593d82 before 30bfa5aa7228eb1e67663d67e553627e572cc717; from ac3615e7f3cffe2a1a6b25172dfd09e138593d82 before c380c28ab9b15fc53565909c814f6dd3e7f77c4b; from ac3615e7f3cffe2a1a6b25172dfd09e138593d82 before afe7053c390fe8ff27d0c2ceaece5625283044ba; from ac3615e7f3cffe2a1a6b25172dfd09e138593d82 before a91b750fd6629354460282bbf5146c01b05c4859; 4.8 (not affected: before 4.8; from 4.9.331 up to 4.9.*; from 4.14.296 up to 4.14.*; from 4.19.262 up to 4.19.*; from 5.4.220 up to 5.4.*; from 5.10.150 up to 5.10.*; from 5.15.75 up to 5.15.*; from 5.19.17 up to 5.19.*; from 6.0.3 up to 6.0.*; from 6.1 up to *)

## References

- <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>

## Sources

- CVE List: [CVE-2022-50676](https://www.cve.org/CVERecord?id=CVE-2022-50676), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-50676](https://nvd.nist.gov/vuln/detail/CVE-2022-50676), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-50676 · Whole record: https://cve.day/CVE-2022-50676.json · Rebuilt by cve.day 2026-11-25T22:58:21.316Z
