CVE-2022-41218
Vulnerability Summary
Timeline
Description
In drivers/media/dvb-core/dmxdev.c in the Linux kernel through 5.19.10, there is a use-after-free caused by refcount races, affecting dvb_demux_open and dvb_dmxdev_release.
CVSS Metrics
- v3.1•MEDIUM•Score: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 0.81%• Percentile: 55%
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
- debian•linux
< 5.10.162-1 | < 6.1.4-1 | < 6.1.4-1 | < 6.1.4-1
- ubuntu•linux
all | < 4.4.0-239.273 | < 4.15.0-208.220 | < 5.4.0-144.161 | < 5.15.0-69.76
- ubuntu•linux-aws
< 4.4.0-1117.123 | < 4.4.0-1155.170 | < 4.15.0-1153.166 | < 5.4.0-1097.105 | < 5.15.0-1033.37
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.15
< 5.15.0-1033.37~20.04.1
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1097.105~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-fips
< 4.15.0-2092.98 | all | < 5.4.0-1099.107+fips1
- ubuntu•linux-aws-hwe
< 4.15.0-1153.166~16.04.1
- ubuntu•linux-azure
< 4.15.0-1162.177~14.04.1 | < 4.15.0-1162.177~16.04.1 | all | < 5.4.0-1104.110 | < 5.15.0-1035.42
- ubuntu•linux-azure-4.15
< 4.15.0-1162.177
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.15
< 5.15.0-1035.42~20.04.1
- ubuntu•linux-azure-5.19
< 5.19.0-1023.24~22.04.1
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1104.110~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
< 5.15.0-1035.42.1
- ubuntu•linux-azure-fips
< 4.15.0-2071.77 | all | < 5.4.0-1104.110+fips1
- ubuntu•linux-bluefield
all | < 5.4.0-1059.65 | < 5.15.0-1015.17
- ubuntu•linux-dell300x
< 4.15.0-1062.67
- ubuntu•linux-fips
< 4.4.0-1088.95 | all | < 4.15.0-1108.119 | < 5.4.0-1073.82
- ubuntu•linux-gcp
< 4.15.0-1147.163~16.04.1 | all | < 5.4.0-1101.110 | < 5.15.0-1031.38
- ubuntu•linux-gcp-4.15
< 4.15.0-1147.163
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.15
< 5.15.0-1031.38~20.04.1
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1101.110~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-fips
< 4.15.0-2055.60 | all | < 5.4.0-1101.110+fips1
- ubuntu•linux-gke
< 5.4.0-1095.102 | < 5.15.0-1030.35
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.15
< 5.15.0-1029.34~20.04.1
- ubuntu•linux-gke-5.4
all
- ubuntu•linux-gkeop
< 5.4.0-1065.69 | < 5.15.0-1017.22
- ubuntu•linux-gkeop-5.15
< 5.15.0-1017.22~20.04.1
- ubuntu•linux-gkeop-5.4
all
- ubuntu•linux-hwe
< 4.15.0-208.219~16.04.1 | all
- ubuntu•linux-hwe-5.11
all
- ubuntu•linux-hwe-5.13
all
- ubuntu•linux-hwe-5.15
< 5.15.0-69.76~20.04.1
- ubuntu•linux-hwe-5.19
< 5.19.0-40.41~22.04.1
- ubuntu•linux-hwe-5.4
< 5.4.0-144.161~18.04.1
- ubuntu•linux-hwe-5.8
all
Showing first 50 affected entries in server-rendered view.
References (37)
- https://lore.kernel.org/all/20220908132754.30532-1-tiwai%40suse.de/
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/media/dvb-core/dmxdev.c
- http://www.openwall.com/lists/oss-security/2022/09/23/4
- http://www.openwall.com/lists/oss-security/2022/09/24/2
- http://www.openwall.com/lists/oss-security/2022/09/24/1
- https://www.debian.org/security/2023/dsa-5324
- https://lists.debian.org/debian-lts-announce/2023/03/msg00000.html
- https://lists.debian.org/debian-lts-announce/2023/05/msg00006.html
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=fd3d91ab1c6ab0628fe642dd570b56302c30a792
- https://ubuntu.com/security/CVE-2022-41218
- https://lore.kernel.org/all/87sfklgozd.wl-tiwai@suse.de/
- https://www.openwall.com/lists/oss-security/2022/09/23/4
- https://lore.kernel.org/all/20220908132754.30532-1-tiwai@suse.de/
- https://ubuntu.com/security/notices/USN-5915-1
- https://ubuntu.com/security/notices/USN-5917-1
- https://ubuntu.com/security/notices/USN-5924-1
- https://ubuntu.com/security/notices/USN-5927-1
- https://ubuntu.com/security/notices/USN-5934-1
- https://ubuntu.com/security/notices/USN-5939-1
- https://ubuntu.com/security/notices/USN-5940-1
- https://ubuntu.com/security/notices/USN-5951-1
- https://ubuntu.com/security/notices/USN-5975-1
- https://ubuntu.com/security/notices/USN-5981-1
- https://ubuntu.com/security/notices/USN-5982-1
- https://ubuntu.com/security/notices/USN-5984-1
- https://ubuntu.com/security/notices/USN-5987-1
- https://ubuntu.com/security/notices/USN-5991-1
- https://ubuntu.com/security/notices/USN-6000-1
- https://ubuntu.com/security/notices/USN-6001-1
- https://ubuntu.com/security/notices/USN-6004-1
- https://ubuntu.com/security/notices/USN-6009-1
- https://ubuntu.com/security/notices/USN-6013-1
- https://ubuntu.com/security/notices/USN-6014-1
- https://ubuntu.com/security/notices/USN-6024-1
- https://ubuntu.com/security/notices/USN-6030-1
- https://www.cve.org/CVERecord?id=CVE-2022-41218
- https://security-tracker.debian.org/tracker/CVE-2022-41218