CVE-2024-36938
Linux Kernel vulnerability analysis and mitigation

Overview

A NULL pointer dereference vulnerability was discovered in the Linux kernel's BPF subsystem, specifically in the sk_psock_skb_ingress_enqueue function (CVE-2024-36938). The vulnerability affects Linux kernel versions from 4.20 up to versions before 5.15.159, 6.1.91, 6.6.31, and 6.8.10 (NVD).

Technical details

The vulnerability stems from a data race condition in sk_psock_skb_ingress_enqueue where a NULL pointer dereference can occur due to lack of proper protection of saved_data_ready. The issue is similar to a previous vulnerability fixed by commit 4cd12c6065df. The bug manifests as a race between sk_psock_drop and sk_psock_skb_ingress_enqueue functions, where one thread can write to a memory location while another thread is reading from it (Kernel Patch). The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can lead to a denial of service condition through a NULL pointer dereference in the kernel. When exploited, it could cause system crashes or instability, affecting system availability (NVD).

Exploitability

The vulnerability requires local access and low privileges to exploit. It was discovered and reported by the Kernel Concurrency Sanitizer (KCSAN) during testing, indicating it can be triggered through specific socket operations (Kernel Patch).

Mitigation and workarounds

The vulnerability has been fixed by adding proper locking mechanisms using sk_callback_lock read lock to protect the saved_data_ready access. The fix involves moving lock pairs into the sk_psock_data_ready function as suggested by John Fastabend. Users should update to kernel versions 5.15.159, 6.1.91, 6.6.31, 6.8.10 or later to receive the fix (Kernel Patch).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.94-1

Fixed

bullseye

linux: 5.10.223-1

Fixed

sid

linux: 6.8.11-1

Fixed

trixie

linux: 6.8.11-1

Fixed

SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-80904MEDIUM5.9
  • Linux Kernel logoLinux Kernel
  • linux-hwe-5.15
NoYesSep 04, 2026
CVE-2026-80905MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-ibm-5.15
NoYesSep 04, 2026
CVE-2026-80913MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-aws-fips
NoYesSep 04, 2026
CVE-2026-80912MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-riscv-6.17
NoYesSep 04, 2026
CVE-2026-80906NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-nvidia
NoYesSep 04, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management