CVE-2024-46677
Last modified
CVE-2024-46677 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.). EPSS estimates a 0.26% chance of exploitation in the next 30 days.
Description
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.)
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 4.12, < 4.19.321 | — |
| Linux | Linux Kernel | >= 4.20, < 5.4.283 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.225 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.166 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.108 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.49 | — |
| Linux | Linux Kernel | >= 6.7, < 6.10.8 | — |
| Linux | Linux Kernel | 6.11 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-46677?
How severe is CVE-2024-46677?
How do I fix CVE-2024-46677?
Are you affected by CVE-2024-46677?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
