{"id":"CVE-2024-26828","revision":"5f5ec756f227418f93d539682b1b1753","records":[{"revision":"5f5ec756f227418f93d539682b1b1753","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2024-26828","aliases":[],"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\ndone as an unsigned and if we have negative bytes left the loop\ncontinues instead of ending.","state":0,"publishedAt":"2024-04-17T09:43:52.995+00:00","modifiedAt":"2026-08-05T11:27:41.706+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/smb/client/smb2ops.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"fe856be475f7cf5ffcde57341d175ce9fd09434b\",\n                            \"lessThan\": \"7190353835b4a219abb70f90b06cdcae97f11512\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"fe856be475f7cf5ffcde57341d175ce9fd09434b\",\n                            \"lessThan\": \"f7ff1c89fb6e9610d2b01c1821727729e6609308\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"fe856be475f7cf5ffcde57341d175ce9fd09434b\",\n                            \"lessThan\": \"df2af9fdbc4ddde18a3371c4ca1a86596e8be301\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"fe856be475f7cf5ffcde57341d175ce9fd09434b\",\n                            \"lessThan\": \"cffe487026be13eaf37ea28b783d9638ab147204\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/smb/client/smb2ops.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"4.18\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"4.18\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.79\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.18\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.7.6\",\n                            \"lessThanOrEqual\": \"6.7.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.8\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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,"severity":"CRITICAL"}],"references":["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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-26828","license":"CVE Program Terms of Use","key":"cve-program:CVE-2024-26828","identifiers":["CVE-2024-26828"]},"retained":false,"historicalAffected":[]}],"coverage":[]}