CVE-2022-49931
MediumIn the Linux kernel, the following vulnerability has been resolved: IB/hfi1: Correctly move list in sc_disable() Commit 13bac861952a ("IB/hfi1: Fix abba locking issue with sc_disable()") incorrectly tries to move a list from one list head to another. The result is a kernel crash. The crash is triggered when a link goes down and there are waiters for a send to complete. The following signature is seen: BUG: kernel NULL pointer dereference, address: 0000000000000030 [...] Call Trace: sc_disable+0x1ba/0x240 [hfi1] pio_freeze+0x3d/0x60 [hfi1] handle_freeze+0x27/0x1b0 [hfi1] process_one_work+0x1b0/0x380 ? process_one_work+0x380/0x380 worker_thread+0x30/0x360 ? process_one_work+0x380/0x380 kthread+0xd7/0x100 ? kthread_complete_and_exit+0x20/0x20 ret_from_fork+0x1f/0x30 The fix is to use the correct call to move the list.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-476CVE-2022-49931 is a NULL Pointer Dereference vulnerability
What is NULL Pointer Dereference?
The product dereferences a pointer that it expects to be valid but is NULL, typically causing a crash. Learn more on MITRE CWE
Affected versions
Linux kernel versions
5.4.157,
5.10.77,
5.14.16,
5.15
and later are affected. Fixed in
5.4.224,
5.10.154,
5.15.78,
6.0.8,
6.1
and their respective stable series.
References
The following references provide additional information about CVE-2022-49931 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/1afac08b39d85437187bb2a92d89a741b1078f55
-
PatchKernel patch commithttps://git.kernel.org/stable/c/25760a41e3802f54aadcc31385543665ab349b8e
-
PatchKernel patch commithttps://git.kernel.org/stable/c/7c4260f8f188df32414a5ecad63e8b934c2aa3f0
Frequently asked questions
-
What is CVE-2022-49931?
CVE-2022-49931 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as a NULL Pointer Dereference flaw (CWE-476) . It affects Linux kernel versions from 5.4.157 onward and has been patched in 5.4.224, 5.10.154, 5.15.78 and others. CVE-2022-49931 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-49931?
CVE-2022-49931 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2022-49931?
Yes — CVE-2022-49931 has been patched. Fixed versions include 5.4.224, 5.10.154, 5.15.78 and others. If you are running Linux kernel 5.4.157 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-49931 actively exploited?
No — CVE-2022-49931 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is NULL Pointer Dereference (CWE-476)?
The product dereferences a pointer that it expects to be valid but is NULL, typically causing a crash. View CWE-476 on MITRE CWE →