Cloudanix VulnDB

CVE-2020-27815

High · 7.8

CVSS

7.8

EPSS

0.8%

Published

May 26, 2021

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in Linux file handling lets someone who already has access to the computer crash the whole system or take over higher privileges.

Exploit Available
Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Full Compromise
Component
OS kernel
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Medium

What it actually does

The flaw in JFS extended attribute handling triggers memory corruption in the Linux kernel, enabling local attackers to induce kernel panics or achieve privilege escalation.

Why it matters to the business

Local attackers can crash affected Linux systems or gain elevated privileges, leading to downtime, data integrity loss, and potential full system compromise on servers or endpoints using the JFS filesystem.

How an attack unfolds

A local attacker with the ability to set extended attributes crafts malicious xattr values on JFS objects; the kernel mishandles the input, corrupting memory structures and allowing either denial of service via panic or escalation to root privileges. Public exploits are available.

How to fix it

Upgrade the Linux kernel to the fixed commit c61b3e4839007668360ed8b87d7da96d2e59fc6c; rebuild and reboot with the patched kernel. Where immediate patching is impossible, restrict untrusted local accounts and avoid JFS mounts.

How to confirm the fix worked

Confirm the running kernel contains commit c61b3e4839007668360ed8b87d7da96d2e59fc6c, then attempt setfattr operations on JFS and verify absence of panics or corruption.

Typical attack path

  1. Obtain local shell access on a target Linux system
  2. Identify or create a JFS filesystem mount point
  3. Use setfattr or equivalent to apply crafted extended attributes
  4. Trigger the corruption path to induce panic or escalate privileges

How to detect it

Review kernel logs for JFS-related oops or panic messages mentioning extended attributes; examine audit logs for unusual setfattr activity on JFS volumes.

  • jfs_xattr
  • kernel: JFS: panic
  • EXT4-fs error.*xattr

What your security team should do

  • Prioritize kernel upgrade across all JFS-using systems within standard maintenance windows
  • Audit local user permissions and limit ability to set extended attributes
  • Enable kernel hardening features such as lockdown mode where feasible

The record

A flaw was found in the JFS filesystem code in the Linux Kernel which allows a local attacker with the ability to set extended attributes to panic the system, causing memory corruption or escalating privileges. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

Affected packages

Ecosystem Package Introduced Fixed
Chainguard hyperv-daemons 0 0
Chainguard hyperv-daemons-6.12 0 0
Chainguard hyperv-daemons-6.18 0 0
Chainguard hyperv-daemons-generic 0 0
Chainguard linux 0 0
Chainguard linux-aws-6.12 0 6.12.63-r0
Chainguard linux-aws-6.12 0 6.12.65-r0
Chainguard linux-aws-6.12-boot-installed 0 0
Chainguard linux-aws-6.12-fips-boot-installed 0 0
Chainguard linux-aws-6.12-headers 0 0
Chainguard linux-aws-6.12-modules 0 0
Chainguard linux-aws-6.18 0 6.18.4-r0
Chainguard linux-aws-6.18 0 6.18.5-r2
Chainguard linux-aws-6.18-boot-installed 0 0
Chainguard linux-aws-6.18-fips-boot-installed 0 0
Chainguard linux-aws-6.18-headers 0 0
Chainguard linux-aws-6.18-modules 0 0
Chainguard linux-aws-generic 0 6.18.3-r0
Chainguard linux-aws-generic 0 6.18.5-r0
Chainguard linux-aws-generic-boot-configuration 0 0
Chainguard linux-aws-generic-boot-installed 0 0
Chainguard linux-aws-generic-fips-boot-installed 0 0
Chainguard linux-aws-generic-headers 0 0
Chainguard linux-aws-generic-modules 0 0
Chainguard linux-azure-6.12 0 6.12.63-r0
Chainguard linux-azure-6.12 0 6.12.65-r1
Chainguard linux-azure-6.12-boot-installed 0 0
Chainguard linux-azure-6.12-fips-boot-installed 0 0
Chainguard linux-azure-6.12-headers 0 0
Chainguard linux-azure-6.12-modules 0 0
Chainguard linux-azure-6.18 0 0
Chainguard linux-azure-6.18-boot-installed 0 0
Chainguard linux-azure-6.18-fips-boot-installed 0 0
Chainguard linux-azure-6.18-headers 0 0
Chainguard linux-azure-6.18-modules 0 0
Chainguard linux-azure-generic 0 6.18.3-r0
Chainguard linux-azure-generic 0 6.18.5-r0
Chainguard linux-azure-generic-boot-configuration 0 0
Chainguard linux-azure-generic-boot-installed 0 0
Chainguard linux-azure-generic-fips-boot-installed 0 0
Chainguard linux-azure-generic-headers 0 0
Chainguard linux-azure-generic-modules 0 0
Chainguard linux-boot-configuration 0 0
Chainguard linux-boot-installed 0 0
Chainguard linux-gcp-6.12 0 6.12.63-r0
Chainguard linux-gcp-6.12 0 6.12.65-r0
Chainguard linux-gcp-6.12-boot-installed 0 0
Chainguard linux-gcp-6.12-fips-boot-installed 0 0
Chainguard linux-gcp-6.12-headers 0 0
Chainguard linux-gcp-6.12-modules 0 0
Chainguard linux-gcp-6.18 0 6.18.4-r0
Chainguard linux-gcp-6.18 0 6.18.5-r2
Chainguard linux-gcp-6.18-boot-installed 0 0
Chainguard linux-gcp-6.18-fips-boot-installed 0 0
Chainguard linux-gcp-6.18-headers 0 0
Chainguard linux-gcp-6.18-modules 0 0
Chainguard linux-gcp-generic 0 6.18.3-r0
Chainguard linux-gcp-generic 0 6.18.5-r0
Chainguard linux-gcp-generic-boot-installed 0 0
Chainguard linux-gcp-generic-fips-boot-installed 0 0
Chainguard linux-gcp-generic-headers 0 0
Chainguard linux-gcp-generic-modules 0 0
Chainguard linux-modules 0 0
Chainguard linux-qemu-6.12 0 6.12.65-r2
Chainguard linux-qemu-6.12-boot-installed 0 6.12.63-r0
Chainguard linux-qemu-6.12-fips-boot-installed 0 6.12.63-r0
Chainguard linux-qemu-6.12-headers 0 6.12.63-r0
Chainguard linux-qemu-6.12-modules 0 6.12.63-r0
Chainguard linux-qemu-6.18 0 6.18.5-r2
Chainguard linux-qemu-6.18-boot-installed 0 6.18.2-r0
Chainguard linux-qemu-6.18-fips-boot-installed 0 6.18.2-r0
Chainguard linux-qemu-6.18-headers 0 6.18.2-r0
Chainguard linux-qemu-6.18-modules 0 6.18.2-r0
Chainguard linux-qemu-generic 0 6.18.3-r0
Chainguard linux-qemu-generic 0 6.18.5-r0
Chainguard linux-qemu-generic-boot-installed 0 0
Chainguard linux-qemu-generic-bootc-boot-installed 0 6.18.4-r0
Chainguard linux-qemu-generic-bootc-boot-installed 0 6.18.5-r0
Chainguard linux-qemu-generic-fips-boot-installed 0 0
Chainguard linux-qemu-generic-headers 0 0
Chainguard linux-qemu-generic-modules 0 0
Chainguard linux-qemu-rc 0 6.19_rc4-r0
Chainguard linux-qemu-rc 0 6.19_rc5-r0
Chainguard linux-qemu-rc-boot-installed 0 0
Chainguard linux-qemu-rc-fips-boot-installed 0 0
Chainguard linux-qemu-rc-headers 0 0
Chainguard linux-qemu-rc-modules 0 0
Chainguard linux-vmware-6.12 0 6.12.65-r2
Chainguard linux-vmware-6.12-boot-installed 0 6.12.63-r0
Chainguard linux-vmware-6.12-fips-boot-installed 0 6.12.63-r0
Chainguard linux-vmware-6.12-headers 0 6.12.63-r0
Chainguard linux-vmware-6.12-modules 0 6.12.63-r0
Chainguard linux-vmware-6.18 0 6.18.5-r2
Chainguard linux-vmware-6.18-boot-installed 0 6.18.2-r0
Chainguard linux-vmware-6.18-fips-boot-installed 0 6.18.2-r0
Chainguard linux-vmware-6.18-headers 0 6.18.2-r0
Chainguard linux-vmware-6.18-modules 0 6.18.2-r0
Chainguard linux-vmware-generic 0 6.18.3-r0
Chainguard linux-vmware-generic 0 6.18.5-r0
Chainguard linux-vmware-generic-boot-installed 0 0
Chainguard linux-vmware-generic-fips-boot-installed 0 0
Chainguard linux-vmware-generic-headers 0 0
Chainguard linux-vmware-generic-modules 0 0
Debian:10 linux 0 4.19.171-2
Debian:11 linux 0 5.10.4-1
Debian:12 linux 0 5.10.4-1
Debian:13 linux 0 5.10.4-1
Debian:9 linux 0 4.9.258-1
Debian:9 linux-4.19 0 4.19.171-2~deb9u1
SUSE:Enterprise Storage 6 kernel-default 0 4.12.14-197.89.2
SUSE:Enterprise Storage 6 kernel-docs 0 4.12.14-197.89.3
SUSE:Enterprise Storage 6 kernel-obs-build 0 4.12.14-197.89.2
SUSE:Enterprise Storage 6 kernel-source 0 4.12.14-197.89.2
SUSE:Enterprise Storage 6 kernel-syms 0 4.12.14-197.89.2
SUSE:Linux Enterprise High Availability Extension 12 SP4 kernel-default 0 4.12.14-95.74.1
SUSE:Linux Enterprise High Availability Extension 12 SP5 kernel-default 0 4.12.14-122.66.2
SUSE:Linux Enterprise High Availability Extension 15 kernel-default 0 4.12.14-150.72.1
SUSE:Linux Enterprise High Availability Extension 15 SP1 kernel-default 0 4.12.14-197.89.2
SUSE:Linux Enterprise High Availability Extension 15 SP2 kernel-default 0 5.3.18-24.61.1
SUSE:Linux Enterprise High Availability Extension 15 SP3 kernel-default 0 5.3.18-59.5.2
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS kernel-default 0 4.12.14-197.89.2
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS kernel-docs 0 4.12.14-197.89.3
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS kernel-obs-build 0 4.12.14-197.89.2
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS kernel-source 0 4.12.14-197.89.2
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS kernel-syms 0 4.12.14-197.89.2
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS kernel-default 0 4.12.14-197.89.2
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS kernel-docs 0 4.12.14-197.89.3
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS kernel-obs-build 0 4.12.14-197.89.2
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS kernel-source 0 4.12.14-197.89.2
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS kernel-syms 0 4.12.14-197.89.2
SUSE:Linux Enterprise High Performance Computing 15-ESPOS kernel-default 0 4.12.14-150.72.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS kernel-docs 0 4.12.14-150.72.2
SUSE:Linux Enterprise High Performance Computing 15-ESPOS kernel-obs-build 0 4.12.14-150.72.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS kernel-source 0 4.12.14-150.72.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS kernel-syms 0 4.12.14-150.72.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS kernel-vanilla 0 4.12.14-150.72.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS kernel-default 0 4.12.14-150.72.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS kernel-docs 0 4.12.14-150.72.2
SUSE:Linux Enterprise High Performance Computing 15-LTSS kernel-obs-build 0 4.12.14-150.72.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS kernel-source 0 4.12.14-150.72.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS kernel-syms 0 4.12.14-150.72.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS kernel-vanilla 0 4.12.14-150.72.1
SUSE:Linux Enterprise Live Patching 12 SP4 kernel-default 0 4.12.14-95.74.1
SUSE:Linux Enterprise Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_20 0 1-6.3.1
SUSE:Linux Enterprise Live Patching 12 SP5 kernel-default 0 4.12.14-122.66.2
SUSE:Linux Enterprise Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_17 0 1-8.3.2
SUSE:Linux Enterprise Live Patching 15 kernel-default 0 4.12.14-150.72.1
SUSE:Linux Enterprise Live Patching 15 kernel-livepatch-SLE15_Update_24 0 1-1.3.1
SUSE:Linux Enterprise Live Patching 15 SP1 kernel-default 0 4.12.14-197.89.2
SUSE:Linux Enterprise Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_24 0 1-3.3.2
SUSE:Linux Enterprise Live Patching 15 SP2 kernel-default 0 5.3.18-24.61.1
SUSE:Linux Enterprise Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_12 0 1-5.3.4
SUSE:Linux Enterprise Live Patching 15 SP3 kernel-default 0 5.3.18-59.5.2
SUSE:Linux Enterprise Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_1 0 1-7.5.1
SUSE:Linux Enterprise Micro 5.0 kernel-default 0 5.3.18-24.61.1
SUSE:Linux Enterprise Micro 5.0 kernel-default-base 0 5.3.18-24.61.1.9.26.4
SUSE:Linux Enterprise Micro 5.0 kernel-rt 0 5.3.18-8.7.1
SUSE:Linux Enterprise Module for Basesystem 15 SP2 kernel-default 0 5.3.18-24.61.1
SUSE:Linux Enterprise Module for Basesystem 15 SP2 kernel-default-base 0 5.3.18-24.61.1.9.26.4
SUSE:Linux Enterprise Module for Basesystem 15 SP2 kernel-preempt 0 5.3.18-24.61.1
SUSE:Linux Enterprise Module for Basesystem 15 SP2 kernel-source 0 5.3.18-24.61.1
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-64kb 0 5.3.18-59.5.2
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-default 0 5.3.18-59.5.2
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-default-base 0 5.3.18-59.5.2.18.2.2
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-preempt 0 5.3.18-59.5.2
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-source 0 5.3.18-59.5.2
SUSE:Linux Enterprise Module for Basesystem 15 SP3 kernel-zfcpdump 0 5.3.18-59.5.2
SUSE:Linux Enterprise Module for Development Tools 15 SP2 kernel-docs 0 5.3.18-24.61.1
SUSE:Linux Enterprise Module for Development Tools 15 SP2 kernel-obs-build 0 5.3.18-24.61.1
SUSE:Linux Enterprise Module for Development Tools 15 SP2 kernel-preempt 0 5.3.18-24.61.1
SUSE:Linux Enterprise Module for Development Tools 15 SP2 kernel-source 0 5.3.18-24.61.1
SUSE:Linux Enterprise Module for Development Tools 15 SP2 kernel-syms 0 5.3.18-24.61.1
SUSE:Linux Enterprise Module for Development Tools 15 SP3 kernel-docs 0 5.3.18-59.5.2
SUSE:Linux Enterprise Module for Development Tools 15 SP3 kernel-obs-build 0 5.3.18-59.5.1
SUSE:Linux Enterprise Module for Development Tools 15 SP3 kernel-preempt 0 5.3.18-59.5.2
SUSE:Linux Enterprise Module for Development Tools 15 SP3 kernel-source 0 5.3.18-59.5.2
SUSE:Linux Enterprise Module for Development Tools 15 SP3 kernel-syms 0 5.3.18-59.5.1
SUSE:Linux Enterprise Module for Legacy 15 SP2 kernel-default 0 5.3.18-24.61.1
SUSE:Linux Enterprise Module for Legacy 15 SP3 kernel-default 0 5.3.18-59.5.2
SUSE:Linux Enterprise Module for Public Cloud 15 SP2 kernel-azure 0 5.3.18-18.41.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP2 kernel-source-azure 0 5.3.18-18.41.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP2 kernel-syms-azure 0 5.3.18-18.41.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP3 kernel-azure 0 5.3.18-38.3.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP3 kernel-source-azure 0 5.3.18-38.3.1
SUSE:Linux Enterprise Module for Public Cloud 15 SP3 kernel-syms-azure 0 5.3.18-38.3.1
SUSE:Linux Enterprise Real Time 12 SP5 kernel-rt 0 4.12.14-10.37.1
SUSE:Linux Enterprise Real Time 12 SP5 kernel-rt_debug 0 4.12.14-10.37.1
SUSE:Linux Enterprise Real Time 12 SP5 kernel-source-rt 0 4.12.14-10.37.1
SUSE:Linux Enterprise Real Time 12 SP5 kernel-syms-rt 0 4.12.14-10.37.1
SUSE:Linux Enterprise Server 12 SP4-LTSS kernel-default 0 4.12.14-95.74.1
SUSE:Linux Enterprise Server 12 SP4-LTSS kernel-source 0 4.12.14-95.74.1
SUSE:Linux Enterprise Server 12 SP4-LTSS kernel-syms 0 4.12.14-95.74.1
SUSE:Linux Enterprise Server 12 SP5 kernel-azure 0 4.12.14-16.50.1
SUSE:Linux Enterprise Server 12 SP5 kernel-default 0 4.12.14-122.66.2
SUSE:Linux Enterprise Server 12 SP5 kernel-source 0 4.12.14-122.66.2
SUSE:Linux Enterprise Server 12 SP5 kernel-source-azure 0 4.12.14-16.50.1
SUSE:Linux Enterprise Server 12 SP5 kernel-syms 0 4.12.14-122.66.2
SUSE:Linux Enterprise Server 12 SP5 kernel-syms-azure 0 4.12.14-16.50.1
SUSE:Linux Enterprise Server 15 SP1-BCL kernel-default 0 4.12.14-197.89.2
SUSE:Linux Enterprise Server 15 SP1-BCL kernel-docs 0 4.12.14-197.89.3

Related vulnerabilities