CVE-2022-49905CWE-401

CVE-2022-49905

High · published May 1, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
10.7
In the wild
Unconfirmed
What it is

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]

...

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00210 · 10.7th percentile
Weakness
CWE-401 · Missing Release of Memory after Effective Lifetime
Published
2025-05-01T19:16Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 5.14, < 5.15.785.15.78
linux/linux_kernel≥ 5.16, < 6.0.86.0.8
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (3)
EPSS history
Timeline
  • 01 MAY 14:10Z
    net/smc: Fix possible leaked pernet namespace in smc_init()
    cvelistv5