{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-50476","published":"2025-10-04T16:15:44.177000Z","last_modified":"2026-11-05T21:17:00.810000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-401"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"3.9","version_end_excluding":"4.9.337"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.10","version_end_excluding":"4.14.303"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.15","version_end_excluding":"4.19.270"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.20","version_end_excluding":"5.4.229"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.5","version_end_excluding":"5.10.163"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.15.86"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.16","version_end_excluding":"6.0.16"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.1","version_end_excluding":"6.1.2"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00225,"percentile":0.07848,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2022-50476/","html_en":"/en/cve/CVE-2022-50476/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-50476","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-50476"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nntb_netdev: Use dev_kfree_skb_any() in interrupt context\n\nTX/RX callback handlers (ntb_netdev_tx_handler(),\nntb_netdev_rx_handler()) can be called in interrupt\ncontext via the DMA framework when the respective\nDMA operations have completed. As such, any calls\nby these routines to free skb's, should use the\ninterrupt context safe dev_kfree_skb_any() function.\n\nPreviously, these callback handlers would call the\ninterrupt unsafe version of dev_kfree_skb(). This has\nnot presented an issue on Intel IOAT DMA engines as\nthat driver utilizes tasklets rather than a hard\ninterrupt handler, like the AMD PTDMA DMA driver.\nOn AMD systems, a kernel WARNING message is\nencountered, which is being issued from\nskb_release_head_state() due to in_hardirq()\nbeing true.\n\nBesides the user visible WARNING from the kernel,\nthe other symptom of this bug was that TCP/IP performance\nacross the ntb_netdev interface was very poor, i.e.\napproximately an order of magnitude below what was\nexpected. With the repair to use dev_kfree_skb_any(),\nkernel WARNINGs from skb_release_head_state() ceased\nand TCP/IP performance, as measured by iperf, was on\npar with expected results, approximately 20 Gb/s on\nAMD Milan based server. Note that this performance\nis comparable with Intel based servers.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/07e28a8f450217db679802ebd4de0915556ce846","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/13286ad1c7c49c606fdcba4cf66f953a1a16c1ca","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/14d245da57a11e80277ab455aa9b6dcc5ed38a19","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/21296a52caa6a6bad6debdfe40ad81d4f1a27e69","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/5f7d78b2b12a9d561f48fa00bab29b40f4616dad","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/8b78493968ed3cef0326183ed059c55e42f24d5b","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/a6b9e09403102bdf8402dae734800e4916c7ea58","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/d4460c82177899751975180c268f352893302221","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/dd860b39aa7c7b82e6c99b6fdb99d4610ce49d67","tags":["Patch"]}]}}