CVE-2024-46677
gtp: fix a potential NULL pointer dereference
Reported by linux · Published September 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. Fix it by returning an error pointer with the error code carried from sockfd_lookup(). (I found this bug during code inspection.)
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | e8b9930b0eb045d19e883c65ff9676fc89320c70, defd8b3c37b0f9cb3e0f60f47d3d78d459d57fda, bdd99e5f0ad5fa727b16f2101fe880aa2bff2f8e, 8bbb9e4e0e66a39282e582d0440724055404b38c, 620fe9809752fae91b4190e897b81ed9976dfb39, 612edd35f2a3910ab1f61c1f2338889d4ba99fa2, 4643b91691e969b1b9ad54bf552d7a990cfa3b87, 28c67f0f84f889fe9f4cbda8354132b20dc9212d |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1e3a3abd8b28cfda9d0d0167e50e0fe11bc372a9, 1e3a3abd8b28cfda9d0d0167e50e0fe11bc372a9, 1e3a3abd8b28cfda9d0d0167e50e0fe11bc372a9 |
| Linux | Linux | 4.12, 0, 4.19.321 |
| Linux | Linux | 5.10.225, 5.15.166, 6.1.108 |
| linux | linux_kernel | 4.12, 4.12, 4.12 |
Timeline
- Sep 12, 2024 CVE Published
- Sep 14, 2024 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (9 in total, the first dated here)
- Jan 4, 2026 Security Advisory (72 in total, the first dated here)
- Feb 16, 2026 CVE Updated
- Mar 30, 2026 Distribution Patch (60 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-46677
vulnetix vdb fixes CVE-2024-46677
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-46677/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart