CVE-2024-36489
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-36489 is a vulnerability in the Linux kernel's TLS (Transport Layer Security) implementation. The issue was discovered in the tls_init() function where a missing write memory barrier could lead to store-store reordering, potentially causing NULL dereference in tls_{setsockopt,getsockopt} functions (Kernel Git).

Technical details

The vulnerability stems from a race condition in the TLS initialization process. When store-store reordering occurs between ctx->sk_proto initialization and sk->sk_prot update, it can result in a NULL dereference. The issue specifically manifests in a scenario where CPU operations can be reordered: ctx->sk_proto = READ_ONCE(sk->sk_prot) can be reordered with WRITE_ONCE(sk->sk_prot, tls_prots), potentially leading to ctx->sk_proto->setsockopt() accessing a NULL value (Kernel Git).

Impact

The vulnerability can lead to NULL pointer dereference in the Linux kernel's TLS implementation, potentially causing system crashes or denial of service conditions (NVD).

Mitigation and workarounds

The fix involves using rcu_assign_pointer() which provides release barrier semantics. The patch moves the rcu_assign_pointer() call after ctx->sk_proto initialization to ensure proper ordering of operations. This ensures that ctx->sk_proto is visible before changing sk->sk_prot in update_sk_prot() (Kernel Git).

Additional resources


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-2025-68746MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-uki-virt-addons
NoYesDec 24, 2025
CVE-2025-68745MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-core
NoYesDec 24, 2025
CVE-2025-68744MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-rt-modules-extra
NoNoDec 24, 2025
CVE-2025-68742MEDIUM5.5
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 24, 2025
CVE-2025-68749N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra-matched
NoNoDec 24, 2025

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