{"id":"CVE-2023-52631","aliases":["CVE-2023-52631"],"related":[],"kind":"vulnerability","state":"published","title":"fs/ntfs3: Fix an NULL dereference bug","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: Fix an NULL dereference bug\n\nThe issue here is when this is called from ntfs_load_attr_list().  The\n\"size\" comes from le32_to_cpu(attr->res.data_size) so it can't overflow\non a 64bit systems but on 32bit systems the \"+ 1023\" can overflow and\nthe result is zero.  This means that the kmalloc will succeed by\nreturning the ZERO_SIZE_PTR and then the memcpy() will crash with an\nOops on the next line.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: Fix an NULL dereference bug\n\nThe issue here is when this is called from ntfs_load_attr_list().  The\n\"size\" comes from le32_to_cpu(attr->res.data_size) so it can't overflow\non a 64bit systems but on 32bit systems the \"+ 1023\" can overflow and\nthe result is zero.  This means that the kmalloc will succeed by\nreturning the ZERO_SIZE_PTR and then the memcpy() will crash with an\nOops on the next line.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: fs/ntfs3: corrige un error de desreferencia NULL El problema aquí es cuando se llama desde ntfs_load_attr_list(). El \"tamaño\" proviene de le32_to_cpu(attr-&gt;res.data_size), por lo que no puede desbordarse en sistemas de 64 bits, pero en sistemas de 32 bits el \"+ 1023\" puede desbordarse y el resultado es cero. Esto significa que kmalloc tendrá éxito al devolver ZERO_SIZE_PTR y luego memcpy() fallará con un Ups en la siguiente línea.","source":"nvd"}],"published":"2024-04-02T06:22:07.699Z","modified":"2026-06-17T06:43:12.643Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"be71b5cba2e6485e8959da7a9f9a44461a1bb074","fixed":"ae4acad41b0f93f1c26cc0fc9135bb79d8282d0b","status":"affected"},{"type":"git","introduced":"be71b5cba2e6485e8959da7a9f9a44461a1bb074","fixed":"ec1bedd797588fe38fc11cba26d77bb1d9b194c6","status":"affected"},{"type":"git","introduced":"be71b5cba2e6485e8959da7a9f9a44461a1bb074","fixed":"fb7bcd1722bc9bc55160378f5f99c01198fd14a7","status":"affected"},{"type":"git","introduced":"be71b5cba2e6485e8959da7a9f9a44461a1bb074","fixed":"686820fe141ea0220fc6fdfc7e5694f915cf64b2","status":"affected"},{"type":"git","introduced":"be71b5cba2e6485e8959da7a9f9a44461a1bb074","fixed":"b2dd7b953c25ffd5912dda17e980e7168bebcf6c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.15.149","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.78","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.17","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.5","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":"5.15","fixed":"5.15.149"},{"status":"affected","introduced":"5.16","fixed":"6.1.78"},{"status":"affected","introduced":"6.2","fixed":"6.6.17"},{"status":"affected","introduced":"6.7","fixed":"6.7.5"},{"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/ae4acad41b0f93f1c26cc0fc9135bb79d8282d0b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ec1bedd797588fe38fc11cba26d77bb1d9b194c6","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fb7bcd1722bc9bc55160378f5f99c01198fd14a7","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/686820fe141ea0220fc6fdfc7e5694f915cf64b2","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b2dd7b953c25ffd5912dda17e980e7168bebcf6c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-04-02T15:17:18.815Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52631","url":"https://www.cve.org/CVERecord?id=CVE-2023-52631","licence":"CVE Terms of Use","modified":"2026-05-11T19:30:41.968Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52631","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52631","licence":"Public domain","modified":"2026-06-17T06:43:12.643Z"}],"updatedAt":"2026-11-25T22:58:33.466Z","epss":{"score":0.00225,"percentile":0.14042,"date":"2026-12-01T12:00:22.000Z"}}