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-next>] [day] [month] [year] [list]
Message-ID: <20251028165059.682306-1-bvanassche@acm.org>
Date: Tue, 28 Oct 2025 09:50:56 -0700
From: Bart Van Assche <bvanassche@....org>
To: Ingo Molnar <mingo@...hat.com>
Cc: linux-kernel@...r.kernel.org,
	Peter Zijlstra <peterz@...radead.org>,
	Bart Van Assche <bvanassche@....org>
Subject: [PATCH 0/2] Restore and fix SCHED_WARN_ON()

Hi Ingo,

Using WARN_ON_ONCE() or any other code that calls console_lock() from the
process scheduler may trigger lock inversion. This patch series fixes this
by restoring the SCHED_WARN_ON() macro and by changing its implementation.

Please consider this patch series for the next merge window.

Thanks,

Bart.

Bart Van Assche (2):
  Revert "sched/debug: Change SCHED_WARN_ON() to WARN_ON_ONCE()"
  Fix SCHED_WARN_ON()

 kernel/sched/core.c       | 22 ++++++++--------
 kernel/sched/core_sched.c |  2 +-
 kernel/sched/deadline.c   | 12 ++++-----
 kernel/sched/ext.c        |  2 +-
 kernel/sched/fair.c       | 54 +++++++++++++++++++--------------------
 kernel/sched/rt.c         |  2 +-
 kernel/sched/sched.h      | 26 +++++++++++++++----
 kernel/sched/stats.h      |  2 +-
 8 files changed, 69 insertions(+), 53 deletions(-)


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ