CVE-2024-46677
MediumIn 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.)
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-476CVE-2024-46677 is a NULL Pointer Dereference vulnerability
What is NULL Pointer Dereference?
The product dereferences a pointer that it expects to be valid but is NULL, typically causing a crash. Learn more on MITRE CWE
Affected versions
Linux kernel versions
4.12
and later are affected. Fixed in
4.19.321,
5.4.283,
5.10.225,
5.15.166,
6.1.108,
6.6.49,
6.10.8,
6.11
and their respective stable series.
References
The following references provide additional information about CVE-2024-46677 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/28c67f0f84f889fe9f4cbda8354132b20dc9212d
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4643b91691e969b1b9ad54bf552d7a990cfa3b87
-
PatchKernel patch commithttps://git.kernel.org/stable/c/612edd35f2a3910ab1f61c1f2338889d4ba99fa2
Frequently asked questions
-
What is CVE-2024-46677?
CVE-2024-46677 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as a NULL Pointer Dereference flaw (CWE-476) . It affects Linux kernel versions from 4.12 onward and has been patched in 4.19.321, 5.4.283, 5.10.225 and others. CVE-2024-46677 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-46677?
CVE-2024-46677 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-46677?
Yes — CVE-2024-46677 has been patched. Fixed versions include 4.19.321, 5.4.283, 5.10.225 and others. If you are running Linux kernel 4.12 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-46677 actively exploited?
No — CVE-2024-46677 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is NULL Pointer Dereference (CWE-476)?
The product dereferences a pointer that it expects to be valid but is NULL, typically causing a crash. View CWE-476 on MITRE CWE →