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: <aLh2-4qZe92l7TwX@yury>
Date: Wed, 3 Sep 2025 13:12:35 -0400
From: Yury Norov <yury.norov@...il.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>,
	linux-kernel@...r.kernel.org
Subject: [GIT PULL] bitmap fix for 6.17-rc5

Hi Linus,

Please pull the NULL dereference fix for sched_numa_find_nth_cpu().

Thanks,
Yury

The following changes since commit e6b9dce0aeeb91dfc0974ab87f02454e24566182:

  Merge tag 'sound-6.17-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound (2025-09-02 13:38:07 -0700)

are available in the Git repository at:

  https://github.com/norov/linux.git tags/bitmap-for-6.17-rc5

for you to fetch changes up to 5ebf512f335053a42482ebff91e46c6dc156bf8c:

  sched: Fix sched_numa_find_nth_cpu() if mask offline (2025-09-03 12:20:06 -0400)

----------------------------------------------------------------
bitmap-for-6.17-rc5

sched_numa_find_nth_cpu() uses a bsearch to look for the 'closest'
CPU in sched_domains_numa_masks and given cpus mask. However they
might not intersect if all CPUs in the cpus mask are offline. bsearch
will return NULL in that case, bail out instead of dereferencing a
bogus pointer.

----------------------------------------------------------------
Christian Loehle (1):
      sched: Fix sched_numa_find_nth_cpu() if mask offline

 kernel/sched/topology.c | 2 ++
 1 file changed, 2 insertions(+)


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ