CVE-2022-50676
published high CVSS 3.1 · 7.5net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxac3615e7f3cffe2a1a6b25172dfd09e138593d82 to < 5d2ba255e93211e541373469dffbda7c99dfa0e5 · ac3615e7f3cffe2a1a6b25172dfd09e138593d82 to < 2425007c0967a7c04b0dee7cce05ecf0ca869ad1 · ac3615e7f3cffe2a1a6b25172dfd09e138593d82 to < e3cb25d3ad08f5dbd53ce2b31720cad529944322 · ac3615e7f3cffe2a1a6b25172dfd09e138593d82 to < 360aa7219285fac63dab99706a16f2daf3222abe · ac3615e7f3cffe2a1a6b25172dfd09e138593d82 to < da349221c4d2d4ac5f606c1c3b36d4ef0b3e6a0c · ac3615e7f3cffe2a1a6b25172dfd09e138593d82 to < 30bfa5aa7228eb1e67663d67e553627e572cc717 · ac3615e7f3cffe2a1a6b25172dfd09e138593d82 to < c380c28ab9b15fc53565909c814f6dd3e7f77c4b · ac3615e7f3cffe2a1a6b25172dfd09e138593d82 to < afe7053c390fe8ff27d0c2ceaece5625283044ba · ac3615e7f3cffe2a1a6b25172dfd09e138593d82 to < a91b750fd6629354460282bbf5146c01b05c4859 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.8 (affected) · 0 to < 4.8 (unaffected · semver) · 4.9.331 through 4.9.* (unaffected · semver) · 4.14.296 through 4.14.* (unaffected · semver) · 4.19.262 through 4.19.* (unaffected · semver) · 5.4.220 through 5.4.* (unaffected · semver) · 5.10.150 through 5.10.* (unaffected · semver) · 5.15.75 through 5.15.* (unaffected · semver) · 5.19.17 through 5.19.* (unaffected · semver) · 6.0.3 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 evaluationALAS2-2022-1876 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2022-023 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-090 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2022-039 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2-2022-1876 |
Show 60 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaults390x | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultppc64le | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaults390x | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaults390x | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultaarch64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultppc64le | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaults390x | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultx86_64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseaarch64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseppc64le | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-bases390x | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-basex86_64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develaarch64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develppc64le | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-devels390x | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develx86_64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftppc64le | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgrafts390x | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftx86_64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develppc64le | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-devels390x | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develx86_64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-mans390x | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-develnoarch | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-macrosnoarch | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-sourcenoarch | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsaarch64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsppc64le | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symss390x | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsx86_64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_293-defaultppc64le | Advisory build | 1-8.3.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_293-defaults390x | Advisory build | 1-8.3.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_293-defaultx86_64 | Advisory build | 1-8.3.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultaarch64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaults390x | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.293.1 | SUSE-SU-2026:0473-1 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-023 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2025-090 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2022-039 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2-2022-1876 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-023 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2025-090 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2022-039 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2-2022-1876 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-023 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2025-090 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2022-039 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2-2022-1876 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2022-023 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2025-090 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2022-039 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: AV:N - The vulnerable rds_tcp_reset_callbacks() path is reached from rds_tcp_accept_one() when a remote peer TCP-connects to the RDS/TCP listener on port 16385 during duelling-SYN/reconnect handling; in an RDS-cluster deployment this is a network-facing path without requiring a local syscall. AC:L - A remote peer can drive reconnects while send/recv workers are active (normal RDS traffic), controlling both sides of the lock-ordering race; no rare victim-only state beyond an active RDS/TCP deployment is required. PR:N - The RDS/TCP accept path performs no peer authentication or credential check before reaching rds_tcp_reset_callbacks(); connecting to the listener is sufficient. UI:N - No victim action is required; the attacker triggers the path by initiating TCP reconnect/duelling-SYN sequences against the RDS listener. S:U - Impact is confined to kernel locking/availability on the same host; it does not cross a VM, IOMMU, or other separate security boundary. C:N - This is a circular locking dependency / deadlock only; there is no memory disclosure, OOB read, or UAF read primitive. I:N - There is no memory corruption or write primitive; the fix only reorders cancel_delayed_work_sync() relative to lock_sock(), with no integrity-impacting exploit path. A:H - Holding the socket lock across cancel_delayed_work_sync() can deadlock against rds_send_worker/rds_recv_worker (which take the same sock lock via cork/recv), hanging the RDS workqueue and denying service.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ac3615e7f3cffe2a1a6b25172dfd09e138593d82 to < 5d2ba255e93211e541373469dffbda7c99dfa0e5 (affected · git)ac3615e7f3cffe2a1a6b25172dfd09e138593d82 to < 2425007c0967a7c04b0dee7cce05ecf0ca869ad1 (affected · git)ac3615e7f3cffe2a1a6b25172dfd09e138593d82 to < e3cb25d3ad08f5dbd53ce2b31720cad529944322 (affected · git)ac3615e7f3cffe2a1a6b25172dfd09e138593d82 to < 360aa7219285fac63dab99706a16f2daf3222abe (affected · git)ac3615e7f3cffe2a1a6b25172dfd09e138593d82 to < da349221c4d2d4ac5f606c1c3b36d4ef0b3e6a0c (affected · git)ac3615e7f3cffe2a1a6b25172dfd09e138593d82 to < 30bfa5aa7228eb1e67663d67e553627e572cc717 (affected · git)ac3615e7f3cffe2a1a6b25172dfd09e138593d82 to < c380c28ab9b15fc53565909c814f6dd3e7f77c4b (affected · git)ac3615e7f3cffe2a1a6b25172dfd09e138593d82 to < afe7053c390fe8ff27d0c2ceaece5625283044ba (affected · git)ac3615e7f3cffe2a1a6b25172dfd09e138593d82 to < a91b750fd6629354460282bbf5146c01b05c4859 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.8 (affected)0 to < 4.8 (unaffected · semver)4.9.331 through 4.9.* (unaffected · semver)4.14.296 through 4.14.* (unaffected · semver)4.19.262 through 4.19.* (unaffected · semver)5.4.220 through 5.4.* (unaffected · semver)5.10.150 through 5.10.* (unaffected · semver)5.15.75 through 5.15.* (unaffected · semver)5.19.17 through 5.19.* (unaffected · semver)6.0.3 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
9- https://git.kernel.org/stable/c/2425007c0967a7c04b0dee7cce05ecf0ca869ad1
- https://git.kernel.org/stable/c/30bfa5aa7228eb1e67663d67e553627e572cc717
- https://git.kernel.org/stable/c/360aa7219285fac63dab99706a16f2daf3222abe
- https://git.kernel.org/stable/c/5d2ba255e93211e541373469dffbda7c99dfa0e5
- https://git.kernel.org/stable/c/a91b750fd6629354460282bbf5146c01b05c4859
- https://git.kernel.org/stable/c/afe7053c390fe8ff27d0c2ceaece5625283044ba
- https://git.kernel.org/stable/c/c380c28ab9b15fc53565909c814f6dd3e7f77c4b
- https://git.kernel.org/stable/c/da349221c4d2d4ac5f606c1c3b36d4ef0b3e6a0c
- https://git.kernel.org/stable/c/e3cb25d3ad08f5dbd53ce2b31720cad529944322
Provider assertions
1Linux · cna
net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 753f748735fba6346840426fdce271c8c1207fe9398e61cb8d944a8b6b7b7d60
- Ingested
- 23 Sep 2026, 08:04:48 UTC
- Source record
- Official CVE record