CVE-2022-50676
In the Linux kernel, the following vulnerability has been resolved: …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/2425007c0967a7c04b0dee7cce05ecf0ca869ad1
- git.kernel.org/stable/c/30bfa5aa7228eb1e67663d67e553627e572cc717
- git.kernel.org/stable/c/360aa7219285fac63dab99706a16f2daf3222abe
- git.kernel.org/stable/c/5d2ba255e93211e541373469dffbda7c99dfa0e5
- git.kernel.org/stable/c/a91b750fd6629354460282bbf5146c01b05c4859
- git.kernel.org/stable/c/afe7053c390fe8ff27d0c2ceaece5625283044ba
- git.kernel.org/stable/c/c380c28ab9b15fc53565909c814f6dd3e7f77c4b
- git.kernel.org/stable/c/da349221c4d2d4ac5f606c1c3b36d4ef0b3e6a0c
- nvd.nist.gov/vuln/detail/CVE-2022-50676
- cve.org/CVERecord?id=CVE-2022-50676
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.