CVE-2010-4248: Race Condition

Published Nov 23, 2010
·
Updated

Last updated 24 July 2024

Other sources

posix-cpu-timers: workaround to suppress the problems with mt exec posix-cpu-timers.c correctly assumes that the dying process does posixcputimersexitgroup() and removes all !CPUCLOCKPERTHREAD timers from signal->cputimers list. But, it also assumes that timer->it.cpu.task is always the group leader, and thus the dead ->task means the dead thread group. This is obviously not true after dethread() changes the leader. After that almost every posixcputimer method has problems. It is not simple to fix this bug correctly. First of all, I think that timer->it.cpu should use struct pid instead of taskstruct. Also, the locking should be reworked completely. In particular, tasklistlock should not be used at all. This all needs a lot of nontrivial and hard-to-test changes. Change exitsignal() to do posixcputimersexitgroup() when the old leader dies during exec. This is not the fix, just the temporary hack to hide the problem for 2.6.37 and stable. IOW, this is obviously wrong but this is what we currently have anyway: cpu timers do not work after mt exec. In theory this change adds another race. The exiting leader can detach the timers which were attached to the new leader. However, the window between dethread() and releasetask() is small, we can pretend that systimercreate() was called before dethread().

Upstream commit: http://git.kernel.org/linus/e0a70217107e6f9844628120412cb27bb4cea194

Red Hat

Race condition in the exitsignal function in kernel/exit.c in the L ...

Debian

Affected Software

5 affected components
Linux Linux kernel=2.6.37-rc1
Linux Linux kernel<2.6.37
Linux Linux kernel=2.6.37
debian/linux-2.6
debian/user-mode-linux

Event History

Nov 23, 2010
Data Sourced
via Red Hat·11:16 AM
DescriptionSeverityAffected Software
Nov 30, 2010
CVE Published
via MITRE·09:19 PM
Data Sourced
via MITRE·09:19 PM
Description
Jan 19, 2024
Data Sourced
via Launchpad·09:58 PM
Description
Sep 19, 2024
Data Sourced
via Ubuntu·10:43 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2010-4248?

CVE-2010-4248 has a medium severity rating due to its potential impact on system performance.

2

How do I fix CVE-2010-4248?

To fix CVE-2010-4248, update your Linux kernel to version 2.6.37 or higher.

3

Which software versions are affected by CVE-2010-4248?

CVE-2010-4248 affects Linux Kernel versions prior to 2.6.37 and user-mode-linux.

4

What is the nature of the vulnerability described in CVE-2010-4248?

CVE-2010-4248 is a vulnerability in posix-cpu-timers that improperly manages CPU timers for processes.

5

Is CVE-2010-4248 exploitable in production environments?

Yes, CVE-2010-4248 can potentially be exploited in production environments, affecting system resources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203