CVE-2022-50388
BaseFortify
Publication date: 2025-09-18
Last updated on: 2025-12-11
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.4 (inc) to 5.10.163 (exc) |
| linux | linux_kernel | From 5.11 (inc) to 5.15.87 (exc) |
| linux | linux_kernel | From 5.16 (inc) to 6.0.19 (exc) |
| linux | linux_kernel | From 6.1 (inc) to 6.1.5 (exc) |
| linux | linux_kernel | 6.2 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a NULL pointer dereference in the Linux kernel's NVMe driver when multipath is enabled and blktrace is active. Specifically, a flush request initialized by blk_kick_flush has a NULL bio pointer, and during I/O completion, the nvme_trace_bio_complete function tries to access this NULL bio pointer, causing a kernel crash.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel to crash (kernel panic) when the conditions of multipath and blktrace are met during NVMe flush requests. This can lead to system instability, downtime, and potential data loss due to the kernel crash.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring your system logs for kernel crash messages related to NULL pointer dereferences in the nvme driver when blktrace and multipath are enabled. Look for kernel oops messages similar to the following in your dmesg or /var/log/kern.log: [ 2517.831677] BUG: kernel NULL pointer dereference, address: 000000000000001a [ 2517.859993] RIP: 0010:blk_add_trace_bio_complete+0x6/0x30 You can use the command `dmesg | grep -i 'BUG: kernel NULL pointer dereference'` or `journalctl -k | grep -i 'nvme'` to find relevant crash logs. Additionally, check if blktrace and multipath are enabled on your system as these conditions trigger the vulnerability.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability immediately, you should disable blktrace or multipath functionality temporarily to avoid triggering the NULL pointer dereference crash. Additionally, update your Linux kernel to a version where this issue is fixed, which includes a NULL check for req->bio before calling trace_block_bio_complete. Applying the latest kernel patches or updates from your distribution is recommended.