Index: kernel/generic/src/sysinfo/stats.c
===================================================================
--- kernel/generic/src/sysinfo/stats.c	(revision 11909ce3e9ef283a8861cf0ab4dac3ee0e36f170)
+++ kernel/generic/src/sysinfo/stats.c	(revision dfa4be625ce02c0a9d62197b2b62b4c8d6043bf3)
@@ -362,12 +362,7 @@
 	thread_t *thread = thread_first();
 	while (thread != NULL) {
-		/* Interrupts are already disabled */
-		irq_spinlock_lock(&thread->lock, false);
-
 		/* Record the statistics and increment the index */
 		produce_stats_thread(thread, &stats_threads[i]);
 		i++;
-
-		irq_spinlock_unlock(&thread->lock, false);
 
 		thread = thread_next(thread);
@@ -625,11 +620,5 @@
 		ret.data.size = sizeof(stats_thread_t);
 
-		/*
-		 * Replaced hand-over-hand locking with regular nested sections
-		 * to avoid weak reference leak issues.
-		 */
-		irq_spinlock_lock(&thread->lock, false);
 		produce_stats_thread(thread, stats_thread);
-		irq_spinlock_unlock(&thread->lock, false);
 
 		irq_spinlock_unlock(&threads_lock, true);
