Mageia 2021-0204: kernel security update
Summary
This kernel update is based on upstream 5.10.33 and fixes atleast the
following security issues:
A race condition in Linux kernel SCTP sockets (net/sctp/socket.c) before
5.12-rc8 can lead to kernel privilege escalation from the context of a
network service or an unprivileged process. If sctp_destroy_sock is called
without sock_net(sk)->sctp.addr_wq_lock then an element is removed from
the auto_asconf_splist list without any proper locking. This can be
exploited by an attacker with network service privileges to escalate to
root or from the context of an unprivileged user directly if a
BPF_CGROUP_INET_SOCK_CREATE is attached which denies creation of some
SCTP socket (CVE-2021-23133).
An issue was discovered in the Linux kernel through 5.11.x. kernel/bpf/
verifier.c performs undesirable out-of-bounds speculation on pointer
arithmetic, leading to side-channel attacks that defeat Spectre mitigations
and obtain sensitive information from kernel memory. Specifically, for
sequences of pointer arithmetic operations, the pointer modification
performed by the first operation is not correctly accounted for when
restricting subsequent operations (CVE-2021-29155).
This update also contains the following:
- xtables-addons has been updated to 3.18 (only in Mageia 8)
- wireguard-tools has been updated to v1.0.20210424-1.mga8
For other upstream fixes, see the referenced changelogs.
References
- https://bugs.mageia.org/show_bug.cgi?id=28856
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10.31
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10.32
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10.33
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23133
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29155
Resolution
MGASA-2021-0204 - Updated kernel packages fix security vulnerabilities
SRPMS
- 7/core/kernel-5.10.33-1.mga7
- 7/core/kmod-virtualbox-6.1.20-2.mga7
- 7/core/kmod-xtables-addons-3.13-21.mga7
- 7/core/wireguard-tools-1.0.20210424-1.mga7
- 8/core/kernel-5.10.33-1.mga8
- 8/core/kmod-virtualbox-6.1.20-3.mga8
- 8/core/kmod-xtables-addons-3.18-1.mga8
- 8/core/xtables-addons-3.18-1.mga8
- 8/core/wireguard-tools-1.0.20210424-1.mga8