Bug 2312065 (CVE-2024-46677) - CVE-2024-46677 kernel: gtp: fix a potential NULL pointer dereference
Summary: CVE-2024-46677 kernel: gtp: fix a potential NULL pointer dereference
Keywords:
Status: NEW
Alias: CVE-2024-46677
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2312178
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-13 06:20 UTC by OSIDB Bzimport
Modified: 2024-09-13 11:39 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-09-13 06:20:45 UTC
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.)


Note You need to log in before you can comment on or make changes to this bug.