CVSS 3.1
5.5 mediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HMedium (5.5) in linux linux kernel. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExplain CVE-2022-50506 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-50506?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-50506?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-50506 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Linux | 5.18 and later |
| Product | Release line | Fixed in |
|---|---|---|
| Linux | 6.0 | 6.0.6 |
| Linux | later releases | 6.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | linux | 6.0.6-1 | DEBIAN-CVE-2022-50506 |
| Ubuntu | 16.04:LTS | linux-hwe-edge | no fix listed | UBUNTU-CVE-2022-50506 |
| Ubuntu | 18.04:LTS | linux-gcp, linux-hwe, linux-oem and 12 more | no fix listed | UBUNTU-CVE-2022-50506 |
| Ubuntu | 20.04:LTS | linux-gke, linux-gkeop, linux-riscv and 26 more | no fix listed | UBUNTU-CVE-2022-50506 |
| Ubuntu | 22.04:LTS | linux-riscv, linux-aws-6.2, linux-aws-6.5 and 30 more | no fix listed | UBUNTU-CVE-2022-50506 |
| Ubuntu | 24.04:LTS | linux-intel, linux-riscv, linux-oem-6.8 and 7 more | no fix listed | UBUNTU-CVE-2022-50506 |
| Red Hat | enterprise_linux:9::appstream | perf, kernel-doc, kernel-devel and 16 more | 0:5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat | enterprise_linux:9::appstream | perf, rtla, kernel-doc and 22 more | 0:5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat | enterprise_linux:9::appstream, enterprise_linux:9::crb | bpftool-debuginfo | 0:7.0.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat | enterprise_linux:9::baseos | bpftool, bpftool-debuginfo | 0:7.0.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat | enterprise_linux:9::baseos | kernel, bpftool, kernel-core and 25 more | 0:5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat | enterprise_linux:9::baseos | kernel, kernel-64k, kernel-core and 40 more | 0:5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
| Red Hat | enterprise_linux:9::crb | perf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 9 more | 0:5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat | enterprise_linux:9::crb | perf-debuginfo, kernel-debuginfo, kernel-64k-debuginfo and 10 more | 0:5.14.0-284.11.1.el9_2 | RHSA-2023:2458 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.
Red Hat rates this Low.
The issue arises because of a code refactoring that moved device structure access earlier in the I/O request path without adding proper NULL validation. When drbd_req_new() processes a new I/O request, it attempts to clone the bio and access device->ldev->backing_bdev to set up the backing device information. However, when DRBD is configured in diskless mode (a valid configuration where DRBD acts purely as a network replication layer without local storage), the ldev pointer is NULL. The code lacks a check for this condition before dereferencing the pointer chain, causing an immediate kernel NULL pointer dereference. This occurs reliably whenever I/O is attempted on a diskless DRBD device. While this causes complete system failure through kernel panic, NULL pointer dereferences on modern kernels with memory protection mechanisms cannot be exploited for code execution or information disclosure, only denial of service.
To mitigate this issue, prevent the drbd module from loading. See https://access.redhat.com/solutions/41278 for instructions on blacklisting kernel modules.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-162.6.1.el9_1 | Fixed 2022-11-15 | RHSA-2022:8267 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-284.11.1.el9_2 | Fixed 2023-05-09 | RHSA-2023:2458 |
| Red Hat Enterprise Linux 10 | kernel | Not affected | |
| Red Hat Enterprise Linux 6 | kernel | Not affected | |
| Red Hat Enterprise Linux 7 | kernel | Not affected | |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | |
| Red Hat Enterprise Linux 8 | kernel | Not affected | |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | |
| Red Hat Enterprise Linux 9 | kernel-rt | Fix deferred |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-50506.