{"id":"CVE-2025-68212","aliases":["CVE-2025-68212"],"related":[],"kind":"vulnerability","state":"published","title":"fs: Fix uninitialized 'offp' in statmount_string()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs: Fix uninitialized 'offp' in statmount_string()\n\nIn statmount_string(), most flags assign an output offset pointer (offp)\nwhich is later updated with the string offset. However, the\nSTATMOUNT_MNT_UIDMAP and STATMOUNT_MNT_GIDMAP cases directly set the\nstruct fields instead of using offp. This leaves offp uninitialized,\nleading to a possible uninitialized dereference when *offp is updated.\n\nFix it by assigning offp for UIDMAP and GIDMAP as well, keeping the code\npath consistent.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs: Fix uninitialized 'offp' in statmount_string()\n\nIn statmount_string(), most flags assign an output offset pointer (offp)\nwhich is later updated with the string offset. However, the\nSTATMOUNT_MNT_UIDMAP and STATMOUNT_MNT_GIDMAP cases directly set the\nstruct fields instead of using offp. This leaves offp uninitialized,\nleading to a possible uninitialized dereference when *offp is updated.\n\nFix it by assigning offp for UIDMAP and GIDMAP as well, keeping the code\npath consistent.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nfs: Corrección de 'offp' no inicializado en statmount_string()\n\nEn statmount_string(), la mayoría de las banderas asignan un puntero de desplazamiento de salida (offp) que luego se actualiza con el desplazamiento de la cadena. Sin embargo, los casos STATMOUNT_MNT_UIDMAP y STATMOUNT_MNT_GIDMAP establecen directamente los campos de la estructura en lugar de usar offp. Esto deja a offp sin inicializar, lo que lleva a una posible desreferencia no inicializada cuando offp se actualiza.\n\nCorríjalo asignando offp también para UIDMAP y GIDMAP, manteniendo la ruta del código consistente.","source":"nvd"}],"published":"2025-12-16T13:57:08.327Z","modified":"2026-10-14T13:10:00.187Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"37c4a9590e1efcae7749682239fc22a330d2d325","fixed":"acfde9400e611c8d2668f1c70053c4a1d6ecfc36","status":"affected"},{"type":"git","introduced":"37c4a9590e1efcae7749682239fc22a330d2d325","fixed":"0778ac7df5137d5041783fadfc201f8fd55a1d9b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.17.10","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","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/acfde9400e611c8d2668f1c70053c4a1d6ecfc36","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0778ac7df5137d5041783fadfc201f8fd55a1d9b","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68212","url":"https://www.cve.org/CVERecord?id=CVE-2025-68212","licence":"CVE Terms of Use","modified":"2026-08-05T12:10:14.921Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68212","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68212","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:09.496Z","epss":{"score":0.00155,"percentile":0.04824,"date":"2026-12-01T12:00:22.000Z"}}