CVE-2024-23851
Vulnerability Summary
Timeline
Description
copy_params in drivers/md/dm-ioctl.c in the Linux kernel through 6.7.1 can attempt to allocate more than INT_MAX bytes, and crash, because of a missing param_kernel->data_size check. This is related to ctl_ioctl.
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.30%• Percentile: 22%
Techniques & Countermeasures
- CWE-190•Integer Overflow or Wraparound
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Affected Systems
- debian•linux
< 5.10.216-1 | < 6.1.82-1 | < 6.6.7-1 | < 6.6.7-1
- ubuntu•linux
all | < 4.4.0-253.287 | < 4.15.0-224.236 | < 5.4.0-176.196 | < 5.15.0-102.112
- ubuntu•linux-allwinner-5.19
all
- ubuntu•linux-aws
< 4.4.0-1130.136 | < 4.4.0-1168.183 | < 4.15.0-1167.180 | < 5.4.0-1122.132 | < 5.15.0-1057.63
- 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-1057.63~20.04.1
- ubuntu•linux-aws-5.19
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1122.132~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-6.2
all
- ubuntu•linux-aws-6.5
< 6.5.0-1017.17~22.04.2
- ubuntu•linux-aws-fips
< 4.15.0-2106.112 | all | < 5.4.0-1122.132+fips1 | < 5.15.0-1057.63+fips1
- ubuntu•linux-aws-hwe
< 4.15.0-1167.180~16.04.1
- ubuntu•linux-azure
< 4.15.0-1176.191~14.04.1 | < 4.15.0-1176.191~16.04.1 | all | < 5.4.0-1127.134 | < 5.15.0-1060.69
- ubuntu•linux-azure-4.15
< 4.15.0-1176.191
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.15
< 5.15.0-1060.69~20.04.1
- ubuntu•linux-azure-5.19
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1127.134~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-6.2
all
- ubuntu•linux-azure-6.5
< 6.5.0-1018.19~22.04.2
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all | < 5.15.0-1060.69.1 | all
- ubuntu•linux-azure-fde-5.19
all
- ubuntu•linux-azure-fde-6.2
all
- ubuntu•linux-azure-fde-6.8
all
- ubuntu•linux-azure-fips
< 4.15.0-2085.91 | all | < 5.4.0-1127.134+fips1 | < 5.15.0-1060.69+fips1
- ubuntu•linux-bluefield
all | < 5.4.0-1082.89 | < 5.15.0-1040.42
- ubuntu•linux-fips
< 4.4.0-1100.107 | all | < 4.15.0-1122.133 | < 5.4.0-1096.106 | < 5.15.0-102.112+fips1
- ubuntu•linux-gcp
< 4.15.0-1161.178~16.04.1 | all | < 5.4.0-1126.135 | < 5.15.0-1055.63
- ubuntu•linux-gcp-4.15
< 4.15.0-1161.178
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.15
< 5.15.0-1055.63~20.04.1
- ubuntu•linux-gcp-5.19
all
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1126.135~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-6.2
all
- ubuntu•linux-gcp-6.5
< 6.5.0-1017.17~22.04.1
- ubuntu•linux-gcp-fips
< 4.15.0-2069.74 | all | < 5.4.0-1126.135+fips1 | < 5.15.0-1055.63+fips2
- ubuntu•linux-gke
all | < 5.15.0-1054.59
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.15
all
Showing first 50 affected entries in server-rendered view.
References (19)
- https://www.spinics.net/lists/dm-devel/msg56574.html
- https://www.spinics.net/lists/dm-devel/msg56694.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZOU3745CWCDZ7EMKMXB2OEEIB5Q3IWM/
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EZOU3745CWCDZ7EMKMXB2OEEIB5Q3IWM/
- https://ubuntu.com/security/CVE-2024-23851
- https://lore.kernel.org/all/PH7PR11MB576877FF72A9B2D43EAA1AEBA093A@PH7PR11MB5768.namprd11.prod.outlook.com/T/#u
- https://ubuntu.com/security/notices/USN-6724-1
- https://ubuntu.com/security/notices/USN-6725-1
- https://ubuntu.com/security/notices/USN-6726-1
- https://www.cve.org/CVERecord?id=CVE-2024-23851
- https://ubuntu.com/security/notices/USN-6724-2
- https://ubuntu.com/security/notices/USN-6725-2
- https://ubuntu.com/security/notices/USN-6726-2
- https://ubuntu.com/security/notices/USN-6726-3
- https://ubuntu.com/security/notices/USN-6739-1
- https://ubuntu.com/security/notices/USN-6740-1
- https://security-tracker.debian.org/tracker/CVE-2024-23851