# CVE-2022-49930: linux: In the Linux kernel, the following vulnerability has been resolved:  RDMA/hns: Fix NULL pointer problem in free_mr_in...

CVE-2022-49930 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-49930, released May 1, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2022-49930
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0016
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 1, 2025

## Description

In the Linux kernel, the following vulnerability has been resolved:  RDMA/hns: Fix NULL pointer problem in free_mr_init()  Lock grab occurs in a concurrent scenario, resulting in stepping on a NULL pointer.  It should be init mutex_init() first before use the lock.    Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000   Call trace:    __mutex_lock.constprop.0+0xd0/0x5c0    __mutex_lock_slowpath+0x1c/0x2c    mutex_lock+0x44/0x50    free_mr_send_cmd_to_hw+0x7c/0x1c0 [hns_roce_hw_v2]    hns_roce_v2_dereg_mr+0x30/0x40 [hns_roce_hw_v2]    hns_roce_dereg_mr+0x4c/0x130 [hns_roce_hw_v2]    ib_dereg_mr_user+0x54/0x124    uverbs_free_mr+0x24/0x30    destroy_hw_idr_uobject+0x38/0x74    uverbs_destroy_uobject+0x48/0x1c4    uobj_destroy+0x74/0xcc    ib_uverbs_cmd_verbs+0x368/0xbb0    ib_uverbs_ioctl+0xec/0x1a4    __arm64_sys_ioctl+0xb4/0x100    invoke_syscall+0x50/0x120    el0_svc_common.constprop.0+0x58/0x190    do_el0_svc+0x30/0x90    el0_svc+0x2c/0xb4    el0t_64_sync_handler+0x1a4/0x1b0    el0t_64_sync+0x19c/0x1a0

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 12.15 (bookworm) | 6.0.8-1 | [DEBIAN-CVE-2022-49930](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49930.md) | May 1, 2025 |
| Linux | linux Debian 13.5 (trixie) | 6.0.8-1 | [DEBIAN-CVE-2022-49930](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49930.md) | May 1, 2025 |
| Linux | linux Debian 14 | 6.0.8-1 | [DEBIAN-CVE-2022-49930](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49930.md) | May 1, 2025 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
