Linux: Missing Initialization of Resource
CVE-2022-50169 is a high-severity missing initialization of resource vulnerability in Linux, with a CVSS 3.1 base score of 7.1 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. The record lists versions c1216e699a1ce83ea005510844bd7508d34c6cef, 4615458db7793fadc6d546ac3564b36819e77a22, 60c9983425167ec5073c628d83a6875760d18059 as the first without the flaw, so updating Linux to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.27% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Linux to c1216e699a1ce83ea005510844bd7508d34c6cef or 4615458db7793fadc6d546ac3564b36819e77a22 or 60c9983425167ec5073c628d83a6875760d18059 or 05ceda14ef7c73104e709c414c3680d8a59f51d4, whichever matches your release line, or a later version.
- Update Linux Kernel to 4.14.291 or 4.19.256 or 5.4.211 or 5.10.137, whichever matches your release line, or a later version.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Linux | Linux | ff974e4083341383d3dd4079e52ed30f57f376f0 up to, but not including, c1216e699a1ce83ea005510844bd7508d34c6cef; ff974e4083341383d3dd4079e52ed30f57f376f0 up to, but not including, 4615458db7793fadc6d546ac3564b36819e77a22; ff974e4083341383d3dd4079e52ed30f57f376f0 up to, but not including, 60c9983425167ec5073c628d83a6875760d18059; ff974e4083341383d3dd4079e52ed30f57f376f0 up to, but not including, 05ceda14ef7c73104e709c414c3680d8a59f51d4; ff974e4083341383d3dd4079e52ed30f57f376f0 up to, but not including, 074e865b37da55aa87baa16d68b96896f85f8adb; ff974e4083341383d3dd4079e52ed30f57f376f0 up to, but not including, 789edc1af9c1a2293956e8534bfef3d18d629de9; ff974e4083341383d3dd4079e52ed30f57f376f0 up to, but not including, 67470920cd3f3cb38699b1ad23234f96bead4d21; ff974e4083341383d3dd4079e52ed30f57f376f0 up to, but not including, 7a4836560a6198d245d5732e26f94898b12eb760; and 1 more ranges | c1216e699a1ce83ea005510844bd7508d34c6cef, 4615458db7793fadc6d546ac3564b36819e77a22, 60c9983425167ec5073c628d83a6875760d18059, 05ceda14ef7c73104e709c414c3680d8a59f51d4, 074e865b37da55aa87baa16d68b96896f85f8adb, 789edc1af9c1a2293956e8534bfef3d18d629de9 |
| Linux | Linux Kernel | 3.17 up to, but not including, 4.14.291; 4.15 up to, but not including, 4.19.256; 4.20 up to, but not including, 5.4.211; 5.5 up to, but not including, 5.10.137; 5.11 up to, but not including, 5.15.61; 5.16 up to, but not including, 5.18.18; 5.19 up to, but not including, 5.19.2 | 4.14.291, 4.19.256, 5.4.211, 5.10.137, 5.15.61, 5.18.18 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- LocalThe attacker needs local access or must trick a user into running something.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- NoneNothing can be modified.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H. Scored by NVD.
Official description
In the Linux kernel, the following vulnerability has been resolved: wifi: wil6210: debugfs: fix info leak in wil_write_file_wmi() The simple_write_to_buffer() function will succeed if even a single byte is initialized. However, we need to initialize the whole buffer to prevent information leaks. Just use memdup_user().
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Missing Initialization of Resource
The product does not initialize a critical resource.
How developers prevent this class of flaw
- Explicitly initialize the resource before use. If this is performed through an API function or standard procedure, follow all specified steps.
- Pay close attention to complex conditionals that affect initialization, since some branches might not perform the initialization.
- Avoid race conditions (CWE-362) during initialization routines.
More Missing Initialization of Resource vulnerabilities (CWE-909)
Timeline
- CVE record published.
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- git.kernel.org/stable/c/05ceda14ef7c73104e709c414c3680d8a59f51d4
- git.kernel.org/stable/c/074e865b37da55aa87baa16d68b96896f85f8adb
- git.kernel.org/stable/c/4615458db7793fadc6d546ac3564b36819e77a22
- git.kernel.org/stable/c/60c9983425167ec5073c628d83a6875760d18059
- git.kernel.org/stable/c/67470920cd3f3cb38699b1ad23234f96bead4d21
- git.kernel.org/stable/c/789edc1af9c1a2293956e8534bfef3d18d629de9
- git.kernel.org/stable/c/7a4836560a6198d245d5732e26f94898b12eb760
- git.kernel.org/stable/c/c1216e699a1ce83ea005510844bd7508d34c6cef
Recent Missing Initialization of Resource vulnerabilities
- 7.1 High severity
- 8.8 High severity
- 7.8 High severity
- 9.8 Critical severity
Spotted an error? Tell us.