Kernel: Use After Free
CVE-2022-1199 is a high-severity use after free vulnerability in Kernel, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected Kernel versions: Fixed in kernel v5.18-rc4. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 2.17% chance of exploitation within 30 days, higher than 83% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Linux Kernel to 4.14.277 or 4.19.240 or 5.4.190 or 5.10.112, whichever matches your release line, or a later version.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Kernel | Kernel | Fixed in kernel v5.18-rc4 | Not stated |
| Linux | Linux Kernel | before 4.14.277; 4.15 up to, but not including, 4.19.240; 4.20 up to, but not including, 5.4.190; 5.5 up to, but not including, 5.10.112; 5.11 up to, but not including, 5.15.35 | 4.14.277, 4.19.240, 5.4.190, 5.10.112, 5.15.35 |
| Red Hat | Enterprise Linux | 6.0 | Not stated |
| NetApp | Active Iq Unified Manager | Not specified in the record | Not stated |
| NetApp | H300s Firmware | Not specified in the record | Not stated |
| NetApp | H500s Firmware | Not specified in the record | Not stated |
| NetApp | H700s Firmware | Not specified in the record | Not stated |
| NetApp | H410s Firmware | Not specified in the record | Not stated |
| NetApp | H410c Firmware | Not specified in the record | Not stated |
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
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- NoneNo data is disclosed.
- Integrity
- NoneNothing can be modified.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.5 | High | NVD |
| CVSS 3.1 | 7.5 | High | CISA (ADP) |
Official description
A flaw was found in the Linux kernel. This flaw allows an attacker to crash the Linux kernel by simulating amateur radio from the user space, resulting in a null-ptr-deref vulnerability and a use-after-free vulnerability.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory belongs to the code that operates on the new pointer.
How developers prevent this class of flaw
- Choose a language that provides automatic memory management.
- When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- github.com/torvalds/linux/commit/4e0f718daf97d47cf7dec122da1be970f145c809Third Party Advisory
- github.com/torvalds/linux/commit/71171ac8eb34ce7fe6b3267dce27c313ab3cb3acThird Party Advisory
- github.com/torvalds/linux/commit/7ec02f5ac8a5be5a3f20611731243dc5e1d9ba10Third Party Advisory
Third-party and government advisories
- access.redhat.com/security/cve/CVE-2022-1199Third Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2070694Issue Tracking, Third Party Advisory
- security.netapp.com/advisory/ntap-20221228-0006/Third Party Advisory
- openwall.com/lists/oss-security/2022/04/02/5Mailing List, Third Party Advisory
Other vulnerabilities in Kernel
- 7.5 High severity
- 7.8 High severity
- 8.1 High severity
- 7.1 High severity
- 8.1 High severity
- 8.1 High severity
Recent Use After Free vulnerabilities
- 8.8 High severity
- 7.5 High severity
- 7.8 High severity
- 9.8 Critical severity
- 7.8 High severity
- 9.8 Critical severity
Spotted an error? Tell us.