CVE-2022-49905 Details
Description
In the Linux kernel, the following vulnerability has been resolved: net/smc: Fix possible leaked pernet namespace in smc_init() In smc_init(), register_pernet_subsys(&smc_net_stat_ops) is called without any error handling. If it fails, registering of &smc_net_ops won't be reverted. And if smc_nl_init() fails, &smc_net_stat_ops itself won't be reverted. This leaves wild ops in subsystem linkedlist and when another module tries to call register_pernet_operations() it triggers page fault: BUG: unable to handle page fault for address: fffffbfff81b964c RIP: 0010:register_pernet_operations+0x1b9/0x5f0 Call Trace: <TASK> register_pernet_subsys+0x29/0x40 ebtables_init+0x58/0x1000 [ebtables] ...
A vulnerability in the Linux kernel's SMC (Shared Memory Communication) implementation can lead to a per-net namespace leak. This issue arises in the 'smc_init()' function, where 'register_pernet_subsys(&smc_net_stat_ops)' is called without proper error handling. If this registration fails, the corresponding 'smc_net_ops' registration is not reverted. Additionally, if 'smc_nl_init()' fails, the 'smc_net_stat_ops' registration also remains active. This oversight can leave invalid operations in the subsystem's linked list, potentially causing a page fault when another module attempts to register per-net operations. The page fault occurs because the invalid operations reference triggers a bug in the kernel's memory handling, leading to a crash.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/61defd6450a9ef4a1487090449999b0fd83518ef | kernel.org | Patch |
| https://git.kernel.org/stable/c/62ff373da2534534c55debe6c724c7fe14adb97f | kernel.org | Patch |
| https://git.kernel.org/stable/c/c97daf836f7caf81d3144b8cd2b2a51f9bc3bd09 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.14, < 5.15.78 >= 5.16, < 6.0.8 6.1 rc1 6.1 rc2 6.1 rc3 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 11, 2025 | Initial Analysis | [email protected] |
| May 1, 2025 | New CVE Received | kernel.org |