{"id":"CVE-2024-26828","published":"2024-04-17T09:43:52Z","modified":"2026-10-30T12:17:52Z","title":"cifs: fix underflow in parse_server_interfaces()","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00754,"percentile":0.5601,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/3babdcb5f1809a9a41e31547a063dedf6bb44cca","tags":[]},{"url":"https://git.kernel.org/stable/c/7190353835b4a219abb70f90b06cdcae97f11512","tags":[]},{"url":"https://git.kernel.org/stable/c/f7ff1c89fb6e9610d2b01c1821727729e6609308","tags":[]},{"url":"https://git.kernel.org/stable/c/df2af9fdbc4ddde18a3371c4ca1a86596e8be301","tags":[]},{"url":"https://git.kernel.org/stable/c/cffe487026be13eaf37ea28b783d9638ab147204","tags":[]}],"priority":{"score":17.8,"factors":[{"name":"EPSS percentile","points":11.2},{"name":"CVSS severity","points":6.58}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= fe856be475f7cf5ffcde57341d175ce9fd09434b, < 3babdcb5f1809a9a41e31547a063dedf6bb44cca",">= fe856be475f7cf5ffcde57341d175ce9fd09434b, < 7190353835b4a219abb70f90b06cdcae97f11512",">= fe856be475f7cf5ffcde57341d175ce9fd09434b, < f7ff1c89fb6e9610d2b01c1821727729e6609308",">= fe856be475f7cf5ffcde57341d175ce9fd09434b, < df2af9fdbc4ddde18a3371c4ca1a86596e8be301",">= fe856be475f7cf5ffcde57341d175ce9fd09434b, < cffe487026be13eaf37ea28b783d9638ab147204"]},{"vendor":"Linux","product":"Linux","versions":["4.18"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-12T17:36:16.490979Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-24090","exploited":false,"provenance":"source"}}