CVE-2024-40961
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-40961 is a vulnerability in the Linux kernel's IPv6 implementation that could lead to a NULL pointer dereference in the fib6_nh_init() function. The vulnerability was discovered when syzbot identified that in6_dev_get() can return NULL, which wasn't properly handled in the code (Kernel Patch). This issue affects Linux kernel versions from 4.17 up to versions before 6.9.7 (NVD).

Technical details

The vulnerability occurs in the IPv6 routing functionality where the fib6_nh_init() function fails to properly check for NULL return values from in6_dev_get(). When calling ip6_validate_gw() and ip6_route_check_nh(), the code assumes idev is not NULL. This can lead to a general protection fault when attempting to access the cnf.disable_ipv6 member of a NULL pointer (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 result in a kernel crash (denial of service) when attempting to access invalid memory locations. This occurs due to a NULL pointer dereference, which triggers a general protection fault in the kernel (Kernel Patch).

Exploitability

The vulnerability requires local access with low privileges to exploit. It can be triggered through the IPv6 routing subsystem when manipulating route configurations (NVD).

Mitigation and workarounds

The vulnerability has been fixed in the Linux kernel through a patch that adds proper NULL pointer checking before accessing the idev structure. The fix has been backported to multiple stable kernel versions. Users should update their kernel to versions that include the fix (Kernel Patch).

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-74732NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-firmware
NoYesAug 22, 2026
CVE-2026-74730NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel
NoYesAug 22, 2026
CVE-2026-74726NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules
NoYesAug 22, 2026
CVE-2026-74719NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-partner
NoYesAug 22, 2026
CVE-2026-74717NONEN/A
  • Linux Kernel logoLinux Kernel
  • rtla
NoYesAug 22, 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