CVE-2022-49905: net/smc: Fix possible leaked pernet namespace in smc_init()

Published May 1, 2025
·
Updated

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

net/smc: Fix possible leaked pernet namespace in smcinit()

In smcinit(), registerpernetsubsys(&smcnetstatops) is called without any error handling. If it fails, registering of &smcnetops won't be reverted. And if smcnlinit() fails, &smcnetstatops itself won't be reverted.

This leaves wild ops in subsystem linkedlist and when another module tries to call registerpernetoperations() it triggers page fault:

BUG: unable to handle page fault for address: fffffbfff81b964c RIP: 0010:registerpernetoperations+0x1b9/0x5f0 Call Trace: <TASK> registerpernetsubsys+0x29/0x40 ebtablesinit+0x58/0x1000 [ebtables] ...

Affected Software

6 affected components
Linux Linux kernel
Linux Linux kernel>=5.14<5.15.78
Linux Linux kernel>=5.16<6.0.8
Linux Linux kernel=6.1-rc1
Linux Linux kernel=6.1-rc2
Linux Linux kernel=6.1-rc3

Event History

May 1, 2025
CVE Published
via MITRE·02:10 PM
Data Sourced
via MITRE·02:10 PM
DescriptionSeverity
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-49905?

The severity of CVE-2022-49905 is categorized as medium due to the potential for namespace leakage.

2

How do I fix CVE-2022-49905?

To fix CVE-2022-49905, ensure you update your Linux kernel to the latest patched version.

3

Which versions of the Linux Kernel are affected by CVE-2022-49905?

CVE-2022-49905 affects multiple versions of the Linux kernel, particularly those before the patch was applied.

4

What component of the Linux Kernel does CVE-2022-49905 impact?

CVE-2022-49905 impacts the SMC (Shared Memory Communication) initialization component of the Linux kernel.

5

Is CVE-2022-49905 exploitable remotely?

CVE-2022-49905 is generally not considered exploitable remotely since it requires local access to affect the namespace.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203