mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yury Norov <yury.norov@gmail.com>
To: Linus Torvalds <torvalds@linux-foundation.org>,
	linux-kernel@vger.kernel.org
Subject: [GIT PULL] bitmap fix for 6.17-rc5
Date: Wed, 3 Sep 2025 13:12:35 -0400	[thread overview]
Message-ID: <aLh2-4qZe92l7TwX@yury> (raw)

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(+)


             reply	other threads:[~2025-09-03 17:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-03 17:12 Yury Norov [this message]
2025-09-03 19:11 ` pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aLh2-4qZe92l7TwX@yury \
    --to=yury.norov@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®