vsock/virtio: discard packets if the transport changes
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 18a7fc371d1dbf8deff16c2dd9292bcc73f43040, Kernel 2cb7c756f605ec02ffe562fb26828e4bcc5fdfc1, Kernel 6486915fa661584d70e8e7e4068c6c075c67dd6d and 3 more.
In the Linux kernel, the following vulnerability has been resolved: vsock/virtio: discard packets if the transport changes If the socket has been de-assigned or assigned to another transport, we must discard any packets received because they are not expected and would cause issues when we access vsk->transport. A possible scenario is described by Hyunwoo Kim in the attached link, where after a first connect() interrupted by a signal, and a second connect() failed, we can find `vsk->transport` at NULL, leading to a NULL pointer dereference.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.5, >=c0cfa2d8a788fcf45df5bf4070ab2474c88d543a <18a7fc371d1dbf8deff16c2dd9292bcc73f43040, >=c0cfa2d8a788fcf45df5bf4070ab2474c88d543a <2cb7c756f605ec02ffe562fb26828e4bcc5fdfc1, >=c0cfa2d8a788fcf45df5bf4070ab2474c88d543a <6486915fa661584d70e8e7e4068c6c075c67dd6d, >=c0cfa2d8a788fcf45df5bf4070ab2474c88d543a <677579b641af109613564460a4e3bdcb16850b61, >=c0cfa2d8a788fcf45df5bf4070ab2474c88d543a <88244163bc7e7b0ce9dd7bf4c8a563b41525c3ee, >=c0cfa2d8a788fcf45df5bf4070ab2474c88d543a <d88b249e14bd0ee1e46bbe4f456e22e01b8c68de | 18a7fc371d1dbf8deff16c2dd9292bcc73f43040, 2cb7c756f605ec02ffe562fb26828e4bcc5fdfc1, 6486915fa661584d70e8e7e4068c6c075c67dd6d, 677579b641af109613564460a4e3bdcb16850b61, 88244163bc7e7b0ce9dd7bf4c8a563b41525c3ee, d88b249e14bd0ee1e46bbe4f456e22e01b8c68de |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket