# CVE-2024-50293: net/smc: do not leave a dangling sk pointer in \_\_smc\_create()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-11-19T01:30:39.362Z
- **Modified:** 2026-08-05T11:43:09.027Z

## Who should check

- Anyone running Linux \>= d25a92ccae6bed02327b63d138e12e7806830f78, \< d2cc492124e1f22daa1700f069bcc58788043381; \>= d25a92ccae6bed02327b63d138e12e7806830f78, \< d293958a8595ba566fb90b99da4d6263e14fee15
- Anyone running Linux 6.11

## Description

In the Linux kernel, the following vulnerability has been resolved:

net/smc: do not leave a dangling sk pointer in \_\_smc\_create()

Thanks to commit 4bbd360a5084 ("socket: Print pf-\>create() when
it does not clear sock-\>sk on failure."), syzbot found an issue with AF\_SMC:

smc\_create must clear sock-\>sk on failure, family: 43, type: 1, protocol: 0
 WARNING: CPU: 0 PID: 5827 at net/socket.c:1565 \_\_sock\_create+0x96f/0xa30 net/socket.c:1563
Modules linked in:
CPU: 0 UID: 0 PID: 5827 Comm: syz-executor259 Not tainted 6.12.0-rc6-next-20241106-syzkaller \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
 RIP: 0010:\_\_sock\_create+0x96f/0xa30 net/socket.c:1563
Code: 03 00 74 08 4c 89 e7 e8 4f 3b 85 f8 49 8b 34 24 48 c7 c7 40 89 0c 8d 8b 54 24 04 8b 4c 24 0c 44 8b 44 24 08 e8 32 78 db f7 90 \<0f\> 0b 90 90 e9 d3 fd ff ff 89 e9 80 e1 07 fe c1 38 c1 0f 8c ee f7
RSP: 0018:ffffc90003e4fda0 EFLAGS: 00010246
RAX: 099c6f938c7f4700 RBX: 1ffffffff1a595fd RCX: ffff888034823c00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00000000ffffffe9 R08: ffffffff81567052 R09: 1ffff920007c9f50
R10: dffffc0000000000 R11: fffff520007c9f51 R12: ffffffff8d2cafe8
R13: 1ffffffff1a595fe R14: ffffffff9a789c40 R15: ffff8880764298c0
FS:  000055557b518380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa62ff43225 CR3: 0000000031628000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 \<TASK\>
  sock\_create net/socket.c:1616 \[inline\]
  \_\_sys\_socket\_create net/socket.c:1653 \[inline\]
  \_\_sys\_socket+0x150/0x3c0 net/socket.c:1700
  \_\_do\_sys\_socket net/socket.c:1714 \[inline\]
  \_\_se\_sys\_socket net/socket.c:1712 \[inline\]

For reference, see commit 2d859aff775d ("Merge branch
'do-not-leave-dangling-sk-pointers-in-pf-create-functions'")

## Affected and fixed versions

- Linux: \>= d25a92ccae6bed02327b63d138e12e7806830f78, \< d2cc492124e1f22daa1700f069bcc58788043381; \>= d25a92ccae6bed02327b63d138e12e7806830f78, \< d293958a8595ba566fb90b99da4d6263e14fee15 (cvelist)
- Linux: 6.11 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-50293. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-50293.md
Affected: Linux >= d25a92ccae6bed02327b63d138e12e7806830f78, < d2cc492124e1f22daa1700f069bcc58788043381; >= d25a92ccae6bed02327b63d138e12e7806830f78, < d293958a8595ba566fb90b99da4d6263e14fee15; Linux 6.11
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-50293 being exploited?

There is no confirmed exploitation: CVE-2024-50293 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-50293?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-50293?

Linux \>= d25a92ccae6bed02327b63d138e12e7806830f78, \< d2cc492124e1f22daa1700f069bcc58788043381; \>= d25a92ccae6bed02327b63d138e12e7806830f78, \< d293958a8595ba566fb90b99da4d6263e14fee15; Linux 6.11.

### Is there a fix for CVE-2024-50293?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-50293?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/d2cc492124e1f22daa1700f069bcc58788043381>
- patch: <https://git.kernel.org/stable/c/d293958a8595ba566fb90b99da4d6263e14fee15>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-50293>

HTML: <https://flawdb.com/CVE-2024-50293> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-50293>
