{
  "threat_severity" : "Moderate",
  "public_date" : "2025-05-01T00:00:00Z",
  "bugzilla" : {
    "description" : "kernel: RDMA/core: Fix null-ptr-deref in ib_core_cleanup()",
    "id" : "2363363",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2363363"
  },
  "cvss3" : {
    "cvss3_base_score" : "5.5",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-476",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\nRDMA/core: Fix null-ptr-deref in ib_core_cleanup()\nKASAN reported a null-ptr-deref error:\nKASAN: null-ptr-deref in range [0x0000000000000118-0x000000000000011f]\nCPU: 1 PID: 379\nHardware name: QEMU Standard PC (i440FX + PIIX, 1996)\nRIP: 0010:destroy_workqueue+0x2f/0x740\nRSP: 0018:ffff888016137df8 EFLAGS: 00000202\n...\nCall Trace:\nib_core_cleanup+0xa/0xa1 [ib_core]\n__do_sys_delete_module.constprop.0+0x34f/0x5b0\ndo_syscall_64+0x3a/0x90\nentry_SYSCALL_64_after_hwframe+0x63/0xcd\nRIP: 0033:0x7fa1a0d221b7\n...\nIt is because the fail of roce_gid_mgmt_init() is ignored:\nib_core_init()\nroce_gid_mgmt_init()\ngid_cache_wq = alloc_ordered_workqueue # fail\n...\nib_core_cleanup()\nroce_gid_mgmt_cleanup()\ndestroy_workqueue(gid_cache_wq)\n# destroy an unallocated wq\nFix this by catching the fail of roce_gid_mgmt_init() in ib_core_init()." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2023-05-16T00:00:00Z",
    "advisory" : "RHSA-2023:2951",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "kernel-0:4.18.0-477.10.1.el8_8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-05-09T00:00:00Z",
    "advisory" : "RHSA-2023:2458",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-284.11.1.el9_2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-05-09T00:00:00Z",
    "advisory" : "RHSA-2023:2458",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9",
    "package" : "kernel-0:5.14.0-284.11.1.el9_2"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 10",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Out of support scope",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Fix deferred",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2022-49925\nhttps://nvd.nist.gov/vuln/detail/CVE-2022-49925\nhttps://lore.kernel.org/linux-cve-announce/2025050110-CVE-2022-49925-2485@gregkh/T" ],
  "name" : "CVE-2022-49925",
  "csaw" : false
}