socket(AF_ALG, SOCK_SEQPACKET, 0) = -1 EAFNOSUPPORT (Address family not supported by protocol)
😎
socket(AF_ALG, SOCK_SEQPACKET, 0) = -1 EAFNOSUPPORT (Address family not supported by protocol)
😎
@dalias Ahhh, someone here (that's not you :P) mentioned that musl is unaffected...
@cr1901 I think that's false; it's a kernel vuln. What's unaffected is a self-compiled kernel with all the garbage attack surface options turned off at compile-time. 😁
Contrary to the implications of the (poor) vuln announcement and PoC, systems without suid binaries are NOT immune to https://copy.fail/
The vuln allows modifying anything in page cache, so an attacker can just modify the .text of any existing program running with privileges they shouldn't have.
The recommended mitigation of blocking load of the affected module (or better yet, the whole af_alg subsystem) does work and does not require any updating/rebooting/risk of breakage from update.
Speaking of blocking the whole af_alg subsystem... I should really do an audit of the scope of niche, non-essential features like AF_ALG that give userspace large attack surface for the kernel, and put together a recommended set of recommended Kconfig, modprobe.d rules, seccomp rules, etc. that cut off access to them entirely.
@lanodan That looks right. I don't have it set on my self-built kernels.
@dalias And if I'm reading kernel source right, this is controlled by CONFIG_CRYPTO_USER_API
For what I mean by niche, AF_ALG (offering crypto acceleration and kernelspace software implementations of crypto algorithms) absolutely makes sense for low-cpu-power embedded devices with crypto accelerators, and for some high-cryptographic-load servers.
It makes absolutely no sense for desktop or ordinary server usage, where even without vulns like copy.fail, all it's doing is giving your key material far more exposure by marking it as key material and passing it around different execution domains.
@dalias generally true, except as written it may silently fail:
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.