CVE-2022-50873
vdpa/vp_vdpa: fix kfree a wrong pointer in vp_vdpa_remove
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= ffbda8e9df10d1784d5427ec199e7d8308e3763f, < 8fe12680b2c731201519935013ec9219c93ec540; >= ffbda8e9df10d1784d5427ec199e7d8308e3763f, < 6ccc891f36d0c20ee220551caabdcd3886ec584b; >= ffbda8e9df10d1784d5427ec199e7d8308e3763f, < ed843d6ed7310a27cf7c8ee0a82a482eed0cb4a6
- Anyone running Linux 5.19
Vulnerability facts
- Affected
- Linux >= ffbda8e9df10d1784d5427ec199e7d8308e3763f, < 8fe12680b2c731201519935013ec9219c93ec540; >= ffbda8e9df10d1784d5427ec199e7d8308e3763f, < 6ccc891f36d0c20ee220551caabdcd3886ec584b; >= ffbda8e9df10d1784d5427ec199e7d8308e3763f, < ed843d6ed7310a27cf7c8ee0a82a482eed0cb4a6; Linux 5.19
- Fixed in
- Linux 8fe12680b2c731201519935013ec9219c93ec540, Linux 6ccc891f36d0c20ee220551caabdcd3886ec584b
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: vdpa/vp_vdpa: fix kfree a wrong pointer in vp_vdpa_remove In vp_vdpa_remove(), the code kfree(&vp_vdpa_mgtdev->mgtdev.id_table) uses a reference of pointer as the argument of kfree, which is the wrong pointer and then may hit crash like this: Unable to handle kernel paging request at virtual address 00ffff003363e30c Internal error: Oops: 96000004 [#1] SMP Call trace: rb_next+0x20/0x5c ext4_readdir+0x494/0x5c4 [ext4] iterate_dir+0x168/0x1b4 __se_sys_getdents64+0x68/0x170 __arm64_sys_getdents64+0x24/0x30 el0_svc_common.constprop.0+0x7c/0x1bc do_el0_svc+0x2c/0x94 el0_svc+0x20/0x30 el0_sync_handler+0xb0/0xb4 el0_sync+0x160/0x180 Code: 54000220 f9400441 b4000161 aa0103e0 (f9400821) SMP: stopping secondary CPUs Starting crashdump kernel...
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= ffbda8e9df10d1784d5427ec199e7d8308e3763f, < 8fe12680b2c731201519935013ec9219c93ec540; >= ffbda8e9df10d1784d5427ec199e7d8308e3763f, < 6ccc891f36d0c20ee220551caabdcd3886ec584b; >= ffbda8e9df10d1784d5427ec199e7d8308e3763f, < ed843d6ed7310a27cf7c8ee0a82a482eed0cb4a6 | — | cvelist |
| Linux | 5.19 | — | 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-50873. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50873.md Affected: Linux >= ffbda8e9df10d1784d5427ec199e7d8308e3763f, < 8fe12680b2c731201519935013ec9219c93ec540; >= ffbda8e9df10d1784d5427ec199e7d8308e3763f, < 6ccc891f36d0c20ee220551caabdcd3886ec584b; >= ffbda8e9df10d1784d5427ec199e7d8308e3763f, < ed843d6ed7310a27cf7c8ee0a82a482eed0cb4a6; Linux 5.19 Fixed in: Linux 8fe12680b2c731201519935013ec9219c93ec540, Linux 6ccc891f36d0c20ee220551caabdcd3886ec584b 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-50873 being exploited?
There is no confirmed exploitation: CVE-2022-50873 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50873?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2022-50873?
Linux >= ffbda8e9df10d1784d5427ec199e7d8308e3763f, < 8fe12680b2c731201519935013ec9219c93ec540; >= ffbda8e9df10d1784d5427ec199e7d8308e3763f, < 6ccc891f36d0c20ee220551caabdcd3886ec584b; >= ffbda8e9df10d1784d5427ec199e7d8308e3763f, < ed843d6ed7310a27cf7c8ee0a82a482eed0cb4a6; Linux 5.19.
Is there a fix for CVE-2022-50873?
Yes. Fixed in Linux 8fe12680b2c731201519935013ec9219c93ec540, Linux 6ccc891f36d0c20ee220551caabdcd3886ec584b. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-50873?
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.