{"id":"CVE-2025-39975","aliases":["CVE-2025-39975"],"related":[],"kind":"vulnerability","state":"published","title":"smb: client: fix wrong index reference in smb2_compound_op()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix wrong index reference in smb2_compound_op()\n\nIn smb2_compound_op(), the loop that processes each command's response\nuses wrong indices when accessing response bufferes.\n\nThis incorrect indexing leads to improper handling of command results.\nAlso, if incorrectly computed index is greather than or equal to\nMAX_COMPOUND, it can cause out-of-bounds accesses.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix wrong index reference in smb2_compound_op()\n\nIn smb2_compound_op(), the loop that processes each command's response\nuses wrong indices when accessing response bufferes.\n\nThis incorrect indexing leads to improper handling of command results.\nAlso, if incorrectly computed index is greather than or equal to\nMAX_COMPOUND, it can cause out-of-bounds accesses.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nsmb: cliente: corrige referencia de índice incorrecta en smb2_compound_op()\n\nEn smb2_compound_op(), el bucle que procesa la respuesta de cada comando usa índices incorrectos al acceder a los búferes de respuesta.\n\nEsta indexación incorrecta lleva a un manejo inadecuado de los resultados del comando. Además, si el índice calculado incorrectamente es mayor o igual que MAX_COMPOUND, puede causar accesos fuera de límites.","source":"nvd"}],"published":"2025-10-15T07:55:56.951Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"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:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5ddcc9e92d54548219985ce4de88618fb53e14ec","fixed":"ba7bcfd52c66dd1c2dfa5142aca7e4a70b62dfa5","status":"affected"},{"type":"git","introduced":"efe8db3ecaa40a8520dc9a54283dcecd82ceea9c","fixed":"bfb1e2aad1fecef8320fd71332acde0d53a8d699","status":"affected"},{"type":"git","introduced":"3681c74d342db75b0d641ba60de27bf73e16e66b","fixed":"093615fc76063ea08d454ba86677ce64c736e806","status":"affected"},{"type":"git","introduced":"3681c74d342db75b0d641ba60de27bf73e16e66b","fixed":"fbe2dc6a9c7318f7263f5e4d50f6272b931c5756","status":"affected"},{"type":"git","version":"77aefd1d9b790f60634adebbdcfffbe934f41c34","status":"affected"},{"type":"semver","introduced":"6.6.75","fixed":"6.6.109","status":"affected"},{"type":"semver","introduced":"6.12.12","fixed":"6.12.50","status":"affected"},{"type":"semver","introduced":"6.13.1","fixed":"6.14","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"6.6.109","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.50","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.16.10","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ba7bcfd52c66dd1c2dfa5142aca7e4a70b62dfa5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bfb1e2aad1fecef8320fd71332acde0d53a8d699","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/093615fc76063ea08d454ba86677ce64c736e806","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fbe2dc6a9c7318f7263f5e4d50f6272b931c5756","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39975","url":"https://www.cve.org/CVERecord?id=CVE-2025-39975","licence":"CVE Terms of Use","modified":"2026-08-05T12:06:43.934Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39975","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39975","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:06.398Z","epss":{"score":0.00467,"percentile":0.421,"date":"2026-12-01T12:00:22.000Z"}}