mptcp: pm: ADD_ADDR rtx: always decrease sk refcount
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.1%
exploitation probability
0.1%top 97% of all CVEs
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
mptcp: pm: ADD_ADDR rtx: always decrease sk refcount
When an ADD_ADDR is retransmitted, the sk is held in sk_reset_timer().
It should then be released in all cases at the end.
Some (unlikely) checks were returning directly instead of calling
sock_put() to decrease the refcount. Jump to a new 'exit' label to call
__sock_put() (which will become sock_put() in the next commit) to fix
this potential leak.
While at it, drop the '!msk' check which cannot happen because it is
never reset, and explicitly mark the remaining one as "unlikely".
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/25e37407442b8766ec2cf52fb4e31b5c3d3aeeaehttps://git.kernel.org/stable/c/9426265e157dd77ec237c795901ed4dea6d69b5chttps://git.kernel.org/stable/c/9634cb35af17019baec21ca648516ce376fa10e6https://git.kernel.org/stable/c/acd3d3562315c99f3c0db16f0fcc5f0306638982https://git.kernel.org/stable/c/b41dd76f3b9735096c21d3e799a2b9fe36498d57