Kernel Affinity Race Condition in Linux Package - CVE-2024-41932

linux Updated 02 Oct 2025

Summary

11/01/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-41932: In the Linux kernel, the following vulnerability has been resolved: sched: fix warning in sched_setaffinity Commit 8f9ea86fdf99b added some logic to sched_setaffinity that included a WARN when a per-task affinity assignm... Affects linux versions < 6.12.5-1. Fixed in 6.12.5-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is a core component of the operating system that manages hardware and system resources. It provides essential services for all other parts of the system, including process management, memory management, and device control. The kernel is critical for system stability and performance, and vulnerabilities within it can lead to severe security risks or system instability. This specific vulnerability affects the scheduling mechanism of the kernel, particularly in how it handles CPU affinity for tasks within cpuset cgroups.

Vulnerability Detail

In the Linux kernel, a vulnerability was identified in the sched_setaffinity function, which is responsible for setting the CPU affinity of tasks. A race condition can occur when a task's affinity assignment conflicts with an update to its cpuset. This situation can lead to a warning being triggered when the requested task affinity does not overlap with the cpuset mask. This warning is unnecessary and can be easily reproduced under certain conditions, potentially leading to confusion and mismanagement of task scheduling.

How To Fix

Minimum fixed version

6.12.5-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. However, users can avoid triggering the warning by ensuring that task affinity settings do not conflict with cpuset updates.

Conclusion

CVE-2024-41932 is a vulnerability in the Linux kernel that arises from a race condition in the task scheduling mechanism. While it does not pose a direct security risk, it can lead to unnecessary warnings that may confuse users. Updating to the patched version of the Linux kernel is the recommended course of action to resolve this issue.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2024-41932 is a vulnerability in the Linux kernel related to a race condition in the sched_setaffinity function, which can lead to unnecessary warnings during task scheduling.

While this vulnerability does not pose a direct security threat, it can lead to confusion in task scheduling and may affect system performance.

If you encounter the warning, it is advisable to update your Linux kernel to the patched version to eliminate the unnecessary warning.

Yes, you can use Vulert, which monitors open-source vulnerabilities in your software using a manifest file like package-lock.json. You can check for vulnerabilities in your application using the Vulert playground without any signup.

Regularly updating your system and its packages, monitoring for vulnerabilities, and following best security practices can help keep your system secure.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.5-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback