{"id":"CVE-2025-38732","aliases":["CVE-2025-38732"],"related":[],"kind":"vulnerability","state":"published","title":"netfilter: nf_reject: don't leak dst refcount for loopback packets","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_reject: don't leak dst refcount for loopback packets\n\nrecent patches to add a WARN() when replacing skb dst entry found an\nold bug:\n\nWARNING: include/linux/skbuff.h:1165 skb_dst_check_unset include/linux/skbuff.h:1164 [inline]\nWARNING: include/linux/skbuff.h:1165 skb_dst_set include/linux/skbuff.h:1210 [inline]\nWARNING: include/linux/skbuff.h:1165 nf_reject_fill_skb_dst+0x2a4/0x330 net/ipv4/netfilter/nf_reject_ipv4.c:234\n[..]\nCall Trace:\n nf_send_unreach+0x17b/0x6e0 net/ipv4/netfilter/nf_reject_ipv4.c:325\n nft_reject_inet_eval+0x4bc/0x690 net/netfilter/nft_reject_inet.c:27\n expr_call_ops_eval net/netfilter/nf_tables_core.c:237 [inline]\n ..\n\nThis is because blamed commit forgot about loopback packets.\nSuch packets already have a dst_entry attached, even at PRE_ROUTING stage.\n\nInstead of checking hook just check if the skb already has a route\nattached to it.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_reject: don't leak dst refcount for loopback packets\n\nrecent patches to add a WARN() when replacing skb dst entry found an\nold bug:\n\nWARNING: include/linux/skbuff.h:1165 skb_dst_check_unset include/linux/skbuff.h:1164 [inline]\nWARNING: include/linux/skbuff.h:1165 skb_dst_set include/linux/skbuff.h:1210 [inline]\nWARNING: include/linux/skbuff.h:1165 nf_reject_fill_skb_dst+0x2a4/0x330 net/ipv4/netfilter/nf_reject_ipv4.c:234\n[..]\nCall Trace:\n nf_send_unreach+0x17b/0x6e0 net/ipv4/netfilter/nf_reject_ipv4.c:325\n nft_reject_inet_eval+0x4bc/0x690 net/netfilter/nft_reject_inet.c:27\n expr_call_ops_eval net/netfilter/nf_tables_core.c:237 [inline]\n ..\n\nThis is because blamed commit forgot about loopback packets.\nSuch packets already have a dst_entry attached, even at PRE_ROUTING stage.\n\nInstead of checking hook just check if the skb already has a route\nattached to it.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnetfilter: nf_reject: no filtrar el contador de referencias dst para paquetes de loopback\n\nparches recientes para añadir un WARN() al reemplazar la entrada dst de skb encontraron un error antiguo:\n\nADVERTENCIA: include/linux/skbuff.h:1165 skb_dst_check_unset include/linux/skbuff.h:1164 [en línea]\nADVERTENCIA: include/linux/skbuff.h:1165 skb_dst_set include/linux/skbuff.h:1210 [en línea]\nADVERTENCIA: include/linux/skbuff.h:1165 nf_reject_fill_skb_dst+0x2a4/0x330 net/ipv4/netfilter/nf_reject_ipv4.c:234\n[..]\nRastro de Llamada:\n nf_send_unreach+0x17b/0x6e0 net/ipv4/netfilter/nf_reject_ipv4.c:325\n nft_reject_inet_eval+0x4bc/0x690 net/netfilter/nft_reject_inet.c:27\n expr_call_ops_eval net/netfilter/nf_tables_core.c:237 [en línea]\n ..\n\nEsto se debe a que el commit en cuestión olvidó los paquetes de loopback.\nDichos paquetes ya tienen una entrada dst adjunta, incluso en la etapa PRE_ROUTING.\n\nEn lugar de verificar el hook, simplemente verifica si el skb ya tiene una ruta adjunta a él.","source":"nvd"}],"published":"2025-09-05T17:20:31.934Z","modified":"2026-11-10T13:17:48.670Z","severity":{"scorer":"NVD","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":"NVD","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":[],"affected":[{"ranges":[{"type":"git","introduced":"f53b9b0bdc59c0823679f2e3214e0d538f5951b9","fixed":"7b8b503c06274ef3c6c1a107743f1ec0d0a53ef8","status":"affected"},{"type":"git","introduced":"f53b9b0bdc59c0823679f2e3214e0d538f5951b9","fixed":"82ef97abf22790182f7d433c74960dfd61b99c33","status":"affected"},{"type":"git","introduced":"f53b9b0bdc59c0823679f2e3214e0d538f5951b9","fixed":"b7a885ba25960c91db237c3f83b4285156789bce","status":"affected"},{"type":"git","introduced":"f53b9b0bdc59c0823679f2e3214e0d538f5951b9","fixed":"a0a3ace2a57887dac1e7c9a724846040c3e31868","status":"affected"},{"type":"git","introduced":"f53b9b0bdc59c0823679f2e3214e0d538f5951b9","fixed":"51e8531371f90bee742c63775c9a568e5d6bf3c5","status":"affected"},{"type":"git","introduced":"f53b9b0bdc59c0823679f2e3214e0d538f5951b9","fixed":"b32e1590a8d22cf7d7f965e46d5576051acf8e42","status":"affected"},{"type":"git","introduced":"f53b9b0bdc59c0823679f2e3214e0d538f5951b9","fixed":"91a79b792204313153e1bdbbe5acbfc28903b3a5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.9","status":"unaffected"},{"type":"semver","introduced":"5.10.241","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.190","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.149","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.103","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.44","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.16.4","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"},{"ranges":[{"status":"affected","introduced":"5.9","fixed":"5.10.241"},{"status":"affected","introduced":"5.11","fixed":"5.15.190"},{"status":"affected","introduced":"5.16","fixed":"6.1.149"},{"status":"affected","introduced":"6.2","fixed":"6.6.103"},{"status":"affected","introduced":"6.7","fixed":"6.12.44"},{"status":"affected","introduced":"6.13","fixed":"6.16.4"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/7b8b503c06274ef3c6c1a107743f1ec0d0a53ef8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/82ef97abf22790182f7d433c74960dfd61b99c33","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b7a885ba25960c91db237c3f83b4285156789bce","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a0a3ace2a57887dac1e7c9a724846040c3e31868","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/51e8531371f90bee742c63775c9a568e5d6bf3c5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b32e1590a8d22cf7d7f965e46d5576051acf8e42","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/91a79b792204313153e1bdbbe5acbfc28903b3a5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T21:08:22.016Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38732","url":"https://www.cve.org/CVERecord?id=CVE-2025-38732","licence":"CVE Terms of Use","modified":"2026-11-10T12:36:42.240Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38732","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38732","licence":"Public domain","modified":"2026-11-10T13:17:48.670Z"}],"updatedAt":"2026-11-25T22:59:04.252Z","epss":{"score":0.00269,"percentile":0.11895,"date":"2026-11-30T12:00:22.000Z"}}