{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-26828","id":"CVE-2024-26828","title":"cifs: fix underflow in parse_server_interfaces()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: fix underflow in parse_server_interfaces()\n\nIn this loop, we step through the buffer and after each item we check\nif the size_left is greater than the minimum size we need.  However,\nthe problem is that \"bytes_left\" is type ssize_t while sizeof() is type\nsize_t.  That means that because of type promotion, the comparison is\n","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: fix underflow in parse_server_interfaces()\n\nIn this loop, we step through the buffer and after each item we check\nif the size_left is greater than the minimum size we need.  However,\nthe problem is that \"bytes_left\" is type ssize_t while sizeof() is type\nsize_t.  That means that because of type promotion, the comparison is\ndone as an unsigned and if we have negative bytes left the loop\ncontinues instead of ending.","published":"2024-04-17T09:43:52.995Z","updated":"2026-11-01T02:30:39.006868053Z","reserved":"2024-02-19T14:20:24.181Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":9.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H","rating":"critical","source":"Linux"},"metrics":[{"version":"3.1","score":9.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H","rating":"critical","source":"Linux"},{"version":"3.1","score":9.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H","rating":"critical","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":9.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fe856be475f7cf5ffcde57341d175ce9fd09434b","lessThan":"3babdcb5f1809a9a41e31547a063dedf6bb44cca","status":"affected","versionType":"git"},{"version":"fe856be475f7cf5ffcde57341d175ce9fd09434b","lessThan":"7190353835b4a219abb70f90b06cdcae97f11512","status":"affected","versionType":"git"},{"version":"fe856be475f7cf5ffcde57341d175ce9fd09434b","lessThan":"f7ff1c89fb6e9610d2b01c1821727729e6609308","status":"affected","versionType":"git"},{"version":"fe856be475f7cf5ffcde57341d175ce9fd09434b","lessThan":"df2af9fdbc4ddde18a3371c4ca1a86596e8be301","status":"affected","versionType":"git"},{"version":"fe856be475f7cf5ffcde57341d175ce9fd09434b","lessThan":"cffe487026be13eaf37ea28b783d9638ab147204","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.18","status":"affected"},{"version":"0","lessThan":"4.18","status":"unaffected","versionType":"semver"},{"version":"5.15.224","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.79","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.18","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.7.6","lessThanOrEqual":"6.7.*","status":"unaffected","versionType":"semver"},{"version":"6.8","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-191"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/3babdcb5f1809a9a41e31547a063dedf6bb44cca","tags":["web"]},{"url":"https://git.kernel.org/stable/c/7190353835b4a219abb70f90b06cdcae97f11512","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/f7ff1c89fb6e9610d2b01c1821727729e6609308","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/df2af9fdbc4ddde18a3371c4ca1a86596e8be301","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/cffe487026be13eaf37ea28b783d9638ab147204","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26828.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26828","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00754,"epssPercentile":0.55878,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-26828","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26828","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-26828","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-26828","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}