{"id":"CVE-2023-53075","aliases":["CVE-2023-53075"],"related":[],"kind":"vulnerability","state":"published","title":"ftrace: Fix invalid address access in lookup_rec() when index is 0","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nftrace: Fix invalid address access in lookup_rec() when index is 0\n\nKASAN reported follow problem:\n\n BUG: KASAN: use-after-free in lookup_rec\n Read of size 8 at addr ffff000199270ff0 by task modprobe\n CPU: 2 Comm: modprobe\n Call trace:\n  kasan_report\n  __asan_load8\n  lookup_rec\n  ftrace_location\n  arch_check_ftrace_location\n  check_kprobe_address_safe\n  register_kprobe\n\nWhen checking pg->records[pg->index - 1].ip in lookup_rec(), it can get a\npg which is newly added to ftrace_pages_start in ftrace_process_locs().\nBefore the first pg->index++, index is 0 and accessing pg->records[-1].ip\nwill cause this problem.\n\nDon't check the ip when pg->index is 0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nftrace: Fix invalid address access in lookup_rec() when index is 0\n\nKASAN reported follow problem:\n\n BUG: KASAN: use-after-free in lookup_rec\n Read of size 8 at addr ffff000199270ff0 by task modprobe\n CPU: 2 Comm: modprobe\n Call trace:\n  kasan_report\n  __asan_load8\n  lookup_rec\n  ftrace_location\n  arch_check_ftrace_location\n  check_kprobe_address_safe\n  register_kprobe\n\nWhen checking pg->records[pg->index - 1].ip in lookup_rec(), it can get a\npg which is newly added to ftrace_pages_start in ftrace_process_locs().\nBefore the first pg->index++, index is 0 and accessing pg->records[-1].ip\nwill cause this problem.\n\nDon't check the ip when pg->index is 0.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ftrace: Se corrige el acceso a direcciones no válidas en lookup_rec() cuando el índice es 0 KASAN informó el siguiente problema: BUG: KASAN: use-after-free en lookup_rec Lectura de tamaño 8 en la dirección ffff000199270ff0 por la tarea modprobe CPU: 2 Comm: modprobe Rastreo de llamadas: kasan_report __asan_load8 lookup_rec ftrace_location arch_check_ftrace_location check_kprobe_address_safe register_kprobe Al verificar pg-&gt;records[pg-&gt;index - 1].ip en lookup_rec(), puede obtener un pg que se agregó recientemente a ftrace_pages_start en ftrace_process_locs(). Antes del primer pg-&gt;index++, el índice es 0 y acceder a pg-&gt;records[-1].ip causará este problema. No verifique la IP cuando pg-&gt;index sea 0.","source":"nvd"}],"published":"2025-05-02T15:55:26.023Z","modified":"2026-11-05T21:17:11.180Z","severity":{"scorer":"NVD","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":"NVD","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":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"9644302e3315e7e36495d230d5ac7125a316d33e","fixed":"2de28e5ce34b22b73b833a21e2c45ae3aade3964","status":"affected"},{"type":"git","introduced":"9644302e3315e7e36495d230d5ac7125a316d33e","fixed":"7569ee04b0e3b32df79f64db3a7138573edad9bc","status":"affected"},{"type":"git","introduced":"9644302e3315e7e36495d230d5ac7125a316d33e","fixed":"ac58b88ccbbb8e9fb83e137cee04a856b1ea6635","status":"affected"},{"type":"git","introduced":"9644302e3315e7e36495d230d5ac7125a316d33e","fixed":"83c3b2f4e7c61367c7b24551f4c6eb94bbdda283","status":"affected"},{"type":"git","introduced":"9644302e3315e7e36495d230d5ac7125a316d33e","fixed":"2a0d71fabfeb349216d33f001a6421b1768bd3a9","status":"affected"},{"type":"git","introduced":"9644302e3315e7e36495d230d5ac7125a316d33e","fixed":"4f84f31f63416b0f02fc146ffdc4ab32723eb7e8","status":"affected"},{"type":"git","introduced":"9644302e3315e7e36495d230d5ac7125a316d33e","fixed":"f1bd8b7fd890d87d0dc4dedc6287ea34dd07c0b4","status":"affected"},{"type":"git","introduced":"9644302e3315e7e36495d230d5ac7125a316d33e","fixed":"ee92fa443358f4fc0017c1d0d325c27b37802504","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.5","status":"unaffected"},{"type":"semver","introduced":"4.14.311","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.279","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.238","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.176","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.104","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.21","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.8","lastAffected":"6.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.3","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":"3.5","fixed":"4.14.311"},{"status":"affected","introduced":"4.15","fixed":"4.19.279"},{"status":"affected","introduced":"4.20","fixed":"5.4.238"},{"status":"affected","introduced":"5.5","fixed":"5.10.176"},{"status":"affected","introduced":"5.11","fixed":"5.15.104"},{"status":"affected","introduced":"5.16","fixed":"6.1.21"},{"status":"affected","introduced":"6.2","fixed":"6.2.8"},{"status":"affected","version":"6.3"},{"status":"affected","version":"6.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/2de28e5ce34b22b73b833a21e2c45ae3aade3964","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7569ee04b0e3b32df79f64db3a7138573edad9bc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ac58b88ccbbb8e9fb83e137cee04a856b1ea6635","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/83c3b2f4e7c61367c7b24551f4c6eb94bbdda283","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2a0d71fabfeb349216d33f001a6421b1768bd3a9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4f84f31f63416b0f02fc146ffdc4ab32723eb7e8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f1bd8b7fd890d87d0dc4dedc6287ea34dd07c0b4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ee92fa443358f4fc0017c1d0d325c27b37802504","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:16:30.131Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53075","url":"https://www.cve.org/CVERecord?id=CVE-2023-53075","licence":"CVE Terms of Use","modified":"2026-11-05T20:20:58.969Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53075","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53075","licence":"Public domain","modified":"2026-11-05T21:17:11.180Z"}],"updatedAt":"2026-11-25T22:58:34.651Z","epss":{"score":0.00211,"percentile":0.1199,"date":"2026-12-01T12:00:22.000Z"}}