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.2% 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-50476 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-50476?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-50476?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-50476 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 | 3.9 and later |
| Product | Release line | Fixed in |
|---|---|---|
| Linux | 4.9 | 4.9.337 |
| Linux | 4.14 | 4.14.303 |
| Linux | 4.19 | 4.19.270 |
| Linux | 5.4 | 5.4.229 |
| Linux | 5.10 | 5.10.163 |
| Linux | 5.15 | 5.15.86 |
| Linux | 6.0 | 6.0.16 |
| Linux | 6.1 | 6.1.2 |
| Linux | later releases | 6.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | linux | 6.1.4-1 | DEBIAN-CVE-2022-50476 |
| Ubuntu | 16.04:LTS | linux-hwe-edge | no fix listed | UBUNTU-CVE-2022-50476 |
| Ubuntu | 18.04:LTS | linux | 4.15.0-208.220 | UBUNTU-CVE-2022-50476 |
| Ubuntu | 18.04:LTS | linux-aws | 4.15.0-1153.166 | UBUNTU-CVE-2022-50476 |
| Ubuntu | 18.04:LTS | linux-aws-5.4 | 5.4.0-1097.105~18.04.1 | UBUNTU-CVE-2022-50476 |
| Ubuntu | 18.04:LTS | linux-azure-4.15 | 4.15.0-1162.177 | UBUNTU-CVE-2022-50476 |
| Ubuntu | 18.04:LTS | linux-azure-5.4 | 5.4.0-1104.110~18.04.1 | UBUNTU-CVE-2022-50476 |
| Ubuntu | 18.04:LTS | linux-gcp, linux-hwe, linux-oem and 12 more | no fix listed | UBUNTU-CVE-2022-50476 |
| Ubuntu | 18.04:LTS | linux-gcp-4.15 | 4.15.0-1147.163 | UBUNTU-CVE-2022-50476 |
| Ubuntu | 18.04:LTS | linux-gcp-5.4 | 5.4.0-1101.110~18.04.1 | UBUNTU-CVE-2022-50476 |
| Ubuntu | 18.04:LTS | linux-hwe-5.4 | 5.4.0-144.161~18.04.1 | UBUNTU-CVE-2022-50476 |
| Ubuntu | 18.04:LTS | linux-ibm-5.4 | 5.4.0-1045.50~18.04.1 | UBUNTU-CVE-2022-50476 |
| Ubuntu | 18.04:LTS | linux-kvm | 4.15.0-1137.142 | UBUNTU-CVE-2022-50476 |
| 58 more for Ubuntu in the JSON and on Ubuntu's page. | ||||
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Moderate.
The issue arises because ntb_netdev_tx_handler() and ntb_netdev_rx_handler() call dev_kfree_skb() to free socket buffers, but these handlers can be invoked in hard interrupt context when using certain DMA engines like AMD PTDMA. The dev_kfree_skb() function is not safe to call from interrupt context and should only be used in process context. When called from an interrupt handler, it triggers warnings from skb_release_head_state() because in_hardirq() returns true. On Intel IOAT DMA engines this issue doesn't manifest because that driver uses tasklets (softirq context) rather than hard interrupt handlers. On AMD systems, this causes both visible kernel warnings and severe TCP/IP performance degradation (order of magnitude slower than expected).
To mitigate this issue, prevent the ntb_netdev module from loading. See https://access.redhat.com/solutions/41278 for instructions on blacklisting kernel modules.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Not affected | |
| Red Hat Enterprise Linux 6 | kernel | Not affected | |
| Red Hat Enterprise Linux 7 | kernel | Fix deferred | |
| Red Hat Enterprise Linux 7 | kernel-rt | Fix deferred | |
| Red Hat Enterprise Linux 8 | kernel | Fix deferred | |
| Red Hat Enterprise Linux 8 | kernel-rt | Fix deferred | |
| Red Hat Enterprise Linux 9 | kernel | Fix deferred | |
| 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-50476.