{"id":"CVE-2022-50676","published":"2025-12-09T01:29:29Z","modified":"2026-08-05T08:59:22Z","title":"net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks()\n\nsyzbot is reporting lockdep warning at rds_tcp_reset_callbacks() [1], for\ncommit ac3615e7f3cffe2a (\"RDS: TCP: Reduce code duplication in\nrds_tcp_reset_callbacks()\") added cancel_delayed_work_sync() into a section\nprotected by lock_sock() without realizing that rds_send_xmit() might call\nlock_sock().\n\nWe don't need to protect cancel_delayed_work_sync() using lock_sock(), for\neven if rds_{send,recv}_worker() re-queued this work while __flush_work()\n from cancel_delayed_work_sync() was waiting for this work to complete,\nretried rds_{send,recv}_worker() is no-op due to the absence of RDS_CONN_UP\nbit.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01022,"percentile":0.63721,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/5d2ba255e93211e541373469dffbda7c99dfa0e5","tags":[]},{"url":"https://git.kernel.org/stable/c/2425007c0967a7c04b0dee7cce05ecf0ca869ad1","tags":[]},{"url":"https://git.kernel.org/stable/c/e3cb25d3ad08f5dbd53ce2b31720cad529944322","tags":[]},{"url":"https://git.kernel.org/stable/c/360aa7219285fac63dab99706a16f2daf3222abe","tags":[]},{"url":"https://git.kernel.org/stable/c/da349221c4d2d4ac5f606c1c3b36d4ef0b3e6a0c","tags":[]},{"url":"https://git.kernel.org/stable/c/30bfa5aa7228eb1e67663d67e553627e572cc717","tags":[]},{"url":"https://git.kernel.org/stable/c/c380c28ab9b15fc53565909c814f6dd3e7f77c4b","tags":[]},{"url":"https://git.kernel.org/stable/c/afe7053c390fe8ff27d0c2ceaece5625283044ba","tags":[]},{"url":"https://git.kernel.org/stable/c/a91b750fd6629354460282bbf5146c01b05c4859","tags":[]}],"priority":{"score":18.0,"factors":[{"name":"EPSS percentile","points":12.74},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < 5d2ba255e93211e541373469dffbda7c99dfa0e5",">= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < 2425007c0967a7c04b0dee7cce05ecf0ca869ad1",">= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < e3cb25d3ad08f5dbd53ce2b31720cad529944322",">= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < 360aa7219285fac63dab99706a16f2daf3222abe",">= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < da349221c4d2d4ac5f606c1c3b36d4ef0b3e6a0c",">= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < 30bfa5aa7228eb1e67663d67e553627e572cc717",">= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < c380c28ab9b15fc53565909c814f6dd3e7f77c4b",">= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < afe7053c390fe8ff27d0c2ceaece5625283044ba",">= ac3615e7f3cffe2a1a6b25172dfd09e138593d82, < a91b750fd6629354460282bbf5146c01b05c4859"]},{"vendor":"Linux","product":"Linux","versions":["4.8"]}],"euvd":{"id":"EUVD-2022-55729","exploited":false,"provenance":"source"}}