CVE-2024-50260: Linux Kernel - Null Pointer Dereference
- Cve: CVE-2024-50260
- Name: Linux Kernel - Null Pointer Dereference
- Description: In the Linux kernel, the following vulnerability has been resolved: sock_map: fix a NULL pointer dereference in sock_map_link_update_prog() The following race condition could trigger a NULL pointer dereference: sock_map_link_detach(): sock_map_link_update_prog(): mutex_lock(&sockmap_mutex); ... sockmap_link->map = NULL; mutex_unlock(&sockmap_mutex); mutex_lock(&sockmap_mutex); ... sock_map_prog_link_lookup(sockmap_link->map); mutex_unlock(&sockmap_mutex); <continue> Fix it by adding a NULL pointer check. In this specific case, it makes no sense to update a link which is being released.
- Impact: Kernel panic or crash, leading to denial of service or potential privilege escalation.
- Remediation: Add a NULL pointer check in sock_map_link_update_prog() to prevent dereferencing a NULL pointer.
- Vulnerability type: race_condition
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.7
- Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00168
- Epss percentile: 0.05961
- Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Published at: 2024-11-09T11:15:11Z
- Age in days: 745
- Modified at: 2026-06-17T08:04:02Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-50260
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-476 | NULL Pointer Dereference |
References
| Url | Source | Tags |
|---|---|---|
| https://git.kernel.org/stable/c/740be3b9a6d73336f8c7d540842d0831dc7a808b | nvd | Patch |
| https://git.kernel.org/stable/c/9afe35fdda16e09d5bd3c49a68ba8c680dd678bd | nvd | Patch |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| linux:linux_kernel | = 6.12 rc1; = 6.12 rc2; = 6.12 rc3; = 6.12 rc4; = 6.12 rc5; >= 6.10, < 6.11.7 | no | nvd | /v1/products/linux/linux_kernel |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | cna_commit, commit | yes | /v1/repositories/torvalds/linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 10038339
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports