CVE-2026-46168: mptcp: fix scheduling with atomic in timestamp sockopt
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
mptcp: fix scheduling with atomic in timestamp sockopt
Using lock_sock_fast() (atomic context) around sock_set_timestamp() and sock_set_timestamping() is unsafe, as both helpers can sleep.
Replace lock_sock_fast() with sleepable lock_sock()/release_sock() to avoid scheduling while atomic panic.
The Linux kernel CVE team has assigned CVE-2026-46168 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.14 with commit 9061f24bf82ec2e92dd1e7c10b98b680db023d31 and fixed in 6.6.140 with commit ebeb70e29e37cfce899309cc2665a3bfe960ed94 Issue introduced in 5.14 with commit 9061f24bf82ec2e92dd1e7c10b98b680db023d31 and fixed in 6.12.88 with commit b157dab93a7af44a84e78cf0cb311dde475cff5b Issue introduced in 5.14 with commit 9061f24bf82ec2e92dd1e7c10b98b680db023d31 and fixed in 6.18.30 with commit 8a005fe451c73fd2b3d1faa5643c11e6bd07acfc Issue introduced in 5.14 with commit 9061f24bf82ec2e92dd1e7c10b98b680db023d31 and fixed in 7.0.7 with commit 7eb513b42721bee4b96da69f6188d5a7783f210d Issue introduced in 5.14 with commit 9061f24bf82ec2e92dd1e7c10b98b680db023d31 and fixed in 7.1-rc2 with commit b5c52908d52c6c8eb8933264aa6087a0600fd892
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-46168
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
net/mptcp/sockopt.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/ebeb70e29e37cfce899309cc2665a3bfe960ed94 https://git.kernel.org/stable/c/b157dab93a7af44a84e78cf0cb311dde475cff5b https://git.kernel.org/stable/c/8a005fe451c73fd2b3d1faa5643c11e6bd07acfc https://git.kernel.org/stable/c/7eb513b42721bee4b96da69f6188d5a7783f210d https://git.kernel.org/stable/c/b5c52908d52c6c8eb8933264aa6087a0600fd892