5.5
MEDIUM
CVE-2024-46677
Linux Kernel GTP NULL Pointer Dereference Vulnerability
Description

In the Linux kernel, the following vulnerability has been resolved: gtp: fix a potential NULL pointer dereference When sockfd_lookup() fails, gtp_encap_enable_socket() returns a NULL pointer, but its callers only check for error pointers thus miss the NULL pointer case. Fix it by returning an error pointer with the error code carried from sockfd_lookup(). (I found this bug during code inspection.)

INFO

Published Date :

Sept. 13, 2024, 6:15 a.m.

Last Modified :

Sept. 13, 2024, 4:51 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-46677 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-46677 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-46677 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Sep. 13, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://git.kernel.org/stable/c/28c67f0f84f889fe9f4cbda8354132b20dc9212d No Types Assigned https://git.kernel.org/stable/c/28c67f0f84f889fe9f4cbda8354132b20dc9212d Patch
    Changed Reference Type https://git.kernel.org/stable/c/4643b91691e969b1b9ad54bf552d7a990cfa3b87 No Types Assigned https://git.kernel.org/stable/c/4643b91691e969b1b9ad54bf552d7a990cfa3b87 Patch
    Changed Reference Type https://git.kernel.org/stable/c/612edd35f2a3910ab1f61c1f2338889d4ba99fa2 No Types Assigned https://git.kernel.org/stable/c/612edd35f2a3910ab1f61c1f2338889d4ba99fa2 Patch
    Changed Reference Type https://git.kernel.org/stable/c/620fe9809752fae91b4190e897b81ed9976dfb39 No Types Assigned https://git.kernel.org/stable/c/620fe9809752fae91b4190e897b81ed9976dfb39 Patch
    Changed Reference Type https://git.kernel.org/stable/c/8bbb9e4e0e66a39282e582d0440724055404b38c No Types Assigned https://git.kernel.org/stable/c/8bbb9e4e0e66a39282e582d0440724055404b38c Patch
    Changed Reference Type https://git.kernel.org/stable/c/bdd99e5f0ad5fa727b16f2101fe880aa2bff2f8e No Types Assigned https://git.kernel.org/stable/c/bdd99e5f0ad5fa727b16f2101fe880aa2bff2f8e Patch
    Changed Reference Type https://git.kernel.org/stable/c/defd8b3c37b0f9cb3e0f60f47d3d78d459d57fda No Types Assigned https://git.kernel.org/stable/c/defd8b3c37b0f9cb3e0f60f47d3d78d459d57fda Patch
    Changed Reference Type https://git.kernel.org/stable/c/e8b9930b0eb045d19e883c65ff9676fc89320c70 No Types Assigned https://git.kernel.org/stable/c/e8b9930b0eb045d19e883c65ff9676fc89320c70 Patch
    Added CWE NIST CWE-476
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.12 up to (excluding) 4.19.321 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.283 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.225 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.166 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.108 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.49 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.10.8 *cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.11:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.11:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.11:rc5:*:*:*:*:*:*
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Sep. 13, 2024

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: gtp: fix a potential NULL pointer dereference When sockfd_lookup() fails, gtp_encap_enable_socket() returns a NULL pointer, but its callers only check for error pointers thus miss the NULL pointer case. Fix it by returning an error pointer with the error code carried from sockfd_lookup(). (I found this bug during code inspection.)
    Added Reference kernel.org https://git.kernel.org/stable/c/620fe9809752fae91b4190e897b81ed9976dfb39 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/bdd99e5f0ad5fa727b16f2101fe880aa2bff2f8e [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/8bbb9e4e0e66a39282e582d0440724055404b38c [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/4643b91691e969b1b9ad54bf552d7a990cfa3b87 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/e8b9930b0eb045d19e883c65ff9676fc89320c70 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/28c67f0f84f889fe9f4cbda8354132b20dc9212d [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/612edd35f2a3910ab1f61c1f2338889d4ba99fa2 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/defd8b3c37b0f9cb3e0f60f47d3d78d459d57fda [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-46677 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-46677 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability