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

Publication date: 05 Dec 2021
URL: https://advisories.mageia.org/MGASA-2021-0539.html
Type: security
Affected Mageia releases: 8
CVE: CVE-2020-27820,
     CVE-2021-4001,
     CVE-2021-4002

This kernel-linus update is based on upstream 5.15.6 and fixes atleast the
following security issues:

A vulnerability was found in Linux kernel, where a use-after-frees in
nouveau's postclose() handler could happen if removing device (that is
not common to remove video card physically without power-off, but same
happens if "unbind" the driver) (CVE-2020-27820).

A race condition when the eBPF map is frozen (CVE-2021-4001).

A memory leak flaw in the Linux kernel's hugetlbfs memory usage was found
in the way the user maps some regions of memory twice using shmget() which
are aligned to PUD alignment with the fault of some of the memory pages.
A local user could use this flaw to get unauthorized access to some data
(CVE-2021-4002).

For other upstream fixes, see the referenced changelogs.

References:
- https://bugs.mageia.org/show_bug.cgi?id=29716
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.5
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.6
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27820
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4001
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-4002

SRPMS:
- 8/core/kernel-linus-5.15.6-1.mga8