Linux: Out-of-bounds Read
CVE-2022-50490 is a high-severity out-of-bounds read 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 0e13425104903970a5ede853082d3bbb4edec6f3, 6bfee6eb3d6b96ae730a542909dd22b5f9f50d58, 4f1f39a8f1ce1b24fee6852d7dcd704ce7c4334d 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.16% 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 0e13425104903970a5ede853082d3bbb4edec6f3 or 6bfee6eb3d6b96ae730a542909dd22b5f9f50d58 or 4f1f39a8f1ce1b24fee6852d7dcd704ce7c4334d or 66a7a92e4d0d091e79148a4c6ec15d1da65f4280, whichever matches your release line, or a later version.
- Update Linux Kernel to 5.15.75 or 5.19.17 or 6.0.3, whichever matches your release line, or a later version.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Linux | Linux | 20b6cc34ea74b6a84599c1f8a70f3315b56a1883 up to, but not including, 0e13425104903970a5ede853082d3bbb4edec6f3; 20b6cc34ea74b6a84599c1f8a70f3315b56a1883 up to, but not including, 6bfee6eb3d6b96ae730a542909dd22b5f9f50d58; 20b6cc34ea74b6a84599c1f8a70f3315b56a1883 up to, but not including, 4f1f39a8f1ce1b24fee6852d7dcd704ce7c4334d; 20b6cc34ea74b6a84599c1f8a70f3315b56a1883 up to, but not including, 66a7a92e4d0d091e79148a4c6ec15d1da65f4280; 5.11 | 0e13425104903970a5ede853082d3bbb4edec6f3, 6bfee6eb3d6b96ae730a542909dd22b5f9f50d58, 4f1f39a8f1ce1b24fee6852d7dcd704ce7c4334d, 66a7a92e4d0d091e79148a4c6ec15d1da65f4280 |
| Linux | Linux Kernel | 5.11 up to, but not including, 5.15.75; 5.16 up to, but not including, 5.19.17; 6.0 up to, but not including, 6.0.3 | 5.15.75, 5.19.17, 6.0.3 |
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.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.1 | High | CNA |
| CVSS 3.1 | 7.1 | High | NVD |
Official description
In the Linux kernel, the following vulnerability has been resolved: bpf: Propagate error from htab_lock_bucket() to userspace In __htab_map_lookup_and_delete_batch() if htab_lock_bucket() returns -EBUSY, it will go to next bucket. Going to next bucket may not only skip the elements in current bucket silently, but also incur out-of-bound memory access or expose kernel memory to userspace if current bucket_cnt is greater than bucket_size or zero. Fixing it by stopping batch operation and returning -EBUSY when htab_lock_bucket() fails, and the application can retry or skip the busy batch as needed.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Out-of-bounds Read
The product reads data past the end, or before the beginning, of the intended buffer.
How developers prevent this class of flaw
- Use a language that provides appropriate memory abstractions.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
Recent Out-of-bounds Read vulnerabilities
- 7.1 High severity
- 7.1 High severity
- 7.1 High severity
- 7.1 High severity
- 7.1 High severity
- 7.1 High severity
Spotted an error? Tell us.