CVE-2022-50676

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

7.5 high EPSS 1.02%

Published 9 Dec 2025 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2022-50676

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50676 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.5 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 1.02%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 64.4% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from ac3615e7f3cffe2a1a6b25172dfd09e138593d82, before 5d2ba255e93211e541373469dffbda7c99dfa0e5
affected from ac3615e7f3cffe2a1a6b25172dfd09e138593d82, before 2425007c0967a7c04b0dee7cce05ecf0ca869ad1
affected from ac3615e7f3cffe2a1a6b25172dfd09e138593d82, before e3cb25d3ad08f5dbd53ce2b31720cad529944322
affected from ac3615e7f3cffe2a1a6b25172dfd09e138593d82, before 360aa7219285fac63dab99706a16f2daf3222abe
affected from ac3615e7f3cffe2a1a6b25172dfd09e138593d82, before da349221c4d2d4ac5f606c1c3b36d4ef0b3e6a0c
affected from ac3615e7f3cffe2a1a6b25172dfd09e138593d82, before 30bfa5aa7228eb1e67663d67e553627e572cc717
affected from ac3615e7f3cffe2a1a6b25172dfd09e138593d82, before c380c28ab9b15fc53565909c814f6dd3e7f77c4b
affected from ac3615e7f3cffe2a1a6b25172dfd09e138593d82, before afe7053c390fe8ff27d0c2ceaece5625283044ba
affected from ac3615e7f3cffe2a1a6b25172dfd09e138593d82, before a91b750fd6629354460282bbf5146c01b05c4859
Other versions: unaffected
Linux
affected 4.8
unaffected before 4.8
unaffected from 4.9.331 up to and including 4.9.*
unaffected from 4.14.296 up to and including 4.14.*
unaffected from 4.19.262 up to and including 4.19.*
unaffected from 5.4.220 up to and including 5.4.*
unaffected from 5.10.150 up to and including 5.10.*
unaffected from 5.15.75 up to and including 5.15.*
unaffected from 5.19.17 up to and including 5.19.*
unaffected from 6.0.3 up to and including 6.0.*
unaffected 6.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50676 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50676

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-50676
trivy image --scanners vuln IMAGE | grep CVE-2022-50676

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-50676 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.