CVE-2024-46677
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.)
How to fix
- linux linux_kernel4.19.321, 5.4.283, 5.10.225, 5.15.166, 6.1.108, 6.6.49, 6.10.8 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 4.12 ≤ v < 4.19.321, 4.20 ≤ v < 5.4.283, 5.5 ≤ v < 5.10.225, 5.11 ≤ v < 5.15.166, 5.16 ≤ v < 6.1.108, 6.2 ≤ v < 6.6.49, 6.7 ≤ v < 6.10.8, 6.11 | 4.19.321, 5.4.283, 5.10.225, 5.15.166, 6.1.108, 6.6.49, 6.10.8 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.