CVE-2022-24958
Vulnerability Summary
Timeline
Description
drivers/usb/gadget/legacy/inode.c in the Linux kernel through 5.16.8 mishandles dev->buf release.
CVSS Metrics
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 4.6AV:L/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.41%• Percentile: 35%
Techniques & Countermeasures
- CWE-763•Release of Invalid Pointer or Reference
The product attempts to return a memory resource to the system, but it calls the wrong release function or calls the appropriate release function incorrectly.
Affected Systems
- debian•linux
< 5.10.106-1 | < 5.16.14-1 | < 5.16.14-1 | < 5.16.14-1
- ubuntu•linux
all | < 4.4.0-229.263 | < 4.15.0-177.186 | < 5.4.0-117.132
- ubuntu•linux-aws
< 4.4.0-1109.115 | < 4.4.0-1145.160 | < 4.15.0-1128.137 | < 5.4.0-1078.84
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
< 5.13.0-1028.31~20.04.1
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1078.84~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-fips
< 4.15.0-2067.70 | all | < 5.4.0-1078.84+fips1
- ubuntu•linux-aws-hwe
< 4.15.0-1128.137~16.04.1
- ubuntu•linux-azure
< 4.15.0-1138.151~14.04.1 | < 4.15.0-1138.151~16.04.1 | all | < 5.4.0-1083.87
- ubuntu•linux-azure-4.15
< 4.15.0-1138.151
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
< 5.13.0-1028.33~20.04.1
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1083.87~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde-5.15
< 5.15.0-1114.123~20.04.1
- ubuntu•linux-azure-fips
< 4.15.0-2049.53 | all | < 5.4.0-1083.87+fips1
- ubuntu•linux-bluefield
all | < 5.4.0-1040.44
- ubuntu•linux-dell300x
< 4.15.0-1042.47
- ubuntu•linux-fips
< 4.4.0-1079.86 | all | < 4.15.0-1085.94 | < 5.4.0-1054.61
- ubuntu•linux-gcp
< 4.15.0-1122.136~16.04.1 | all | < 5.4.0-1078.84
- ubuntu•linux-gcp-4.15
< 4.15.0-1122.136
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
< 5.13.0-1030.36~20.04.1
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1078.84~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-fips
< 4.15.0-2032.35 | all | < 5.4.0-1078.84+fips1
- ubuntu•linux-gke
< 5.4.0-1074.79
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.4
< 5.4.0-1074.79~18.04.1
- ubuntu•linux-gkeop
< 5.4.0-1046.48
- ubuntu•linux-gkeop-5.4
< 5.4.0-1046.48~18.04.1
- ubuntu•linux-hwe
< 4.15.0-177.186~16.04.1 | all
- ubuntu•linux-hwe-5.11
all
- ubuntu•linux-hwe-5.13
< 5.13.0-48.54~20.04.1
- ubuntu•linux-hwe-5.4
< 5.4.0-117.132~18.04.1
- ubuntu•linux-hwe-5.8
all
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-ibm
< 5.4.0-1026.29
- ubuntu•linux-ibm-5.4
< 5.4.0-1028.32~18.04.1
- ubuntu•linux-intel-5.13
< 5.13.0-1014.15
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-intel-iotg-5.15
< 5.15.0-1008.11~20.04.1
- ubuntu•linux-iot
< 5.4.0-1004.6
- ubuntu•linux-kvm
< 4.4.0-1110.120 | < 4.15.0-1114.117 | < 5.4.0-1068.72
Showing first 50 affected entries in server-rendered view.
References (16)
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=89f3594d0de58e8a57d92d497dea9fee3d4b9cda
- https://github.com/torvalds/linux/commit/89f3594d0de58e8a57d92d497dea9fee3d4b9cda
- https://github.com/torvalds/linux/commit/501e38a5531efbd77d5c73c0ba838a889bfc1d74
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TCW2KZYJ2H6BKZE3CVLHRIXYDGNYYC5P/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SUVZA2YVOQJBJTDIDQ5HF5TAU2C6WP6H/
- https://security.netapp.com/advisory/ntap-20220225-0008/
- https://lists.debian.org/debian-lts-announce/2022/07/msg00000.html
- https://ubuntu.com/security/CVE-2022-24958
- https://ubuntu.com/security/notices/USN-5381-1
- https://ubuntu.com/security/notices/USN-5418-1
- https://ubuntu.com/security/notices/USN-5467-1
- https://ubuntu.com/security/notices/USN-5468-1
- https://ubuntu.com/security/notices/USN-5505-1
- https://ubuntu.com/security/notices/USN-5513-1
- https://www.cve.org/CVERecord?id=CVE-2022-24958
- https://security-tracker.debian.org/tracker/CVE-2022-24958