{"id":"CVE-2024-26828","aliases":["CVE-2024-26828"],"related":[],"kind":"vulnerability","state":"published","title":"cifs: fix underflow in parse_server_interfaces()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: cifs: corrige el desbordamiento insuficiente en parse_server_interfaces() En este bucle, recorremos el búfer y después de cada elemento comprobamos si size_left es mayor que el tamaño mínimo que necesitamos. Sin embargo, el problema es que \"bytes_left\" es del tipo ssize_t mientras que sizeof() es del tipo size_t. Eso significa que debido a la promoción de tipo, la comparación se realiza sin firmar y si nos quedan bytes negativos, el ciclo continúa en lugar de finalizar.","source":"nvd"}],"published":"2024-04-17T09:43:52.995Z","modified":"2026-10-30T13:17:22.047Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H","score":9.4,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H","score":9.4,"rating":"CRITICAL"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:H","score":6.7,"rating":"MEDIUM"}],"cwes":["CWE-191"],"affected":[{"ranges":[{"type":"git","introduced":"fe856be475f7cf5ffcde57341d175ce9fd09434b","fixed":"3babdcb5f1809a9a41e31547a063dedf6bb44cca","status":"affected"},{"type":"git","introduced":"fe856be475f7cf5ffcde57341d175ce9fd09434b","fixed":"7190353835b4a219abb70f90b06cdcae97f11512","status":"affected"},{"type":"git","introduced":"fe856be475f7cf5ffcde57341d175ce9fd09434b","fixed":"f7ff1c89fb6e9610d2b01c1821727729e6609308","status":"affected"},{"type":"git","introduced":"fe856be475f7cf5ffcde57341d175ce9fd09434b","fixed":"df2af9fdbc4ddde18a3371c4ca1a86596e8be301","status":"affected"},{"type":"git","introduced":"fe856be475f7cf5ffcde57341d175ce9fd09434b","fixed":"cffe487026be13eaf37ea28b783d9638ab147204","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.18","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.79","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.18","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.6","lastAffected":"6.7.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.8","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.18","fixed":"6.1.79"},{"status":"affected","introduced":"6.2","fixed":"6.6.18"},{"status":"affected","introduced":"6.7","fixed":"6.7.6"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/3babdcb5f1809a9a41e31547a063dedf6bb44cca","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7190353835b4a219abb70f90b06cdcae97f11512","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f7ff1c89fb6e9610d2b01c1821727729e6609308","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/df2af9fdbc4ddde18a3371c4ca1a86596e8be301","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cffe487026be13eaf37ea28b783d9638ab147204","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-12T17:36:16.490Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-26828","url":"https://www.cve.org/CVERecord?id=CVE-2024-26828","licence":"CVE Terms of Use","modified":"2026-10-30T12:17:52.665Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-26828","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26828","licence":"Public domain","modified":"2026-10-30T13:17:22.047Z"}],"updatedAt":"2026-11-25T22:58:39.340Z","epss":{"score":0.00754,"percentile":0.5631,"date":"2026-12-01T12:00:22.000Z"}}