Vulnerabilities · 2024 · Linux
CVE-2024-46677
Linux Kernel vulnerability
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.)
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/28c67f0f84f889fe9f4cbda8354132b20dc9212d · Patch
- git.kernel.org/stable/c/4643b91691e969b1b9ad54bf552d7a990cfa3b87 · Patch
- git.kernel.org/stable/c/612edd35f2a3910ab1f61c1f2338889d4ba99fa2 · Patch
- git.kernel.org/stable/c/620fe9809752fae91b4190e897b81ed9976dfb39 · Patch
- git.kernel.org/stable/c/8bbb9e4e0e66a39282e582d0440724055404b38c · Patch
- git.kernel.org/stable/c/bdd99e5f0ad5fa727b16f2101fe880aa2bff2f8e · Patch
- git.kernel.org/stable/c/defd8b3c37b0f9cb3e0f60f47d3d78d459d57fda · Patch
- git.kernel.org/stable/c/e8b9930b0eb045d19e883c65ff9676fc89320c70 · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-46677
- cve.org/CVERecord?id=CVE-2024-46677
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.