CVE-2024-46677: Linux Kernel

Medium severity, CVSS 5.5. EPSS: 0.3% chance of exploitation in the next 30 days.

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 Linux Kernel: from 4.12, before 4.19.321 (fixed in 4.19.321); from 4.20, before 5.4.283 (fixed in 5.4.283); from 5.5, before 5.10.225 (fixed in 5.10.225); from 5.11, before 5.15.166 (fixed in 5.15.166); from 5.16, before 6.1.108 (fixed in 6.1.108); from 6.2, before 6.6.49 (fixed in 6.6.49); …

Published 2024-09-13. Last modified 2026-06-17.