CVE-2022-41222
Vulnerability Summary
Timeline
Description
mm/mremap.c in the Linux kernel before 5.13.3 has a use-after-free via a stale TLB because an rmap lock is not held during a PUD move.
CVSS Metrics
- v3.1•HIGH•Score: 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 0.47%• Percentile: 40%
Techniques & Countermeasures
- CWE-416•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.
Affected Systems
- canonical•ubuntu_linux
18.04 | 20.04 | 22.04
- debian•linux
< 5.10.140-1 | < 5.14.6-1 | < 5.14.6-1 | < 5.14.6-1
- ubuntu•linux
< 5.4.0-132.148
- ubuntu•linux-aws
< 5.4.0-1089.97
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1089.97~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-fips
< 5.4.0-1089.97+fips1 | all
- ubuntu•linux-azure
all | < 5.4.0-1095.101
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1095.101~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fips
< 5.4.0-1095.101+fips1 | all
- ubuntu•linux-bluefield
all | < 5.4.0-1050.56
- ubuntu•linux-fips
< 5.4.0-1065.74 | all
- ubuntu•linux-gcp
all | < 5.4.0-1093.102
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1093.102~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-fips
< 5.4.0-1093.102+fips1 | all
- ubuntu•linux-gke
< 5.4.0-1087.94
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.4
all
- ubuntu•linux-gkeop
< 5.4.0-1057.61
- ubuntu•linux-gkeop-5.4
all
- ubuntu•linux-hwe
all
- ubuntu•linux-hwe-5.11
all
- ubuntu•linux-hwe-5.13
all
- ubuntu•linux-hwe-5.4
< 5.4.0-132.148~18.04.1
- ubuntu•linux-hwe-5.8
all
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-ibm
< 5.4.0-1037.42
- ubuntu•linux-ibm-5.4
< 5.4.0-1037.42~18.04.1
- ubuntu•linux-intel-5.13
all
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-iot
< 5.4.0-1006.8
- ubuntu•linux-kvm
< 5.4.0-1079.85
- ubuntu•linux-oem
all
- ubuntu•linux-oem-5.10
all
- ubuntu•linux-oem-5.13
all
- ubuntu•linux-oem-5.6
all
- ubuntu•linux-oracle
< 5.4.0-1087.96
Showing first 50 affected entries in server-rendered view.
References (14)
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.13.3
- https://bugs.chromium.org/p/project-zero/issues/detail?id=2347
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=97113eb39fa7972722ff490b947d8af023e1f6a2
- http://packetstormsecurity.com/files/168466/Linux-Stable-5.4-5.10-Use-After-Free-Race-Condition.html
- https://lists.debian.org/debian-lts-announce/2022/11/msg00001.html
- https://security.netapp.com/advisory/ntap-20230214-0008/
- http://packetstormsecurity.com/files/171005/Kernel-Live-Patch-Security-Notice-LNS-0091-1.html
- https://ubuntu.com/security/CVE-2022-41222
- https://git.kernel.org/linus/97113eb39fa7972722ff490b947d8af023e1f6a2
- https://ubuntu.com/security/notices/USN-5728-1
- https://ubuntu.com/security/notices/USN-5728-2
- https://ubuntu.com/security/notices/USN-5728-3
- https://www.cve.org/CVERecord?id=CVE-2022-41222
- https://security-tracker.debian.org/tracker/CVE-2022-41222