UBUNTU-CVE-2022-50676
Vulnerability Summary
Timeline
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.
Affected Systems
- ubuntu•linux
< 4.15.0-204.215 | < 5.4.0-139.156 | < 5.15.0-60.66
- ubuntu•linux-allwinner-5.19
all
- ubuntu•linux-aws
< 4.15.0-1150.163 | < 5.4.0-1096.104 | < 5.15.0-1030.34
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.15
< 5.15.0-1030.34~20.04.1
- ubuntu•linux-aws-5.19
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1096.104~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-6.2
all
- ubuntu•linux-aws-6.5
all
- ubuntu•linux-aws-fips
< 4.15.0-2089.95 | all | < 5.4.0-1096.104+fips1
- ubuntu•linux-aws-hwe
< 4.15.0-1151.164~16.04.1
- ubuntu•linux-azure
< 4.15.0-1162.177~14.04.1 | < 4.15.0-1162.177~16.04.1 | all | < 5.4.0-1103.109 | < 5.15.0-1033.40
- ubuntu•linux-azure-4.15
< 4.15.0-1161.176
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.15
< 5.15.0-1033.40~20.04.1
- ubuntu•linux-azure-5.19
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1103.109~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-6.11
all
- ubuntu•linux-azure-6.2
all
- ubuntu•linux-azure-6.5
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all | all
- ubuntu•linux-azure-fde-5.19
all
- ubuntu•linux-azure-fde-6.2
all
- ubuntu•linux-azure-fips
< 4.15.0-2070.76 | all | < 5.4.0-1103.109+fips1
- ubuntu•linux-bluefield
< 5.15.0-1014.16 | < 5.4.0-1058.64 | < 5.15.0-1014.16 | all
- ubuntu•linux-fips
< 4.15.0-1107.118 | all | < 5.4.0-1072.81
- ubuntu•linux-gcp
< 4.15.0-1146.162~16.04.1 | all | < 5.4.0-1100.109 | < 5.15.0-1029.36
- ubuntu•linux-gcp-4.15
< 4.15.0-1145.161
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.15
< 5.15.0-1029.36~20.04.1
- ubuntu•linux-gcp-5.19
all
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1100.109~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-6.11
all
- ubuntu•linux-gcp-6.2
all
- ubuntu•linux-gcp-6.5
all
- ubuntu•linux-gcp-fips
< 4.15.0-2054.59 | all | < 5.4.0-1100.109+fips1
- ubuntu•linux-gke
all | < 5.15.0-1027.32
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.15
all
Showing first 50 affected entries in server-rendered view.
References (12)
- https://ubuntu.com/security/CVE-2022-50676
- https://www.cve.org/CVERecord?id=CVE-2022-50676
- https://git.kernel.org/linus/a91b750fd6629354460282bbf5146c01b05c4859
- https://git.kernel.org/stable/c/2425007c0967a7c04b0dee7cce05ecf0ca869ad1
- https://git.kernel.org/stable/c/30bfa5aa7228eb1e67663d67e553627e572cc717
- https://git.kernel.org/stable/c/360aa7219285fac63dab99706a16f2daf3222abe
- https://git.kernel.org/stable/c/5d2ba255e93211e541373469dffbda7c99dfa0e5
- https://git.kernel.org/stable/c/a91b750fd6629354460282bbf5146c01b05c4859
- https://git.kernel.org/stable/c/afe7053c390fe8ff27d0c2ceaece5625283044ba
- https://git.kernel.org/stable/c/c380c28ab9b15fc53565909c814f6dd3e7f77c4b
- https://git.kernel.org/stable/c/da349221c4d2d4ac5f606c1c3b36d4ef0b3e6a0c
- https://git.kernel.org/stable/c/e3cb25d3ad08f5dbd53ce2b31720cad529944322