{"id":"CVE-2022-50676","aliases":["CVE-2022-50676"],"related":[],"kind":"vulnerability","state":"published","title":"net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2025-12-09T01:29:29.166Z","modified":"2026-08-05T08:59:22.454Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ac3615e7f3cffe2a1a6b25172dfd09e138593d82","fixed":"5d2ba255e93211e541373469dffbda7c99dfa0e5","status":"affected"},{"type":"git","introduced":"ac3615e7f3cffe2a1a6b25172dfd09e138593d82","fixed":"2425007c0967a7c04b0dee7cce05ecf0ca869ad1","status":"affected"},{"type":"git","introduced":"ac3615e7f3cffe2a1a6b25172dfd09e138593d82","fixed":"e3cb25d3ad08f5dbd53ce2b31720cad529944322","status":"affected"},{"type":"git","introduced":"ac3615e7f3cffe2a1a6b25172dfd09e138593d82","fixed":"360aa7219285fac63dab99706a16f2daf3222abe","status":"affected"},{"type":"git","introduced":"ac3615e7f3cffe2a1a6b25172dfd09e138593d82","fixed":"da349221c4d2d4ac5f606c1c3b36d4ef0b3e6a0c","status":"affected"},{"type":"git","introduced":"ac3615e7f3cffe2a1a6b25172dfd09e138593d82","fixed":"30bfa5aa7228eb1e67663d67e553627e572cc717","status":"affected"},{"type":"git","introduced":"ac3615e7f3cffe2a1a6b25172dfd09e138593d82","fixed":"c380c28ab9b15fc53565909c814f6dd3e7f77c4b","status":"affected"},{"type":"git","introduced":"ac3615e7f3cffe2a1a6b25172dfd09e138593d82","fixed":"afe7053c390fe8ff27d0c2ceaece5625283044ba","status":"affected"},{"type":"git","introduced":"ac3615e7f3cffe2a1a6b25172dfd09e138593d82","fixed":"a91b750fd6629354460282bbf5146c01b05c4859","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.8","status":"unaffected"},{"type":"semver","introduced":"4.9.331","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.296","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.262","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.220","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.150","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.75","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.17","lastAffected":"5.19.*","status":"unaffected"},{"type":"semver","introduced":"6.0.3","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/5d2ba255e93211e541373469dffbda7c99dfa0e5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2425007c0967a7c04b0dee7cce05ecf0ca869ad1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e3cb25d3ad08f5dbd53ce2b31720cad529944322","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/360aa7219285fac63dab99706a16f2daf3222abe","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da349221c4d2d4ac5f606c1c3b36d4ef0b3e6a0c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/30bfa5aa7228eb1e67663d67e553627e572cc717","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c380c28ab9b15fc53565909c814f6dd3e7f77c4b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/afe7053c390fe8ff27d0c2ceaece5625283044ba","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a91b750fd6629354460282bbf5146c01b05c4859","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50676","url":"https://www.cve.org/CVERecord?id=CVE-2022-50676","licence":"CVE Terms of Use","modified":"2026-08-05T08:59:22.454Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50676","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50676","licence":"Public domain","modified":"2026-08-04T10:18:21.253Z"}],"updatedAt":"2026-11-25T22:58:21.316Z","epss":{"score":0.01097,"percentile":0.65224,"date":"2026-11-30T12:00:22.000Z"}}