lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <696cdeb7.050a0220.3390f1.001d.GAE@google.com>
Date: Sun, 18 Jan 2026 05:23:03 -0800
From: syzbot <syzbot+df52f4216bf7b4d768e7@...kaller.appspotmail.com>
To: linux-kernel@...r.kernel.org
Subject: Forwarded: Testing for netrom: fix KASAN slab-use-after-free in nr_dec_obs()

For archival purposes, forwarding an incoming command email to
linux-kernel@...r.kernel.org.

***

Subject: Testing for netrom: fix KASAN slab-use-after-free in nr_dec_obs()
Author: activprithvi@...il.com

#syz test upstream be548645527a131a097fdc884b7fca40c8b86231

Signed-off-by: Prithvi Tambewagh <activprithvi@...il.com>
---
 net/netrom/nr_route.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net/netrom/nr_route.c b/net/netrom/nr_route.c
index b94cb2ffbaf8..f84227acbf68 100644
--- a/net/netrom/nr_route.c
+++ b/net/netrom/nr_route.c
@@ -466,10 +466,12 @@ static int nr_dec_obs(void)
 				nr_neigh = s->routes[i].neighbour;
 
 				nr_neigh->count--;
-				nr_neigh_put(nr_neigh);
 
 				if (nr_neigh->count == 0 && !nr_neigh->locked)
 					nr_remove_neigh(nr_neigh);
+				else
+					nr_neigh_put(nr_neigh);
+
 
 				s->count--;
 

base-commit: be548645527a131a097fdc884b7fca40c8b86231
-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ