Revert "net/smc: Introduce TCP ULP support"
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d7cd421da9da2cc7b4d25b8537f66db5c8331c40 · < df31a6b0a3057e66994ad6ccf5d95b9b9514f033| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
Revert "net/smc: Introduce TCP ULP support"
This reverts commit d7cd421da9da2cc7b4d25b8537f66db5c8331c40.
As reported by Al Viro, the TCP ULP support for SMC is fundamentally broken. The implementation attempts to convert an active TCP socket into an SMC socket by modifying the underlying `struct file`, dentry, and inode in-place, which violates core VFS invariants that assume these structures are immutable for an open file, creating a risk of use after free errors and general system instability.
Given the severity of this design flaw and the fact that cleaner alternatives (e.g., LD_PRELOAD, BPF) exist for legacy application transparency, the correct course of action is to remove this feature entirely.
From the CVE record · Linux
The Linux kernel's SMC TCP ULP support modifies file-system structures in place when converting an active TCP socket, violating VFS invariants. This can cause use-after-free errors and system instability. The input does not specify whether triggering the issue requires network or local access, authentication, or user interaction.
Engineers running Linux kernels that include SMC TCP ULP support should check their installations; affected versions are not specified.