CVE-2022-50676

net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks()

HIGH
7.5
CVSS Score
Published: December 9, 2025 at 01:29 AM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 1.0%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.8 ≤ v < 4.14.2964.8 ≤ v < 4.19.2624.8 ≤ v < 4.9.3314.8 ≤ v < 5.10.1504.8 ≤ v < 5.15.754.8 ≤ v < 5.19.174.8 ≤ v < 5.4.2204.8 ≤ v < 6.0.34.8 ≤ v < 6.14.8ac3615e7f3cffe2a1a6b25172dfd09e138593d82
Vendor states this is fixed in 2425007c0967a7c04b0dee7cce05ecf0ca869ad1 (fixed)
Vendor states this is fixed in 30bfa5aa7228eb1e67663d67e553627e572cc717 (fixed)
Vendor states this is fixed in 360aa7219285fac63dab99706a16f2daf3222abe (fixed)
Vendor states this is fixed in 5d2ba255e93211e541373469dffbda7c99dfa0e5 (fixed)
Vendor states this is fixed in a91b750fd6629354460282bbf5146c01b05c4859 (fixed)
Vendor states this is fixed in afe7053c390fe8ff27d0c2ceaece5625283044ba (fixed)
Vendor states this is fixed in c380c28ab9b15fc53565909c814f6dd3e7f77c4b (fixed)
Vendor states this is fixed in da349221c4d2d4ac5f606c1c3b36d4ef0b3e6a0c (fixed)
Vendor states this is fixed in e3cb25d3ad08f5dbd53ce2b31720cad529944322 (fixed)
Vendor states this is fixed in 4.14.296 (unaffected)
Vendor states this is fixed in 4.19.262 (unaffected)
Vendor states this is fixed in 4.8 (unaffected)
Vendor states this is fixed in 4.9.331 (unaffected)
Vendor states this is fixed in 5.10.150 (unaffected)
Vendor states this is fixed in 5.15.75 (unaffected)
Vendor states this is fixed in 5.19.17 (unaffected)
Vendor states this is fixed in 5.4.220 (unaffected)
Vendor states this is fixed in 6.0.3 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

CVSS

7.5HIGHLinux
Vector?

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card