{"id":"CVE-2024-46677","aliases":["CVE-2024-46677"],"related":[],"kind":"vulnerability","state":"published","title":"gtp: fix a potential NULL pointer dereference","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ngtp: fix a potential NULL pointer dereference\n\nWhen sockfd_lookup() fails, gtp_encap_enable_socket() returns a\nNULL pointer, but its callers only check for error pointers thus miss\nthe NULL pointer case.\n\nFix it by returning an error pointer with the error code carried from\nsockfd_lookup().\n\n(I found this bug during code inspection.)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ngtp: fix a potential NULL pointer dereference\n\nWhen sockfd_lookup() fails, gtp_encap_enable_socket() returns a\nNULL pointer, but its callers only check for error pointers thus miss\nthe NULL pointer case.\n\nFix it by returning an error pointer with the error code carried from\nsockfd_lookup().\n\n(I found this bug during code inspection.)","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: gtp: se corrige una posible desreferencia de puntero NULL Cuando sockfd_lookup() falla, gtp_encap_enable_socket() devuelve un puntero NULL, pero sus invocadores solo comprueban los punteros de error, por lo que pasan por alto el caso del puntero NULL. Arréglelo devolviendo un puntero de error con el código de error que lleva sockfd_lookup(). (Encontré este error durante la inspección del código).","source":"nvd"}],"published":"2024-09-13T05:29:12.203Z","modified":"2026-06-17T07:55:42.727Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"1e3a3abd8b28cfda9d0d0167e50e0fe11bc372a9","fixed":"620fe9809752fae91b4190e897b81ed9976dfb39","status":"affected"},{"type":"git","introduced":"1e3a3abd8b28cfda9d0d0167e50e0fe11bc372a9","fixed":"bdd99e5f0ad5fa727b16f2101fe880aa2bff2f8e","status":"affected"},{"type":"git","introduced":"1e3a3abd8b28cfda9d0d0167e50e0fe11bc372a9","fixed":"8bbb9e4e0e66a39282e582d0440724055404b38c","status":"affected"},{"type":"git","introduced":"1e3a3abd8b28cfda9d0d0167e50e0fe11bc372a9","fixed":"4643b91691e969b1b9ad54bf552d7a990cfa3b87","status":"affected"},{"type":"git","introduced":"1e3a3abd8b28cfda9d0d0167e50e0fe11bc372a9","fixed":"e8b9930b0eb045d19e883c65ff9676fc89320c70","status":"affected"},{"type":"git","introduced":"1e3a3abd8b28cfda9d0d0167e50e0fe11bc372a9","fixed":"28c67f0f84f889fe9f4cbda8354132b20dc9212d","status":"affected"},{"type":"git","introduced":"1e3a3abd8b28cfda9d0d0167e50e0fe11bc372a9","fixed":"612edd35f2a3910ab1f61c1f2338889d4ba99fa2","status":"affected"},{"type":"git","introduced":"1e3a3abd8b28cfda9d0d0167e50e0fe11bc372a9","fixed":"defd8b3c37b0f9cb3e0f60f47d3d78d459d57fda","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.12","status":"unaffected"},{"type":"semver","introduced":"4.19.321","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.283","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.225","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.166","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.108","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.49","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.8","lastAffected":"6.10.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.11","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.12","fixed":"4.19.321"},{"status":"affected","introduced":"4.20","fixed":"5.4.283"},{"status":"affected","introduced":"5.5","fixed":"5.10.225"},{"status":"affected","introduced":"5.11","fixed":"5.15.166"},{"status":"affected","introduced":"5.16","fixed":"6.1.108"},{"status":"affected","introduced":"6.2","fixed":"6.6.49"},{"status":"affected","introduced":"6.7","fixed":"6.10.8"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"},{"status":"affected","version":"6.11"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/620fe9809752fae91b4190e897b81ed9976dfb39","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bdd99e5f0ad5fa727b16f2101fe880aa2bff2f8e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8bbb9e4e0e66a39282e582d0440724055404b38c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4643b91691e969b1b9ad54bf552d7a990cfa3b87","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e8b9930b0eb045d19e883c65ff9676fc89320c70","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/28c67f0f84f889fe9f4cbda8354132b20dc9212d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/612edd35f2a3910ab1f61c1f2338889d4ba99fa2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/defd8b3c37b0f9cb3e0f60f47d3d78d459d57fda","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-29T15:12:57.670Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-46677","url":"https://www.cve.org/CVERecord?id=CVE-2024-46677","licence":"CVE Terms of Use","modified":"2026-05-11T20:34:16.024Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-46677","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46677","licence":"Public domain","modified":"2026-06-17T07:55:42.727Z"}],"updatedAt":"2026-11-25T22:58:45.372Z","epss":{"score":0.00319,"percentile":0.17253,"date":"2026-11-30T12:00:22.000Z"}}