CVE Catalog

CVE-2022-50676

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.85%

55th percentile - higher than 55% of all known CVEs

Summary

In the Linux kernel, in the RDS subsystem, a lockdep issue was found in the rds_tcp_reset_callbacks() function. The cancel_delayed_work_sync() function is called in a section protected by lock_sock(), which may lead to a deadlock.

Risk Assessment

A deadlock can cause system hang or failure of services using RDS.

Recommendation

It is recommended to update the Linux kernel to a version with a fix that removes the cancel_delayed_work_sync() call from the lock_sock() protected section.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS