Linux: Double Free
CVE-2022-49541 is a high-severity double free vulnerability in Linux, with a CVSS 3.1 base score of 7.8 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 ce0008a0e410cdd95f0d8cd81b2902ec10a660c4, 9a167fc440e5693c1cdd7f07071e05658bd9d89d, ee71f8f1cd3c8c4a251fd3e8abc89215ae3457cb 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.3% 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 ce0008a0e410cdd95f0d8cd81b2902ec10a660c4 or 9a167fc440e5693c1cdd7f07071e05658bd9d89d or ee71f8f1cd3c8c4a251fd3e8abc89215ae3457cb or 8378a51e3f8140f60901fb27208cc7a6e47047b5, whichever matches your release line, or a later version.
- Update Linux Kernel to 5.15.46 or 5.17.14 or 5.18.3, whichever matches your release line, or a later version.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Linux | Linux | d17abdf7566566fc402c31899b353044a7ff3cf4 up to, but not including, ce0008a0e410cdd95f0d8cd81b2902ec10a660c4; d17abdf7566566fc402c31899b353044a7ff3cf4 up to, but not including, 9a167fc440e5693c1cdd7f07071e05658bd9d89d; d17abdf7566566fc402c31899b353044a7ff3cf4 up to, but not including, ee71f8f1cd3c8c4a251fd3e8abc89215ae3457cb; d17abdf7566566fc402c31899b353044a7ff3cf4 up to, but not including, 8378a51e3f8140f60901fb27208cc7a6e47047b5; 5.11 | ce0008a0e410cdd95f0d8cd81b2902ec10a660c4, 9a167fc440e5693c1cdd7f07071e05658bd9d89d, ee71f8f1cd3c8c4a251fd3e8abc89215ae3457cb, 8378a51e3f8140f60901fb27208cc7a6e47047b5 |
| Linux | Linux Kernel | before 5.15.46; 5.16 up to, but not including, 5.17.14; 5.18 up to, but not including, 5.18.3 | 5.15.46, 5.17.14, 5.18.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
- HighData or code can be modified at will.
- 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:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.8 | High | NVD |
| CVSS 3.1 | 7.8 | High | CISA (ADP) |
Official description
In the Linux kernel, the following vulnerability has been resolved: cifs: fix potential double free during failed mount RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=2088799
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Double Free
The product calls free() twice on the same memory address.
How developers prevent this class of flaw
- Choose a language that provides automatic memory management.
- Ensure that each allocation is freed only once. After freeing a chunk, set the pointer to NULL to ensure the pointer cannot be freed again. In complicated error conditions, be sure that clean-up routines respect the state of allocation properly. If the language is object oriented, ensure that object destructors delete each chunk of memory only once.
- Use a static analysis tool to find double free instances.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
Recent Double Free vulnerabilities
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
Spotted an error? Tell us.