Linux
handshake: Require admin permission for DONE command
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < 25fb53e43ec006ac69b9e825a7e8a11d63a6083e
- >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < b6557f912509abe8e70223373dd7a44d1d4a0d6c
- >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < 67cec2f1eb9e58719d622e92e2278ceda72dbd85
- >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < 4dafc411948469277b276724c3b2b4408c02c04c
- >= 3b3009ea8abb713b022d94fba95ec270cf6e7eae, < 81246a65303d9635266b1334490142caaf86a11f
Fixed in 25fb53e43ec006ac69b9e825a7e8a11d63a6083e, b6557f912509abe8e70223373dd7a44d1d4a0d6c, 67cec2f1eb9e58719d622e92e2278ceda72dbd85, 4dafc411948469277b276724c3b2b4408c02c04c, 81246a65303d9635266b1334490142caaf86a11f
- 6.4
Fixed in 0, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to 25fb53e43ec006ac69b9e825a7e8a11d63a6083e or b6557f912509abe8e70223373dd7a44d1d4a0d6c or 67cec2f1eb9e58719d622e92e2278ceda72dbd85 or 4dafc411948469277b276724c3b2b4408c02c04c or 81246a65303d9635266b1334490142caaf86a11f or later.
Upgrade Linux to 0 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.