ALAS2LIVEPATCH-2022-076

Related Vulnerabilities: CVE-2021-4155   CVE-2022-0185  

A data leak flaw was found in the way XFS_IOC_ALLOCSP IOCTL in the XFS filesystem allowed for size increase of files with unaligned size. A local attacker could use this flaw to leak data on the XFS filesystem otherwise not accessible to them. (CVE-2021-4155) A heap-based buffer overflow flaw was found in the way the legacy_parse_param function in the Filesystem Context functionality of the Linux kernel verified the supplied parameters length. An unprivileged (in case of unprivileged user namespaces enabled, otherwise needs namespaced CAP_SYS_ADMIN privilege) local user able to open a filesystem that does not support the Filesystem Context API (and thus fallbacks to legacy handling) could use this flaw to escalate their privileges on the system. (CVE-2022-0185)

ALAS2LIVEPATCH-2022-076


Amazon Linux 2 Security Advisory: ALASLIVEPATCH-2022-076
Advisory Release Date: 2022-03-07 23:48 Pacific
Advisory Updated Date: 2022-03-08 18:11 Pacific
Severity: Important

Issue Overview:

A data leak flaw was found in the way XFS_IOC_ALLOCSP IOCTL in the XFS filesystem allowed for size increase of files with unaligned size. A local attacker could use this flaw to leak data on the XFS filesystem otherwise not accessible to them. (CVE-2021-4155)

A heap-based buffer overflow flaw was found in the way the legacy_parse_param function in the Filesystem Context functionality of the Linux kernel verified the supplied parameters length. An unprivileged (in case of unprivileged user namespaces enabled, otherwise needs namespaced CAP_SYS_ADMIN privilege) local user able to open a filesystem that does not support the Filesystem Context API (and thus fallbacks to legacy handling) could use this flaw to escalate their privileges on the system. (CVE-2022-0185)


Affected Packages:

kernel-livepatch-5.10.82-83.359


Issue Correction:
Please ensure you have live patching enabled.
Run yum update kernel-livepatch-5.10.82-83.359 to update your system.

New Packages:
aarch64:
    kernel-livepatch-5.10.82-83.359-1.0-3.amzn2.aarch64
    kernel-livepatch-5.10.82-83.359-debuginfo-1.0-3.amzn2.aarch64

src:
    kernel-livepatch-5.10.82-83.359-1.0-3.amzn2.src

x86_64:
    kernel-livepatch-5.10.82-83.359-1.0-3.amzn2.x86_64
    kernel-livepatch-5.10.82-83.359-debuginfo-1.0-3.amzn2.x86_64