CVE-2025-22089: Linux kernel · RDMA/core: Don't expose hw_counters outside of init net namespace
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 5.15.0-1086.93~20.04.1 : patch Linux kernel soon.
Data as of 12 Nov 2026, 19:25 UTC
- Patch
- Available – fixed in 5.15.0-1086.93~20.04.1, 5.15.0-1091.100~20.04.1, 5.15.0-1085.94~20.04.1 +64
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 12 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-7591-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7592-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7593-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7594-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7597-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7597-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7598-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7594-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7602-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and has been applied in Linux kernel versions 5.15.0-1086.93 and later. Users should update to these fixed versions or later to remediate the vulnerability. After updating the kernel, a system reboot is required to apply the fix. No additional mitigation steps are necessary as the issue is resolved by restricting access to hw_counters.
Description
CVE-2025-22089 is a vulnerability in the Linux kernel's RDMA core subsystem where hardware counters (hw_counters) were improperly exposed outside the init network namespace. This exposure could cause a kernel crash due to a NULL pointer dereference when attempting to read these counters in non-init namespaces. The issue arises from incorrect casting and access control in the hw_stat_device_show() function. The vulnerability has been fixed by restricting hw_counters visibility to the init net namespace only.
References
- ubuntu.com/security/CVE-2025-22089 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-22089 (opens in a new tab)
- git.kernel.org/linus/a1ecb30f90856b0be4168ad51b8875148e285c1f (opens in a new tab)
- git.kernel.org/stable/c/0cf80f924aecb5b2bebd4f4ad11b2efc676a0b78 (opens in a new tab)
- git.kernel.org/stable/c/6682da5d8fd578a5068531d01633c9d2e4c8f12b (opens in a new tab)
- git.kernel.org/stable/c/9a5b7f8842a90a5e6eeff37f9f6d814e61ea3529 (opens in a new tab)
- git.kernel.org/stable/c/a1ecb30f90856b0be4168ad51b8875148e285c1f (opens in a new tab)
- git.kernel.org/stable/c/c14d9704f5d77a7c7fa46e2114b64a4f75b64e17 (opens in a new tab)
- git.kernel.org/stable/c/d5212b99649c5740154f307e9e3d7fee9bf62773 (opens in a new tab)
- git.kernel.org/stable/c/df45ae2a4f1cdfda00c032839e12092e1f32c05e (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7592-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7593-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7594-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7591-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7597-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7597-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7598-1 (opens in a new tab)