CVE-2024-26828
Vulnerability Summary
Timeline
Description
In the Linux kernel, the following vulnerability has been resolved: cifs: fix underflow in parse_server_interfaces() In this loop, we step through the buffer and after each item we check if the size_left is greater than the minimum size we need. However, the problem is that "bytes_left" is type ssize_t while sizeof() is type size_t. That means that because of type promotion, the comparison is done as an unsigned and if we have negative bytes left the loop continues instead of ending.
CVSS Metrics
- v3.1•CRITICAL•Score: 9.4CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H
EPSS Trends
Current EPSS score: 0.75%• Percentile: 53%
Techniques & Countermeasures
- CWE-191•Integer Underflow (Wrap or Wraparound)
The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.
Affected Systems
- debian•linux
all | < 6.1.82-1 | < 6.7.7-1 | < 6.7.7-1
- ubuntu•linux
< 5.4.0-189.209 | < 5.15.0-116.126
- ubuntu•linux-allwinner-5.19
all
- ubuntu•linux-aws
< 5.4.0-1128.138 | < 5.15.0-1065.71
- 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-1065.71~20.04.1
- ubuntu•linux-aws-5.19
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1128.138~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-6.2
all
- ubuntu•linux-aws-6.5
< 6.5.0-1023.23~22.04.1
- ubuntu•linux-aws-fips
< 5.4.0-1128.138+fips1 | all | < 5.15.0-1065.71+fips1
- ubuntu•linux-azure
all | < 5.4.0-1133.140 | < 5.15.0-1068.77
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.15
< 5.15.0-1068.77~20.04.1
- ubuntu•linux-azure-5.19
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1133.140~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-6.2
all
- ubuntu•linux-azure-6.5
< 6.5.0-1024.25~22.04.1
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all | < 5.15.0-1068.77.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
< 5.4.0-1133.140+fips1 | all | < 5.15.0-1068.77+fips1
- ubuntu•linux-bluefield
all | < 5.4.0-1088.95 | < 5.15.0-1047.49
- ubuntu•linux-fips
< 5.4.0-1102.112 | all | < 5.15.0-115.125+fips1
- ubuntu•linux-gcp
all | < 5.4.0-1132.141 | < 5.15.0-1064.72
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.15
< 5.15.0-1065.73~20.04.1
- ubuntu•linux-gcp-5.19
all
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1132.141~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-6.2
all
- ubuntu•linux-gcp-6.5
< 6.5.0-1024.26~22.04.1
- ubuntu•linux-gcp-fips
< 5.4.0-1132.141+fips1 | all | < 5.15.0-1064.72+fips1
- ubuntu•linux-gke
all | < 5.15.0-1062.68
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.15
all
- ubuntu•linux-gke-5.4
all
- ubuntu•linux-gkeop
< 5.4.0-1095.99 | < 5.15.0-1048.55
- ubuntu•linux-gkeop-5.15
< 5.15.0-1048.55~20.04.1
Showing first 50 affected entries in server-rendered view.
References (26)
- https://git.kernel.org/stable/c/7190353835b4a219abb70f90b06cdcae97f11512
- https://git.kernel.org/stable/c/f7ff1c89fb6e9610d2b01c1821727729e6609308
- https://git.kernel.org/stable/c/df2af9fdbc4ddde18a3371c4ca1a86596e8be301
- https://git.kernel.org/stable/c/cffe487026be13eaf37ea28b783d9638ab147204
- https://ubuntu.com/security/CVE-2024-26828
- https://www.cve.org/CVERecord?id=CVE-2024-26828
- https://git.kernel.org/linus/cffe487026be13eaf37ea28b783d9638ab147204
- https://ubuntu.com/security/notices/USN-6895-1
- https://ubuntu.com/security/notices/USN-6896-1
- https://ubuntu.com/security/notices/USN-6898-1
- https://ubuntu.com/security/notices/USN-6895-2
- https://ubuntu.com/security/notices/USN-6896-2
- https://ubuntu.com/security/notices/USN-6898-2
- https://ubuntu.com/security/notices/USN-6900-1
- https://ubuntu.com/security/notices/USN-6896-3
- https://ubuntu.com/security/notices/USN-6895-3
- https://ubuntu.com/security/notices/USN-6898-3
- https://ubuntu.com/security/notices/USN-6896-4
- https://ubuntu.com/security/notices/USN-6896-5
- https://ubuntu.com/security/notices/USN-6898-4
- https://ubuntu.com/security/notices/USN-6917-1
- https://ubuntu.com/security/notices/USN-6919-1
- https://ubuntu.com/security/notices/USN-6927-1
- https://ubuntu.com/security/notices/USN-6895-4
- https://ubuntu.com/security/notices/USN-7019-1
- https://security-tracker.debian.org/tracker/CVE-2024-26828