{"id":"CVE-2024-50260","published":"2024-11-09T10:15:13Z","modified":"2026-05-11T20:48:40Z","title":"sock_map: fix a NULL pointer dereference in sock_map_link_update_prog()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsock_map: fix a NULL pointer dereference in sock_map_link_update_prog()\n\nThe following race condition could trigger a NULL pointer dereference:\n\nsock_map_link_detach():\t\tsock_map_link_update_prog():\n   mutex_lock(&sockmap_mutex);\n   ...\n   sockmap_link->map = NULL;\n   mutex_unlock(&sockmap_mutex);\n   \t\t\t\t   mutex_lock(&sockmap_mutex);\n\t\t\t\t   ...\n\t\t\t\t   sock_map_prog_link_lookup(sockmap_link->map);\n\t\t\t\t   mutex_unlock(&sockmap_mutex);\n   <continue>\n\nFix it by adding a NULL pointer check. In this specific case, it makes\nno sense to update a link which is being released.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00168,"percentile":0.06152,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/9afe35fdda16e09d5bd3c49a68ba8c680dd678bd","tags":[]},{"url":"https://git.kernel.org/stable/c/740be3b9a6d73336f8c7d540842d0831dc7a808b","tags":[]}],"priority":{"score":4.5,"factors":[{"name":"EPSS percentile","points":1.23},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 699c23f02c65cbfc3e638f14ce0d70c23a2e1f02, < 9afe35fdda16e09d5bd3c49a68ba8c680dd678bd",">= 699c23f02c65cbfc3e638f14ce0d70c23a2e1f02, < 740be3b9a6d73336f8c7d540842d0831dc7a808b"]},{"vendor":"Linux","product":"Linux","versions":["6.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T20:15:24.584314Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-44762","exploited":false,"provenance":"source"}}