Menu

Star on GitHub · 3.2k

CVE-2024-39490

6.2 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: ipv6: sr: fix missing sk_buff release in seg6_input_core The seg6_input() function is responsible for adding the SRH into a pac…

Published Jul 10, 2024CWE-401EPSS 0.22%

Overview

CVE-2024-39490 is a medium-severity vulnerability. It was published on July 10, 2024 and has a CVSS 3.1 base score of 6.2 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.2, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

ipv6: sr: fix missing sk_buff release in seg6_input_core

The seg6_input() function is responsible for adding the SRH into a

packet, delegating the operation to the seg6_input_core(). This function

uses the skb_cow_head() to ensure that there is sufficient headroom in

the sk_buff for accommodating the link-layer header.

In the event that the skb_cow_header() function fails, the

seg6_input_core() catches the error but it does not release the sk_buff,

which will result in a memory leak.

This issue was introduced in commit af3b5158b89d ("ipv6: sr: fix BUG due

to headroom too small after SRH push") and persists even after commit

7a3f5b0de364 ("netfilter: add netfilter hooks to SRv6 data plane"),

where the entire seg6_input() code was refactored to deal with netfilter

hooks.

The proposed patch addresses the identified memory leak by requiring the

seg6_input_core() function to release the sk_buff in the event that

skb_cow

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-39490?

CVE-2024-39490 is a medium-severity vulnerability. It was published on July 10, 2024 and has a CVSS 3.1 base score of 6.2 (MEDIUM).

How severe is CVE-2024-39490?

This vulnerability has a CVSS 3.1 base score of 6.2, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-39490?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-39490?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-39490 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2024

View all