Skip to main content
Network Thinking Solutions Logo

CVE-2024-46677

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.

All CVEs
CVE-2024-46677Published 9/13/2024

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.

Vendor advisory
CVSS5.5Medium

Overview

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.)

Published
9/13/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.12, < 4.19.321

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.283

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.225

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.166

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.108

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.49

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.10.8

Verify advisory

Source
linux kernel
linux
6.11

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 1e3a3abd8b28cfda9d0d0167e50e0fe11bc372a9, < 620fe9809752fae91b4190e897b81ed9976dfb39

Verify advisory

Source
Linux
Linux
≥ 1e3a3abd8b28cfda9d0d0167e50e0fe11bc372a9, < bdd99e5f0ad5fa727b16f2101fe880aa2bff2f8e

Verify advisory

Source
Linux
Linux
≥ 1e3a3abd8b28cfda9d0d0167e50e0fe11bc372a9, < 8bbb9e4e0e66a39282e582d0440724055404b38c

Verify advisory

Source
Linux
Linux
≥ 1e3a3abd8b28cfda9d0d0167e50e0fe11bc372a9, < 4643b91691e969b1b9ad54bf552d7a990cfa3b87

Verify advisory

Source
Linux
Linux
≥ 1e3a3abd8b28cfda9d0d0167e50e0fe11bc372a9, < e8b9930b0eb045d19e883c65ff9676fc89320c70

Verify advisory

Source
Linux
Linux
≥ 1e3a3abd8b28cfda9d0d0167e50e0fe11bc372a9, < 28c67f0f84f889fe9f4cbda8354132b20dc9212d

Verify advisory

Source
Linux
Linux
≥ 1e3a3abd8b28cfda9d0d0167e50e0fe11bc372a9, < 612edd35f2a3910ab1f61c1f2338889d4ba99fa2

Verify advisory

Source
Linux
Linux
≥ 1e3a3abd8b28cfda9d0d0167e50e0fe11bc372a9, < defd8b3c37b0f9cb3e0f60f47d3d78d459d57fda

Verify advisory

Source
Linux
Linux
4.12

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.