MGASA-2021-0205 - Updated kernel-linus packages fix security vulnerabilities

Publication date: 04 May 2021
URL: https://advisories.mageia.org/MGASA-2021-0205.html
Type: security
Affected Mageia releases: 7, 8
CVE: CVE-2021-23133,
     CVE-2021-29155

This kernel-linus 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).

For other upstream fixes, see the referenced changelogs.

References:
- https://bugs.mageia.org/show_bug.cgi?id=28858
- 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

SRPMS:
- 8/core/kernel-linus-5.10.33-1.mga8
- 7/core/kernel-linus-5.10.33-1.mga7