CVE-2022-50405 (GCVE-0-2022-50405)
Vulnerability from cvelistv5 – Published: 2025-09-18 16:03 – Updated: 2026-01-14 19:13
VLAI?
Title
net/tunnel: wait until all sk_user_data reader finish before releasing the sock
Summary
In the Linux kernel, the following vulnerability has been resolved:
net/tunnel: wait until all sk_user_data reader finish before releasing the sock
There is a race condition in vxlan that when deleting a vxlan device
during receiving packets, there is a possibility that the sock is
released after getting vxlan_sock vs from sk_user_data. Then in
later vxlan_ecn_decapsulate(), vxlan_get_sk_family() we will got
NULL pointer dereference. e.g.
#0 [ffffa25ec6978a38] machine_kexec at ffffffff8c669757
#1 [ffffa25ec6978a90] __crash_kexec at ffffffff8c7c0a4d
#2 [ffffa25ec6978b58] crash_kexec at ffffffff8c7c1c48
#3 [ffffa25ec6978b60] oops_end at ffffffff8c627f2b
#4 [ffffa25ec6978b80] page_fault_oops at ffffffff8c678fcb
#5 [ffffa25ec6978bd8] exc_page_fault at ffffffff8d109542
#6 [ffffa25ec6978c00] asm_exc_page_fault at ffffffff8d200b62
[exception RIP: vxlan_ecn_decapsulate+0x3b]
RIP: ffffffffc1014e7b RSP: ffffa25ec6978cb0 RFLAGS: 00010246
RAX: 0000000000000008 RBX: ffff8aa000888000 RCX: 0000000000000000
RDX: 000000000000000e RSI: ffff8a9fc7ab803e RDI: ffff8a9fd1168700
RBP: ffff8a9fc7ab803e R8: 0000000000700000 R9: 00000000000010ae
R10: ffff8a9fcb748980 R11: 0000000000000000 R12: ffff8a9fd1168700
R13: ffff8aa000888000 R14: 00000000002a0000 R15: 00000000000010ae
ORIG_RAX: ffffffffffffffff CS: 0010 SS: 0018
#7 [ffffa25ec6978ce8] vxlan_rcv at ffffffffc10189cd [vxlan]
#8 [ffffa25ec6978d90] udp_queue_rcv_one_skb at ffffffff8cfb6507
#9 [ffffa25ec6978dc0] udp_unicast_rcv_skb at ffffffff8cfb6e45
#10 [ffffa25ec6978dc8] __udp4_lib_rcv at ffffffff8cfb8807
#11 [ffffa25ec6978e20] ip_protocol_deliver_rcu at ffffffff8cf76951
#12 [ffffa25ec6978e48] ip_local_deliver at ffffffff8cf76bde
#13 [ffffa25ec6978ea0] __netif_receive_skb_one_core at ffffffff8cecde9b
#14 [ffffa25ec6978ec8] process_backlog at ffffffff8cece139
#15 [ffffa25ec6978f00] __napi_poll at ffffffff8ceced1a
#16 [ffffa25ec6978f28] net_rx_action at ffffffff8cecf1f3
#17 [ffffa25ec6978fa0] __softirqentry_text_start at ffffffff8d4000ca
#18 [ffffa25ec6978ff0] do_softirq at ffffffff8c6fbdc3
Reproducer: https://github.com/Mellanox/ovs-tests/blob/master/test-ovs-vxlan-remove-tunnel-during-traffic.sh
Fix this by waiting for all sk_user_data reader to finish before
releasing the sock.
Severity ?
5.5 (Medium)
CWE
- CWE-476 - NULL Pointer Dereference
Assigner
References
Impacted products
| Vendor | Product | Version | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux |
Affected:
6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d , < e8316584b0a6c61c9c407631040c22712b26e38c
(git)
Affected: 6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d , < 84e566d157cc22ad2da8bdd970495855fbf13d92 (git) Affected: 6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d , < be34e79e0ae6adbf6e7e75ddaee9ad84795ab933 (git) Affected: 6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d , < 303000c793f705d07b551eb7c1c27001c5b33c8d (git) Affected: 6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d , < 91f09a776ae335ca836ed864b8f2a9461882a280 (git) Affected: 6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d , < 9a6544343bba7da929d6d4a2dc44ec0f15970081 (git) Affected: 6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d , < b38aa7465411795e9e744b8d94633910497fec2a (git) Affected: 6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d , < 588d0b8462f5ffed3e677e65639825b2678117ab (git) Affected: 6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d , < 3cf7203ca620682165706f70a1b12b5194607dce (git) |
|||||||
|
|||||||||
{
"containers": {
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
}
},
{
"other": {
"content": {
"id": "CVE-2022-50405",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-01-14T19:07:29.951048Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-476",
"description": "CWE-476 NULL Pointer Dereference",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-01-14T19:13:08.244Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"net/ipv4/udp_tunnel_core.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "e8316584b0a6c61c9c407631040c22712b26e38c",
"status": "affected",
"version": "6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d",
"versionType": "git"
},
{
"lessThan": "84e566d157cc22ad2da8bdd970495855fbf13d92",
"status": "affected",
"version": "6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d",
"versionType": "git"
},
{
"lessThan": "be34e79e0ae6adbf6e7e75ddaee9ad84795ab933",
"status": "affected",
"version": "6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d",
"versionType": "git"
},
{
"lessThan": "303000c793f705d07b551eb7c1c27001c5b33c8d",
"status": "affected",
"version": "6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d",
"versionType": "git"
},
{
"lessThan": "91f09a776ae335ca836ed864b8f2a9461882a280",
"status": "affected",
"version": "6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d",
"versionType": "git"
},
{
"lessThan": "9a6544343bba7da929d6d4a2dc44ec0f15970081",
"status": "affected",
"version": "6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d",
"versionType": "git"
},
{
"lessThan": "b38aa7465411795e9e744b8d94633910497fec2a",
"status": "affected",
"version": "6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d",
"versionType": "git"
},
{
"lessThan": "588d0b8462f5ffed3e677e65639825b2678117ab",
"status": "affected",
"version": "6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d",
"versionType": "git"
},
{
"lessThan": "3cf7203ca620682165706f70a1b12b5194607dce",
"status": "affected",
"version": "6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"net/ipv4/udp_tunnel_core.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "3.18"
},
{
"lessThan": "3.18",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.9.*",
"status": "unaffected",
"version": "4.9.337",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
"version": "4.14.303",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"version": "4.19.270",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"version": "5.4.229",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.163",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.86",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.0.*",
"status": "unaffected",
"version": "6.0.16",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "6.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.9.337",
"versionStartIncluding": "3.18",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.14.303",
"versionStartIncluding": "3.18",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.19.270",
"versionStartIncluding": "3.18",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.4.229",
"versionStartIncluding": "3.18",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.163",
"versionStartIncluding": "3.18",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.86",
"versionStartIncluding": "3.18",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.0.16",
"versionStartIncluding": "3.18",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.2",
"versionStartIncluding": "3.18",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.2",
"versionStartIncluding": "3.18",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/tunnel: wait until all sk_user_data reader finish before releasing the sock\n\nThere is a race condition in vxlan that when deleting a vxlan device\nduring receiving packets, there is a possibility that the sock is\nreleased after getting vxlan_sock vs from sk_user_data. Then in\nlater vxlan_ecn_decapsulate(), vxlan_get_sk_family() we will got\nNULL pointer dereference. e.g.\n\n #0 [ffffa25ec6978a38] machine_kexec at ffffffff8c669757\n #1 [ffffa25ec6978a90] __crash_kexec at ffffffff8c7c0a4d\n #2 [ffffa25ec6978b58] crash_kexec at ffffffff8c7c1c48\n #3 [ffffa25ec6978b60] oops_end at ffffffff8c627f2b\n #4 [ffffa25ec6978b80] page_fault_oops at ffffffff8c678fcb\n #5 [ffffa25ec6978bd8] exc_page_fault at ffffffff8d109542\n #6 [ffffa25ec6978c00] asm_exc_page_fault at ffffffff8d200b62\n [exception RIP: vxlan_ecn_decapsulate+0x3b]\n RIP: ffffffffc1014e7b RSP: ffffa25ec6978cb0 RFLAGS: 00010246\n RAX: 0000000000000008 RBX: ffff8aa000888000 RCX: 0000000000000000\n RDX: 000000000000000e RSI: ffff8a9fc7ab803e RDI: ffff8a9fd1168700\n RBP: ffff8a9fc7ab803e R8: 0000000000700000 R9: 00000000000010ae\n R10: ffff8a9fcb748980 R11: 0000000000000000 R12: ffff8a9fd1168700\n R13: ffff8aa000888000 R14: 00000000002a0000 R15: 00000000000010ae\n ORIG_RAX: ffffffffffffffff CS: 0010 SS: 0018\n #7 [ffffa25ec6978ce8] vxlan_rcv at ffffffffc10189cd [vxlan]\n #8 [ffffa25ec6978d90] udp_queue_rcv_one_skb at ffffffff8cfb6507\n #9 [ffffa25ec6978dc0] udp_unicast_rcv_skb at ffffffff8cfb6e45\n #10 [ffffa25ec6978dc8] __udp4_lib_rcv at ffffffff8cfb8807\n #11 [ffffa25ec6978e20] ip_protocol_deliver_rcu at ffffffff8cf76951\n #12 [ffffa25ec6978e48] ip_local_deliver at ffffffff8cf76bde\n #13 [ffffa25ec6978ea0] __netif_receive_skb_one_core at ffffffff8cecde9b\n #14 [ffffa25ec6978ec8] process_backlog at ffffffff8cece139\n #15 [ffffa25ec6978f00] __napi_poll at ffffffff8ceced1a\n #16 [ffffa25ec6978f28] net_rx_action at ffffffff8cecf1f3\n #17 [ffffa25ec6978fa0] __softirqentry_text_start at ffffffff8d4000ca\n #18 [ffffa25ec6978ff0] do_softirq at ffffffff8c6fbdc3\n\nReproducer: https://github.com/Mellanox/ovs-tests/blob/master/test-ovs-vxlan-remove-tunnel-during-traffic.sh\n\nFix this by waiting for all sk_user_data reader to finish before\nreleasing the sock."
}
],
"providerMetadata": {
"dateUpdated": "2025-09-18T16:03:50.362Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/e8316584b0a6c61c9c407631040c22712b26e38c"
},
{
"url": "https://git.kernel.org/stable/c/84e566d157cc22ad2da8bdd970495855fbf13d92"
},
{
"url": "https://git.kernel.org/stable/c/be34e79e0ae6adbf6e7e75ddaee9ad84795ab933"
},
{
"url": "https://git.kernel.org/stable/c/303000c793f705d07b551eb7c1c27001c5b33c8d"
},
{
"url": "https://git.kernel.org/stable/c/91f09a776ae335ca836ed864b8f2a9461882a280"
},
{
"url": "https://git.kernel.org/stable/c/9a6544343bba7da929d6d4a2dc44ec0f15970081"
},
{
"url": "https://git.kernel.org/stable/c/b38aa7465411795e9e744b8d94633910497fec2a"
},
{
"url": "https://git.kernel.org/stable/c/588d0b8462f5ffed3e677e65639825b2678117ab"
},
{
"url": "https://git.kernel.org/stable/c/3cf7203ca620682165706f70a1b12b5194607dce"
}
],
"title": "net/tunnel: wait until all sk_user_data reader finish before releasing the sock",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2022-50405",
"datePublished": "2025-09-18T16:03:50.362Z",
"dateReserved": "2025-09-17T14:53:07.001Z",
"dateUpdated": "2026-01-14T19:13:08.244Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 5.5, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"NONE\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2022-50405\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-01-14T19:07:29.951048Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-476\", \"description\": \"CWE-476 NULL Pointer Dereference\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-01-14T19:07:25.141Z\"}}], \"cna\": {\"title\": \"net/tunnel: wait until all sk_user_data reader finish before releasing the sock\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d\", \"lessThan\": \"e8316584b0a6c61c9c407631040c22712b26e38c\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d\", \"lessThan\": \"84e566d157cc22ad2da8bdd970495855fbf13d92\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d\", \"lessThan\": \"be34e79e0ae6adbf6e7e75ddaee9ad84795ab933\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d\", \"lessThan\": \"303000c793f705d07b551eb7c1c27001c5b33c8d\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d\", \"lessThan\": \"91f09a776ae335ca836ed864b8f2a9461882a280\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d\", \"lessThan\": \"9a6544343bba7da929d6d4a2dc44ec0f15970081\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d\", \"lessThan\": \"b38aa7465411795e9e744b8d94633910497fec2a\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d\", \"lessThan\": \"588d0b8462f5ffed3e677e65639825b2678117ab\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"6a93cc9052748c6355ec9d5b6c38b77f85f1cb0d\", \"lessThan\": \"3cf7203ca620682165706f70a1b12b5194607dce\", \"versionType\": \"git\"}], \"programFiles\": [\"net/ipv4/udp_tunnel_core.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"3.18\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"3.18\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.9.337\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.9.*\"}, {\"status\": \"unaffected\", \"version\": \"4.14.303\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.14.*\"}, {\"status\": \"unaffected\", \"version\": \"4.19.270\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.229\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.163\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.86\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.0.16\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.0.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.2\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.2\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"net/ipv4/udp_tunnel_core.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/e8316584b0a6c61c9c407631040c22712b26e38c\"}, {\"url\": \"https://git.kernel.org/stable/c/84e566d157cc22ad2da8bdd970495855fbf13d92\"}, {\"url\": \"https://git.kernel.org/stable/c/be34e79e0ae6adbf6e7e75ddaee9ad84795ab933\"}, {\"url\": \"https://git.kernel.org/stable/c/303000c793f705d07b551eb7c1c27001c5b33c8d\"}, {\"url\": \"https://git.kernel.org/stable/c/91f09a776ae335ca836ed864b8f2a9461882a280\"}, {\"url\": \"https://git.kernel.org/stable/c/9a6544343bba7da929d6d4a2dc44ec0f15970081\"}, {\"url\": \"https://git.kernel.org/stable/c/b38aa7465411795e9e744b8d94633910497fec2a\"}, {\"url\": \"https://git.kernel.org/stable/c/588d0b8462f5ffed3e677e65639825b2678117ab\"}, {\"url\": \"https://git.kernel.org/stable/c/3cf7203ca620682165706f70a1b12b5194607dce\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet/tunnel: wait until all sk_user_data reader finish before releasing the sock\\n\\nThere is a race condition in vxlan that when deleting a vxlan device\\nduring receiving packets, there is a possibility that the sock is\\nreleased after getting vxlan_sock vs from sk_user_data. Then in\\nlater vxlan_ecn_decapsulate(), vxlan_get_sk_family() we will got\\nNULL pointer dereference. e.g.\\n\\n #0 [ffffa25ec6978a38] machine_kexec at ffffffff8c669757\\n #1 [ffffa25ec6978a90] __crash_kexec at ffffffff8c7c0a4d\\n #2 [ffffa25ec6978b58] crash_kexec at ffffffff8c7c1c48\\n #3 [ffffa25ec6978b60] oops_end at ffffffff8c627f2b\\n #4 [ffffa25ec6978b80] page_fault_oops at ffffffff8c678fcb\\n #5 [ffffa25ec6978bd8] exc_page_fault at ffffffff8d109542\\n #6 [ffffa25ec6978c00] asm_exc_page_fault at ffffffff8d200b62\\n [exception RIP: vxlan_ecn_decapsulate+0x3b]\\n RIP: ffffffffc1014e7b RSP: ffffa25ec6978cb0 RFLAGS: 00010246\\n RAX: 0000000000000008 RBX: ffff8aa000888000 RCX: 0000000000000000\\n RDX: 000000000000000e RSI: ffff8a9fc7ab803e RDI: ffff8a9fd1168700\\n RBP: ffff8a9fc7ab803e R8: 0000000000700000 R9: 00000000000010ae\\n R10: ffff8a9fcb748980 R11: 0000000000000000 R12: ffff8a9fd1168700\\n R13: ffff8aa000888000 R14: 00000000002a0000 R15: 00000000000010ae\\n ORIG_RAX: ffffffffffffffff CS: 0010 SS: 0018\\n #7 [ffffa25ec6978ce8] vxlan_rcv at ffffffffc10189cd [vxlan]\\n #8 [ffffa25ec6978d90] udp_queue_rcv_one_skb at ffffffff8cfb6507\\n #9 [ffffa25ec6978dc0] udp_unicast_rcv_skb at ffffffff8cfb6e45\\n #10 [ffffa25ec6978dc8] __udp4_lib_rcv at ffffffff8cfb8807\\n #11 [ffffa25ec6978e20] ip_protocol_deliver_rcu at ffffffff8cf76951\\n #12 [ffffa25ec6978e48] ip_local_deliver at ffffffff8cf76bde\\n #13 [ffffa25ec6978ea0] __netif_receive_skb_one_core at ffffffff8cecde9b\\n #14 [ffffa25ec6978ec8] process_backlog at ffffffff8cece139\\n #15 [ffffa25ec6978f00] __napi_poll at ffffffff8ceced1a\\n #16 [ffffa25ec6978f28] net_rx_action at ffffffff8cecf1f3\\n #17 [ffffa25ec6978fa0] __softirqentry_text_start at ffffffff8d4000ca\\n #18 [ffffa25ec6978ff0] do_softirq at ffffffff8c6fbdc3\\n\\nReproducer: https://github.com/Mellanox/ovs-tests/blob/master/test-ovs-vxlan-remove-tunnel-during-traffic.sh\\n\\nFix this by waiting for all sk_user_data reader to finish before\\nreleasing the sock.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.9.337\", \"versionStartIncluding\": \"3.18\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.14.303\", \"versionStartIncluding\": \"3.18\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.19.270\", \"versionStartIncluding\": \"3.18\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.229\", \"versionStartIncluding\": \"3.18\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.163\", \"versionStartIncluding\": \"3.18\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.86\", \"versionStartIncluding\": \"3.18\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.0.16\", \"versionStartIncluding\": \"3.18\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.2\", \"versionStartIncluding\": \"3.18\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.2\", \"versionStartIncluding\": \"3.18\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-09-18T16:03:50.362Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2022-50405\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-01-14T19:13:08.244Z\", \"dateReserved\": \"2025-09-17T14:53:07.001Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2025-09-18T16:03:50.362Z\", \"assignerShortName\": \"Linux\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…