CVE-2024-40985
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-40985 is a vulnerability in the Linux kernel's TCP Authentication Option (TCP-AO) implementation that was discovered in July 2024. The issue involves a memory leak in the net/tcp_ao subsystem when handling error paths during TCP-AO configuration (Kernel Git).

Technical details

The vulnerability was introduced alongside the TCP_AO_CMDF_AO_REQUIRED functionality in version 5 of the TCP-AO patches. Specifically, the issue occurs in the tcp_ao_info_cmd function where ao_info was not properly freed on the error path when tcp_ao_required_verify fails (Kernel Git). The bug was fixed by properly handling the error case and adding a goto statement to ensure proper cleanup (Red Hat).

Impact

The vulnerability has been assessed as having a Low severity impact. The issue could potentially lead to memory leaks in the kernel when configuring TCP Authentication Option settings (Red Hat).

Exploitability

The vulnerability requires local access and can only be triggered through specific TCP-AO configuration operations. There are no known exploits in the wild (Red Hat).

Mitigation and workarounds

The issue has been fixed in multiple Linux kernel versions. Ubuntu has released patches for version 24.04 LTS (linux 6.8.0-44.44), and various other kernel variants including linux-aws, linux-azure, and linux-gcp have also been updated (Ubuntu). Users are advised to update their kernel to the patched versions.

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-2026-68450NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-core
NoYesAug 12, 2026
CVE-2026-68449NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel
NoYesAug 12, 2026
CVE-2026-68448NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-debug-modules-extra
NoYesAug 12, 2026
CVE-2026-68447NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-modules
NoYesAug 12, 2026
CVE-2026-68446NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel.src
NoYesAug 12, 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