Description
In the Linux kernel, the following vulnerability has been resolved: handshake: Require admin permission for DONE command ACCEPT and DONE are the two downcalls of the handshake genl family, both intended for use by the trusted handshake agent (tlshd). ACCEPT already requires GENL_ADMIN_PERM; DONE has no privilege check at all. The fd-lookup in handshake_nl_done_doit() only confirms that some pending handshake request exists for the supplied sockfd; it does not authenticate the sender. An unprivileged process that guesses or observes a valid sockfd can therefore submit a DONE with HANDSHAKE_A_DONE_STATUS == 0, leaving the kernel consumer to proceed as if the handshake succeeded. A non-zero status on a forged DONE tears down a legitimate in-flight handshake before tlshd can report its real result.
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
3b3009ea8abb713b022d94fba95ec270cf6e7eae to < 25fb53e43ec006ac69b9e825a7e8a11d63a6083eaffected3b3009ea8abb713b022d94fba95ec270cf6e7eae to < b6557f912509abe8e70223373dd7a44d1d4a0d6caffected3b3009ea8abb713b022d94fba95ec270cf6e7eae to < 67cec2f1eb9e58719d622e92e2278ceda72dbd85affected3b3009ea8abb713b022d94fba95ec270cf6e7eae to < 4dafc411948469277b276724c3b2b4408c02c04caffected3b3009ea8abb713b022d94fba95ec270cf6e7eae to < 81246a65303d9635266b1334490142caaf86a11faffected
Linux Linux
Default version status: affected
6.4affected0 to < 6.4unaffected6.6.145 to ≤ 6.6.*unaffected6.12.97 to ≤ 6.12.*unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/25fb53e43ec006ac69b9e825a7e8a11d63a6083e ↗
- https://git.kernel.org/stable/c/b6557f912509abe8e70223373dd7a44d1d4a0d6c ↗
- https://git.kernel.org/stable/c/67cec2f1eb9e58719d622e92e2278ceda72dbd85 ↗
- https://git.kernel.org/stable/c/4dafc411948469277b276724c3b2b4408c02c04c ↗
- https://git.kernel.org/stable/c/81246a65303d9635266b1334490142caaf86a11f ↗