CVE-2024-46677
gtp: fix a potential NULL pointer dereference
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.)
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
4.12
References 8
git.kernel.org
- stable/c/620fe9809752fae91b4190e897b81ed9976dfb39
- stable/c/bdd99e5f0ad5fa727b16f2101fe880aa2bff2f8e
- stable/c/8bbb9e4e0e66a39282e582d0440724055404b38c
- stable/c/4643b91691e969b1b9ad54bf552d7a990cfa3b87
- stable/c/e8b9930b0eb045d19e883c65ff9676fc89320c70
- stable/c/28c67f0f84f889fe9f4cbda8354132b20dc9212d
- stable/c/612edd35f2a3910ab1f61c1f2338889d4ba99fa2
- stable/c/defd8b3c37b0f9cb3e0f60f47d3d78d459d57fda