Description
In the Linux kernel, the following vulnerability has been resolved: mptcp: pm: ADD_ADDR rtx: free sk if last When an ADD_ADDR is retransmitted, the sk is held in sk_reset_timer(), and released at the end. If at that moment, it was the last reference being held, the sk would not be freed. sock_put() should then be called instead of __sock_put(). But that's not enough: if it is the last reference, sock_put() will call sk_free(), which will end up calling sk_stop_timer_sync() on the same timer, and waiting indefinitely to finish. So it is needed to mark that the timer is done at the end of the timer handler when it has not been rescheduled, not to call sk_stop_timer_sync() on "itself".
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
00cfd77b9063dcdf3628a7087faba60de85a9cc8 to < aa8cabde7e83bf96269ee47427dc9b59e3ed8e60affected00cfd77b9063dcdf3628a7087faba60de85a9cc8 to < 1f26487e83e69462540bb1047139472957c913c6affected00cfd77b9063dcdf3628a7087faba60de85a9cc8 to < 5da972efed3dc7599da6e2b5e8d906d1b7b1a728affected00cfd77b9063dcdf3628a7087faba60de85a9cc8 to < 6a3af482188f6db4186d1605f64d911d7330abb3affected00cfd77b9063dcdf3628a7087faba60de85a9cc8 to < 531c537b8fb620beabccfb1594e8d43cbebbb87aaffected00cfd77b9063dcdf3628a7087faba60de85a9cc8 to < b74ad20198652b6b39a761c277ba65ae82b1e107affected00cfd77b9063dcdf3628a7087faba60de85a9cc8 to < 8143a224785ceaf2b0856e08d4498916f38228fbaffected00cfd77b9063dcdf3628a7087faba60de85a9cc8 to < b7b9a461569734d33d3259d58d2507adfac107edaffected
Linux Linux
Default version status: affected
5.10affected0 to < 5.10unaffected5.10.270 to ≤ 5.10.*unaffected5.15.218 to ≤ 5.15.*unaffected6.1.185 to ≤ 6.1.*unaffected6.6.142 to ≤ 6.6.*unaffected6.12.92 to ≤ 6.12.*unaffected6.18.30 to ≤ 6.18.*unaffected7.0.7 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/aa8cabde7e83bf96269ee47427dc9b59e3ed8e60 ↗
- https://git.kernel.org/stable/c/1f26487e83e69462540bb1047139472957c913c6 ↗
- https://git.kernel.org/stable/c/5da972efed3dc7599da6e2b5e8d906d1b7b1a728 ↗
- https://git.kernel.org/stable/c/6a3af482188f6db4186d1605f64d911d7330abb3 ↗
- https://git.kernel.org/stable/c/531c537b8fb620beabccfb1594e8d43cbebbb87a ↗
- https://git.kernel.org/stable/c/b74ad20198652b6b39a761c277ba65ae82b1e107 ↗
- https://git.kernel.org/stable/c/8143a224785ceaf2b0856e08d4498916f38228fb ↗
- https://git.kernel.org/stable/c/b7b9a461569734d33d3259d58d2507adfac107ed ↗