Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-50476

MEDIUM 5.5EPSS 8%

ntb_netdev: Use dev_kfree_skb_any() in interrupt context

Mitigation

  • Upgrade Linux to 5f7d78b2b12a9d561f48fa00bab29b40f4616dad or later.

Who should check

  • Anyone running Linux >= 548c237c0a9972df5d1afaca38aa733ee577128d, < d4460c82177899751975180c268f352893302221; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < dd860b39aa7c7b82e6c99b6fdb99d4610ce49d67; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 8b78493968ed3cef0326183ed059c55e42f24d5b; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < a6b9e09403102bdf8402dae734800e4916c7ea58; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 13286ad1c7c49c606fdcba4cf66f953a1a16c1ca; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 21296a52caa6a6bad6debdfe40ad81d4f1a27e69; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 14d245da57a11e80277ab455aa9b6dcc5ed38a19; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 07e28a8f450217db679802ebd4de0915556ce846; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 5f7d78b2b12a9d561f48fa00bab29b40f4616dad
  • Anyone running Linux 3.9

Vulnerability facts

Affected
Linux >= 548c237c0a9972df5d1afaca38aa733ee577128d, < d4460c82177899751975180c268f352893302221; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < dd860b39aa7c7b82e6c99b6fdb99d4610ce49d67; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 8b78493968ed3cef0326183ed059c55e42f24d5b; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < a6b9e09403102bdf8402dae734800e4916c7ea58; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 13286ad1c7c49c606fdcba4cf66f953a1a16c1ca; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 21296a52caa6a6bad6debdfe40ad81d4f1a27e69; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 14d245da57a11e80277ab455aa9b6dcc5ed38a19; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 07e28a8f450217db679802ebd4de0915556ce846; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 5f7d78b2b12a9d561f48fa00bab29b40f4616dad; Linux 3.9
Fixed in
Linux 8b78493968ed3cef0326183ed059c55e42f24d5b, Linux 13286ad1c7c49c606fdcba4cf66f953a1a16c1ca, Linux 21296a52caa6a6bad6debdfe40ad81d4f1a27e69, Linux 14d245da57a11e80277ab455aa9b6dcc5ed38a19, Linux 07e28a8f450217db679802ebd4de0915556ce846, Linux 5f7d78b2b12a9d561f48fa00bab29b40f4616dad
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.22% chance of exploitation in 30 days (percentile 8, 2026-11-26)
CWE
CWE-401
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: ntb_netdev: Use dev_kfree_skb_any() in interrupt context TX/RX callback handlers (ntb_netdev_tx_handler(), ntb_netdev_rx_handler()) can be called in interrupt context via the DMA framework when the respective DMA operations have completed. As such, any calls by these routines to free skb's, should use the interrupt context safe dev_kfree_skb_any() function. Previously, these callback handlers would call the interrupt unsafe version of dev_kfree_skb(). This has not presented an issue on Intel IOAT DMA engines as that driver utilizes tasklets rather than a hard interrupt handler, like the AMD PTDMA DMA driver. On AMD systems, a kernel WARNING message is encountered, which is being issued from skb_release_head_state() due to in_hardirq() being true. Besides the user visible WARNING from the kernel, the other symptom of this bug was that TCP/IP performance across the ntb_netdev interface was very poor, i.e. approximately an order of magnitude below what was expected. With the repair to use dev_kfree_skb_any(), kernel WARNINGs from skb_release_head_state() ceased and TCP/IP performance, as measured by iperf, was on par with expected results, approximately 20 Gb/s on AMD Milan based server. Note that this performance is comparable with Intel based servers.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 548c237c0a9972df5d1afaca38aa733ee577128d, < d4460c82177899751975180c268f352893302221; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < dd860b39aa7c7b82e6c99b6fdb99d4610ce49d67; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 8b78493968ed3cef0326183ed059c55e42f24d5b; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < a6b9e09403102bdf8402dae734800e4916c7ea58; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 13286ad1c7c49c606fdcba4cf66f953a1a16c1ca; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 21296a52caa6a6bad6debdfe40ad81d4f1a27e69; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 14d245da57a11e80277ab455aa9b6dcc5ed38a19; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 07e28a8f450217db679802ebd4de0915556ce846; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 5f7d78b2b12a9d561f48fa00bab29b40f4616dad—cvelist
Linux3.9—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-50476. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50476.md
Affected: Linux >= 548c237c0a9972df5d1afaca38aa733ee577128d, < d4460c82177899751975180c268f352893302221; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < dd860b39aa7c7b82e6c99b6fdb99d4610ce49d67; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 8b78493968ed3cef0326183ed059c55e42f24d5b; >= 548c237c0a9972df5d1afac…
Fixed in: Linux 8b78493968ed3cef0326183ed059c55e42f24d5b, Linux 13286ad1c7c49c606fdcba4cf66f953a1a16c1ca, Linux 21296a52caa6a6bad6debdfe40ad81d4f1a27e69, Linux 14d245da57a11e80277ab455aa9b6dcc5ed38a19, Linux 07e28a8f450217db679802ebd4de0915556ce846, Linux 5f7d78b2b12a9d561f48fa00bab29b40f4616dad

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-50476 being exploited?

There is no confirmed exploitation: CVE-2022-50476 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-50476?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2022-50476?

Linux >= 548c237c0a9972df5d1afaca38aa733ee577128d, < d4460c82177899751975180c268f352893302221; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < dd860b39aa7c7b82e6c99b6fdb99d4610ce49d67; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 8b78493968ed3cef0326183ed059c55e42f24d5b; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < a6b9e09403102bdf8402dae734800e4916c7ea58; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 13286ad1c7c49c606fdcba4cf66f953a1a16c1ca; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 21296a52caa6a6bad6debdfe40ad81d4f1a27e69; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 14d245da57a11e80277ab455aa9b6dcc5ed38a19; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 07e28a8f450217db679802ebd4de0915556ce846; >= 548c237c0a9972df5d1afaca38aa733ee577128d, < 5f7d78b2b12a9d561f48fa00bab29b40f4616dad; Linux 3.9.

Is there a fix for CVE-2022-50476?

Yes. Fixed in Linux 8b78493968ed3cef0326183ed059c55e42f24d5b, Linux 13286ad1c7c49c606fdcba4cf66f953a1a16c1ca, Linux 21296a52caa6a6bad6debdfe40ad81d4f1a27e69, Linux 14d245da57a11e80277ab455aa9b6dcc5ed38a19, Linux 07e28a8f450217db679802ebd4de0915556ce846, Linux 5f7d78b2b12a9d561f48fa00bab29b40f4616dad. Upgrade Linux to 5f7d78b2b12a9d561f48fa00bab29b40f4616dad or later.

How do I check if I'm affected by CVE-2022-50476?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors