Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-49930

published medium CVSS 3.1 · 5.5

RDMA/hns: Fix NULL pointer problem in free_mr_init()

Published
01 May 2025, 14:11:07 UTC
Updated
11 May 2026, 19:09:27 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux70f92521584f1d1e8268311ee84413307b0fdea8 to < 0e23e85d86b78e734dd6654f1b69fbaeb5534c81 · 70f92521584f1d1e8268311ee84413307b0fdea8 to < 12bcaf87d8b66d8cd812479c8a6349dcb245375c · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.18 (affected) · 0 to < 5.18 (unaffected · semver) · 6.0.8 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.5 / 10
Severity
medium
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 70f92521584f1d1e8268311ee84413307b0fdea8 to < 0e23e85d86b78e734dd6654f1b69fbaeb5534c81 (affected · git)70f92521584f1d1e8268311ee84413307b0fdea8 to < 12bcaf87d8b66d8cd812479c8a6349dcb245375c (affected · git)Default: unaffected Linux · cna
Linux Linux 5.18 (affected)0 to < 5.18 (unaffected · semver)6.0.8 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-476 CWE-476 NULL Pointer Dereference (CISA-ADP · adp)

References

2

Provider assertions

2

Linux · cna

RDMA/hns: Fix NULL pointer problem in free_mr_init()

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
4bbce41948c1671caff56c0c6227f42a186c3d82978f8b353af9b8039a85919b
Ingested
23 Sep 2026, 08:04:21 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected