summaryrefslogtreecommitdiff
path: root/arch/ppc/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2026-03-27 10:52:57 +0100
committerJakub Kicinski <kuba@kernel.org>2026-03-30 17:25:10 -0700
commitfd63f185979b047fb22a0dfc6bd94d0cab6a6a70 (patch)
tree03ed1425ca80db15eb3439070518716e50d63006 /arch/ppc/git@git.tavy.me:linux.git
parentdc9e9d61e301c087bcd990dbf2fa18ad3e2e1429 (diff)
ipv6: prevent possible UaF in addrconf_permanent_addr()
The mentioned helper try to warn the user about an exceptional condition, but the message is delivered too late, accessing the ipv6 after its possible deletion. Reorder the statement to avoid the possible UaF; while at it, place the warning outside the idev->lock as it needs no protection. Reported-by: Jakub Kicinski <kuba@kernel.org> Closes: https://sashiko.dev/#/patchset/8c8bfe2e1a324e501f0e15fef404a77443fd8caf.1774365668.git.pabeni%40redhat.com Fixes: f1705ec197e7 ("net: ipv6: Make address flushing on ifdown optional") Signed-off-by: Paolo Abeni <pabeni@redhat.com> Link: https://patch.msgid.link/ef973c3a8cb4f8f1787ed469f3e5391b9fe95aa0.1774601542.git.pabeni@redhat.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'arch/ppc/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions