{"id":"CVE-2023-54243","aliases":["CVE-2023-54243"],"related":[],"kind":"vulnerability","state":"published","title":"netfilter: ebtables: fix table blob use-after-free","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: ebtables: fix table blob use-after-free\n\nWe are not allowed to return an error at this point.\nLooking at the code it looks like ret is always 0 at this\npoint, but its not.\n\nt = find_table_lock(net, repl->name, &ret, &ebt_mutex);\n\n... this can return a valid table, with ret != 0.\n\nThis bug causes update of table->private with the new\nblob, but then frees the blob right away in the caller.\n\nSyzbot report:\n\nBUG: KASAN: vmalloc-out-of-bounds in __ebt_unregister_table+0xc00/0xcd0 net/bridge/netfilter/ebtables.c:1168\nRead of size 4 at addr ffffc90005425000 by task kworker/u4:4/74\nWorkqueue: netns cleanup_net\nCall Trace:\n kasan_report+0xbf/0x1f0 mm/kasan/report.c:517\n __ebt_unregister_table+0xc00/0xcd0 net/bridge/netfilter/ebtables.c:1168\n ebt_unregister_table+0x35/0x40 net/bridge/netfilter/ebtables.c:1372\n ops_exit_list+0xb0/0x170 net/core/net_namespace.c:169\n cleanup_net+0x4ee/0xb10 net/core/net_namespace.c:613\n...\n\nip(6)tables appears to be ok (ret should be 0 at this point) but make\nthis more obvious.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: ebtables: fix table blob use-after-free\n\nWe are not allowed to return an error at this point.\nLooking at the code it looks like ret is always 0 at this\npoint, but its not.\n\nt = find_table_lock(net, repl->name, &ret, &ebt_mutex);\n\n... this can return a valid table, with ret != 0.\n\nThis bug causes update of table->private with the new\nblob, but then frees the blob right away in the caller.\n\nSyzbot report:\n\nBUG: KASAN: vmalloc-out-of-bounds in __ebt_unregister_table+0xc00/0xcd0 net/bridge/netfilter/ebtables.c:1168\nRead of size 4 at addr ffffc90005425000 by task kworker/u4:4/74\nWorkqueue: netns cleanup_net\nCall Trace:\n kasan_report+0xbf/0x1f0 mm/kasan/report.c:517\n __ebt_unregister_table+0xc00/0xcd0 net/bridge/netfilter/ebtables.c:1168\n ebt_unregister_table+0x35/0x40 net/bridge/netfilter/ebtables.c:1372\n ops_exit_list+0xb0/0x170 net/core/net_namespace.c:169\n cleanup_net+0x4ee/0xb10 net/core/net_namespace.c:613\n...\n\nip(6)tables appears to be ok (ret should be 0 at this point) but make\nthis more obvious.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnetfilter: ebtables: corregir uso después de liberación de blob de tabla\n\nNo se nos permite devolver un error en este punto.\nAl mirar el código parece que ret siempre es 0 en este\npunto, pero no lo es.\n\nt = find_table_lock(net, repl-&gt;name, &amp;ret, &amp;ebt_mutex);\n\n... esto puede devolver una tabla válida, con ret != 0.\n\nEste error causa la actualización de table-&gt;private con el nuevo\nblob, pero luego libera el blob inmediatamente en el llamador.\n\nInforme de Syzbot:\n\nERROR: KASAN: vmalloc-fuera-de-límites en __ebt_unregister_table+0xc00/0xcd0 net/bridge/netfilter/ebtables.c:1168\nLectura de tamaño 4 en la dirección ffffc90005425000 por la tarea kworker/u4:4/74\nCola de trabajo: netns cleanup_net\nTraza de llamada:\n kasan_report+0xbf/0x1f0 mm/kasan/report.c:517\n __ebt_unregister_table+0xc00/0xcd0 net/bridge/netfilter/ebtables.c:1168\n ebt_unregister_table+0x35/0x40 net/bridge/netfilter/ebtables.c:1372\n ops_exit_list+0xb0/0x170 net/core/net_namespace.c:169\n cleanup_net+0x4ee/0xb10 net/core/net_namespace.c:613\n...\n\nip(6)tables parece estar bien (ret debería ser 0 en este punto) pero hacer\nesto más obvio.","source":"nvd"}],"published":"2025-12-30T12:11:31.180Z","modified":"2026-10-15T22:17:56.480Z","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":"c58dd2dd443c26d856a168db108a0cd11c285bf3","fixed":"9060abce3305ab2354c892c09d5689df51486df5","status":"affected"},{"type":"git","introduced":"c58dd2dd443c26d856a168db108a0cd11c285bf3","fixed":"dbb3cbbf03b3c52cb390fabec357f1e4638004f5","status":"affected"},{"type":"git","introduced":"c58dd2dd443c26d856a168db108a0cd11c285bf3","fixed":"3dd6ac973351308d4117eda32298a9f1d68764fd","status":"affected"},{"type":"git","introduced":"c58dd2dd443c26d856a168db108a0cd11c285bf3","fixed":"cda0e0243bd3c04008fcd37a46b0269fb3c49249","status":"affected"},{"type":"git","introduced":"c58dd2dd443c26d856a168db108a0cd11c285bf3","fixed":"e58a171d35e32e6e8c37cfe0e8a94406732a331f","status":"affected"},{"type":"git","version":"a3bc0f8ea439762aa62d40a295157410498cbea7","status":"affected"},{"type":"git","version":"8ed40c122919cd79bc3c059e5864e5e7d9d455f0","status":"affected"},{"type":"git","version":"c5e4ef499cfc78de45a4f01b8c557b5964d77c53","status":"affected"},{"type":"git","version":"f34728610b2a8c7b9864f9404f2884c17f6fca5c","status":"affected"},{"type":"git","version":"8b5740915a9faa8b1fa9166193a33e2a9ae30ec6","status":"affected"},{"type":"semver","introduced":"3.2.60","fixed":"3.3","status":"affected"},{"type":"semver","introduced":"3.4.91","fixed":"3.5","status":"affected"},{"type":"semver","introduced":"3.10.41","fixed":"3.11","status":"affected"},{"type":"semver","introduced":"3.12.21","fixed":"3.13","status":"affected"},{"type":"semver","introduced":"3.14.5","fixed":"3.15","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.15","status":"unaffected"},{"type":"semver","introduced":"5.10.173","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.100","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.18","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.5","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"}],"references":[{"url":"https://git.kernel.org/stable/c/9060abce3305ab2354c892c09d5689df51486df5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dbb3cbbf03b3c52cb390fabec357f1e4638004f5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3dd6ac973351308d4117eda32298a9f1d68764fd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cda0e0243bd3c04008fcd37a46b0269fb3c49249","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e58a171d35e32e6e8c37cfe0e8a94406732a331f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:39:46.179Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54243","url":"https://www.cve.org/CVERecord?id=CVE-2023-54243","licence":"CVE Terms of Use","modified":"2026-10-15T21:41:43.012Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54243","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54243","licence":"Public domain","modified":"2026-10-15T22:17:56.480Z"}],"updatedAt":"2026-11-25T22:58:35.240Z","epss":{"score":0.00161,"percentile":0.05468,"date":"2026-12-01T12:00:22.000Z"}}