MGASA-2021-0538 - Updated kernel packages fix security vulnerabilities

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

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

In addition to the upstream changes, we also have added the following fixes:
- ata: ahci: Add Green Sardine vendor ID as board_ahci_mobile
- cpufreq: intel_pstate: ITMT support for overclocked system
- Revert "drm/i915: Implement Wa_1508744258"
- drm/i915/adl-n: Enable Alder Lake N platform
- hwmon: (asus_wmi_sensors) Support X370 Asus WMI
- hwmon: (asus_wmi_ec_sensors) Support B550 Asus WMI
- hwmon: (k10temp) Support up to 12 CCDs on AMD Family of processors
- hwmon: (nct6775) Use superio_*() function pointers in sio_data
- hwmon: (nct6775) Use nct6775_*() function pointers in nct6775_data
- hwmon: (nct6775) Support access via Asus WMI
- hwmon: (nct6775) Add additional ASUS motherboards
- hwmon: (nct6775) add Pro WS X570-ACE
- hwmon: (nct6775) add ProArt X570-CREATOR WIFI
- mmc: sdhci-pci: Add PCI ID for Intel ADL
- pinctrl: amd: Fix wakeups when IRQ is shared with SC
- rt2x00: do not mark device gone on EPROTO errors during start
- xhci: Fix commad ring abort, write all 64 bits to CRCR register

For other upstream fixes, see the referenced changelogs.

References:
- https://bugs.mageia.org/show_bug.cgi?id=29715
- 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-5.15.6-2.mga8
- 8/core/kmod-virtualbox-6.1.30-1.2.mga8
- 8/core/kmod-xtables-addons-3.18-1.34.mga8