CVE-2022-50677
ipmi: fix use after free in _ipmi_destroy_user()
Mitigation
- Upgrade Linux to 5.4.229 or later.
Who should check
- Anyone running Linux >= f9d405a4bd6090ffbf3bba5e2da6b44c0e013cb3, < 35ad87bfe330f7ef6a19f772223c63296d643172; >= b642ced2cad496c32ae1f62b85fc395391190820, < d23006f2a56e11a3103de0ca8b843bf7fd7d76fc; >= cbb79863fc3175ed5ac506465948b02a893a8235, < f29d127b372e1b7662397d92341d9f7de198ff99; >= cbb79863fc3175ed5ac506465948b02a893a8235, < bfce073089cb81482521c65061835aaa6d1a6cc0; >= cbb79863fc3175ed5ac506465948b02a893a8235, < f7fde441198a9ecb130c3ccec91ee2131d6998ee; >= cbb79863fc3175ed5ac506465948b02a893a8235, < 1fc9b20a7688000fcf4d7fbaa58e415a3cdda961; >= cbb79863fc3175ed5ac506465948b02a893a8235, < a92ce570c81dc0feaeb12a429b4bc65686d17967; >= 4.19.92, < 4.19.270; >= 5.4.7, < 5.4.229
- Anyone running Linux 5.5
Vulnerability facts
- Affected
- Linux >= f9d405a4bd6090ffbf3bba5e2da6b44c0e013cb3, < 35ad87bfe330f7ef6a19f772223c63296d643172; >= b642ced2cad496c32ae1f62b85fc395391190820, < d23006f2a56e11a3103de0ca8b843bf7fd7d76fc; >= cbb79863fc3175ed5ac506465948b02a893a8235, < f29d127b372e1b7662397d92341d9f7de198ff99; >= cbb79863fc3175ed5ac506465948b02a893a8235, < bfce073089cb81482521c65061835aaa6d1a6cc0; >= cbb79863fc3175ed5ac506465948b02a893a8235, < f7fde441198a9ecb130c3ccec91ee2131d6998ee; >= cbb79863fc3175ed5ac506465948b02a893a8235, < 1fc9b20a7688000fcf4d7fbaa58e415a3cdda961; >= cbb79863fc3175ed5ac506465948b02a893a8235, < a92ce570c81dc0feaeb12a429b4bc65686d17967; >= 4.19.92, < 4.19.270; >= 5.4.7, < 5.4.229; Linux 5.5
- Fixed in
- Linux 35ad87bfe330f7ef6a19f772223c63296d643172, Linux 1fc9b20a7688000fcf4d7fbaa58e415a3cdda961, Linux 4.19.270, Linux 5.4.229
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.20% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ipmi: fix use after free in _ipmi_destroy_user() The intf_free() function frees the "intf" pointer so we cannot dereference it again on the next line.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f9d405a4bd6090ffbf3bba5e2da6b44c0e013cb3, < 35ad87bfe330f7ef6a19f772223c63296d643172; >= b642ced2cad496c32ae1f62b85fc395391190820, < d23006f2a56e11a3103de0ca8b843bf7fd7d76fc; >= cbb79863fc3175ed5ac506465948b02a893a8235, < f29d127b372e1b7662397d92341d9f7de198ff99; >= cbb79863fc3175ed5ac506465948b02a893a8235, < bfce073089cb81482521c65061835aaa6d1a6cc0; >= cbb79863fc3175ed5ac506465948b02a893a8235, < f7fde441198a9ecb130c3ccec91ee2131d6998ee; >= cbb79863fc3175ed5ac506465948b02a893a8235, < 1fc9b20a7688000fcf4d7fbaa58e415a3cdda961; >= cbb79863fc3175ed5ac506465948b02a893a8235, < a92ce570c81dc0feaeb12a429b4bc65686d17967; >= 4.19.92, < 4.19.270; >= 5.4.7, < 5.4.229 | — | cvelist |
| Linux | 5.5 | — | 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-50677. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50677.md Affected: Linux >= f9d405a4bd6090ffbf3bba5e2da6b44c0e013cb3, < 35ad87bfe330f7ef6a19f772223c63296d643172; >= b642ced2cad496c32ae1f62b85fc395391190820, < d23006f2a56e11a3103de0ca8b843bf7fd7d76fc; >= cbb79863fc3175ed5ac506465948b02a893a8235, < f29d127b372e1b7662397d92341d9f7de198ff99; >= cbb79863fc3175ed5ac5064… Fixed in: Linux 35ad87bfe330f7ef6a19f772223c63296d643172, Linux 1fc9b20a7688000fcf4d7fbaa58e415a3cdda961, Linux 4.19.270, Linux 5.4.229 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
Other
- https://git.kernel.org/stable/c/35ad87bfe330f7ef6a19f772223c63296d643172
- https://git.kernel.org/stable/c/d23006f2a56e11a3103de0ca8b843bf7fd7d76fc
- https://git.kernel.org/stable/c/f29d127b372e1b7662397d92341d9f7de198ff99
- https://git.kernel.org/stable/c/bfce073089cb81482521c65061835aaa6d1a6cc0
- https://git.kernel.org/stable/c/f7fde441198a9ecb130c3ccec91ee2131d6998ee
- https://git.kernel.org/stable/c/1fc9b20a7688000fcf4d7fbaa58e415a3cdda961
- https://git.kernel.org/stable/c/a92ce570c81dc0feaeb12a429b4bc65686d17967
FAQ
Is CVE-2022-50677 being exploited?
There is no confirmed exploitation: CVE-2022-50677 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50677?
High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2022-50677?
Linux >= f9d405a4bd6090ffbf3bba5e2da6b44c0e013cb3, < 35ad87bfe330f7ef6a19f772223c63296d643172; >= b642ced2cad496c32ae1f62b85fc395391190820, < d23006f2a56e11a3103de0ca8b843bf7fd7d76fc; >= cbb79863fc3175ed5ac506465948b02a893a8235, < f29d127b372e1b7662397d92341d9f7de198ff99; >= cbb79863fc3175ed5ac506465948b02a893a8235, < bfce073089cb81482521c65061835aaa6d1a6cc0; >= cbb79863fc3175ed5ac506465948b02a893a8235, < f7fde441198a9ecb130c3ccec91ee2131d6998ee; >= cbb79863fc3175ed5ac506465948b02a893a8235, < 1fc9b20a7688000fcf4d7fbaa58e415a3cdda961; >= cbb79863fc3175ed5ac506465948b02a893a8235, < a92ce570c81dc0feaeb12a429b4bc65686d17967; >= 4.19.92, < 4.19.270; >= 5.4.7, < 5.4.229; Linux 5.5.
Is there a fix for CVE-2022-50677?
Yes. Fixed in Linux 35ad87bfe330f7ef6a19f772223c63296d643172, Linux 1fc9b20a7688000fcf4d7fbaa58e415a3cdda961, Linux 4.19.270, Linux 5.4.229. Upgrade Linux to 5.4.229 or later.
How do I check if I'm affected by CVE-2022-50677?
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.