Cloudanix VulnDB

CVE-2023-6176

Medium · 4.7

CVSS

4.7

EPSS

0.3%

Published

Nov 16, 2023

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in the Linux kernel can let someone with local access crash the computer or possibly gain more control over it.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
High
Impact
Privilege Gain
Component
OS kernel
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Null pointer dereference in the Linux kernel scatterwalk cryptographic API triggered by a maliciously constructed packet under specific socket configurations, resulting in a kernel crash (denial of service) or potential privilege escalation.

Why it matters to the business

Local users on affected Linux systems can cause unplanned downtime through system crashes or potentially gain elevated privileges, disrupting operations and increasing security risk on servers and endpoints running vulnerable kernels.

How an attack unfolds

An authenticated local attacker crafts a malicious network packet and configures a socket in a specific way to invoke the flawed scatterwalk code path in the kernel crypto API, triggering the null pointer dereference that crashes the system or allows privilege escalation.

How to fix it

Update the Linux kernel to the fixed commit cfaa80c91f6f99b9342b6557f0f0e1143e434066 or apply the corresponding stable kernel patch that resolves the null pointer dereference in scatterwalk.

How to confirm the fix worked

Verify the running kernel contains commit cfaa80c91f6f99b9342b6557f0f0e1143e434066 or is built from a source tree after that commit; test that the specific socket configuration no longer triggers a crash or oops in the crypto scatterwalk path.

Typical attack path

  1. Obtain local user access on a target Linux system
  2. Construct a malicious packet with specific socket options targeting the crypto scatterwalk API
  3. Trigger the kernel code path to dereference a null pointer
  4. Achieve kernel crash (DoS) or attempt to leverage for privilege escalation

How to detect it

Review kernel logs (dmesg, /var/log/kern.log, journalctl) for null pointer dereference or oops messages involving scatterwalk or crypto API functions; look for unusual local processes creating sockets with non-standard configurations around the time of a crash.

What your security team should do

  • Prioritize patching Linux kernel installations to the fixed commit cfaa80c91f6f99b9342b6557f0f0e1143e434066
  • Restrict local user accounts and review socket creation privileges where possible
  • Monitor kernel logs for scatterwalk-related oops or null pointer dereference messages
  • Apply defense-in-depth measures such as mandatory access controls to limit local exploit impact

The record

A null pointer dereference flaw was found in the Linux kernel API for the cryptographic algorithm scatterwalk functionality. This issue occurs when a user constructs a malicious packet with specific socket configuration, which could allow a local user to crash the system or escalate their privileges on the system.

Affected packages

Ecosystem Package Introduced Fixed
AlmaLinux:9 bpftool 0 7.3.0-427.13.1.el9_4
AlmaLinux:9 kernel 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-64k 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-64k-core 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-64k-debug 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-64k-debug-core 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-64k-debug-devel 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-64k-debug-devel-matched 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-64k-debug-modules 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-64k-debug-modules-core 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-64k-debug-modules-extra 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-64k-devel 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-64k-devel-matched 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-64k-modules 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-64k-modules-core 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-64k-modules-extra 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-abi-stablelists 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-core 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-cross-headers 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-debug 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-debug-core 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-debug-devel 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-debug-devel-matched 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-debug-modules 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-debug-modules-core 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-debug-modules-extra 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-debug-uki-virt 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-devel 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-devel-matched 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-doc 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-headers 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-modules 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-modules-core 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-modules-extra 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-rt 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-rt-core 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-rt-debug 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-rt-debug-core 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-rt-debug-devel 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-rt-debug-modules 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-rt-debug-modules-core 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-rt-debug-modules-extra 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-rt-devel 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-rt-modules 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-rt-modules-core 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-rt-modules-extra 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-tools 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-tools-libs 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-tools-libs-devel 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-uki-virt 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-zfcpdump 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-zfcpdump-core 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-zfcpdump-devel 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-zfcpdump-devel-matched 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-zfcpdump-modules 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-zfcpdump-modules-core 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 kernel-zfcpdump-modules-extra 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 libperf 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 perf 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 python3-perf 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 rtla 0 5.14.0-427.13.1.el9_4
AlmaLinux:9 rv 0 5.14.0-427.13.1.el9_4
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:11 linux 0 5.10.197-1
Debian:12 linux 0 6.1.55-1
Debian:13 linux 0 6.5.6-1
Mageia:9 kernel 0 6.5.11-5.mga9
Mageia:9 kernel-linus 0 6.5.11-2.mga9
Mageia:9 kmod-virtualbox 0 7.0.10-37.mga9
Mageia:9 kmod-xtables-addons 0 3.24-50.mga9
Red Hat:enterprise_linux:8::baseos bpftool 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos bpftool-debuginfo 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-abi-stablelists 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-core 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-cross-headers 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-debug 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-debug-core 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-debug-debuginfo 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-debug-devel 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-debug-modules 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-debug-modules-extra 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-debuginfo 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-debuginfo-common-aarch64 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-debuginfo-common-ppc64le 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-debuginfo-common-s390x 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-debuginfo-common-x86_64 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-devel 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-doc 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-headers 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-modules 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-modules-extra 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-tools 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-tools-debuginfo 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-tools-libs 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-tools-libs-devel 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-zfcpdump 0 0:4.18.0-553.el8_10
Red Hat:enterprise_linux:8::baseos kernel-zfcpdump-core 0 0:4.18.0-553.el8_10

Related vulnerabilities