CVE-2022-50712
devlink: hold region lock when flushing snapshots
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 2dec18ad826f52658f7781ee995d236cc449b678, < 49383d4e59bb704341aaa1d51440ccce58270e61; >= 2dec18ad826f52658f7781ee995d236cc449b678, < 6298cab4d80bfdb6fe01fe31fd9f0ba26317fdae; >= 2dec18ad826f52658f7781ee995d236cc449b678, < b4cafb3d2c740f8d1b1234b43ac4a60e5291c960
- Anyone running Linux 6.0
Vulnerability facts
- Affected
- Linux >= 2dec18ad826f52658f7781ee995d236cc449b678, < 49383d4e59bb704341aaa1d51440ccce58270e61; >= 2dec18ad826f52658f7781ee995d236cc449b678, < 6298cab4d80bfdb6fe01fe31fd9f0ba26317fdae; >= 2dec18ad826f52658f7781ee995d236cc449b678, < b4cafb3d2c740f8d1b1234b43ac4a60e5291c960; Linux 6.0
- Fixed in
- Linux 49383d4e59bb704341aaa1d51440ccce58270e61, Linux 6298cab4d80bfdb6fe01fe31fd9f0ba26317fdae
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.27% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: devlink: hold region lock when flushing snapshots Netdevsim triggers a splat on reload, when it destroys regions with snapshots pending: WARNING: CPU: 1 PID: 787 at net/core/devlink.c:6291 devlink_region_snapshot_del+0x12e/0x140 CPU: 1 PID: 787 Comm: devlink Not tainted 6.1.0-07460-g7ae9888d6e1c #580 RIP: 0010:devlink_region_snapshot_del+0x12e/0x140 Call Trace: <TASK> devl_region_destroy+0x70/0x140 nsim_dev_reload_down+0x2f/0x60 [netdevsim] devlink_reload+0x1f7/0x360 devlink_nl_cmd_reload+0x6ce/0x860 genl_family_rcv_msg_doit.isra.0+0x145/0x1c0 This is the locking assert in devlink_region_snapshot_del(), we're supposed to be holding the region->snapshot_lock here.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 2dec18ad826f52658f7781ee995d236cc449b678, < 49383d4e59bb704341aaa1d51440ccce58270e61; >= 2dec18ad826f52658f7781ee995d236cc449b678, < 6298cab4d80bfdb6fe01fe31fd9f0ba26317fdae; >= 2dec18ad826f52658f7781ee995d236cc449b678, < b4cafb3d2c740f8d1b1234b43ac4a60e5291c960 | — | cvelist |
| Linux | 6.0 | — | 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-50712. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50712.md Affected: Linux >= 2dec18ad826f52658f7781ee995d236cc449b678, < 49383d4e59bb704341aaa1d51440ccce58270e61; >= 2dec18ad826f52658f7781ee995d236cc449b678, < 6298cab4d80bfdb6fe01fe31fd9f0ba26317fdae; >= 2dec18ad826f52658f7781ee995d236cc449b678, < b4cafb3d2c740f8d1b1234b43ac4a60e5291c960; Linux 6.0 Fixed in: Linux 49383d4e59bb704341aaa1d51440ccce58270e61, Linux 6298cab4d80bfdb6fe01fe31fd9f0ba26317fdae 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-50712 being exploited?
There is no confirmed exploitation: CVE-2022-50712 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50712?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2022-50712?
Linux >= 2dec18ad826f52658f7781ee995d236cc449b678, < 49383d4e59bb704341aaa1d51440ccce58270e61; >= 2dec18ad826f52658f7781ee995d236cc449b678, < 6298cab4d80bfdb6fe01fe31fd9f0ba26317fdae; >= 2dec18ad826f52658f7781ee995d236cc449b678, < b4cafb3d2c740f8d1b1234b43ac4a60e5291c960; Linux 6.0.
Is there a fix for CVE-2022-50712?
Yes. Fixed in Linux 49383d4e59bb704341aaa1d51440ccce58270e61, Linux 6298cab4d80bfdb6fe01fe31fd9f0ba26317fdae. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-50712?
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.