CVE-2011-2183: Null Pointer Dereference

Published Jun 3, 2011
·
Updated

Andrea Righi reported a case where an exiting task can race against ksmd.

ksmscan.mmslot == the only registered mm CPU 1 (bug program) CPU 2 (ksmd) listempty() is false lock ksmscan.mmslot listdel unlock slot == &ksmmmhead (but list is now empty)

Close this race by revalidating that the new slot is not simply the list head again.

Reproducer: http://www.spinics.net/lists/linux-mm/msg20233.html Proposed patch: http://www.spinics.net/lists/linux-mm/msg20301.html

Acknowledgements:

Red Hat would like to thank Andrea Righi for reporting this issue.

Other sources

Race condition in the scangetnextrmapitem function in mm/ksm.c in the Linux kernel before 2.6.39.3, when Kernel SamePage Merging (KSM) is enabled, allows local users to cause a denial of service (NULL pointer dereference) or possibly have unspecified other impact via a crafted application.

Launchpad

Affected Software

11 affected components
debian/linux-2.6
Linux Linux kernel=2.6.39-rc7
Linux Linux kernel<=2.6.39.2
Linux Linux kernel=2.6.39-rc6
Linux Linux kernel=2.6.39-rc4
Linux Linux kernel=2.6.39.1
Linux Linux kernel=2.6.39-rc1
Linux Linux kernel=2.6.39-rc3
Linux Linux kernel=2.6.39
Linux Linux kernel=2.6.39-rc2
Linux Linux kernel=2.6.39-rc5

Event History

Jun 3, 2011
Data Sourced
via Red Hat·05:55 AM
DescriptionSeverityAffected Software
Jun 13, 2012
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Jan 11, 2024
Data Sourced
via Launchpad·09:58 PM
Description
Sep 19, 2024
Data Sourced
via Ubuntu·10:46 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2011-2183?

CVE-2011-2183 has a medium severity rating due to the potential race condition it introduces.

2

How do I fix CVE-2011-2183?

To fix CVE-2011-2183, upgrade to a patched version of the Linux kernel that resolves the race condition.

3

What software versions are affected by CVE-2011-2183?

CVE-2011-2183 affects Linux kernel versions prior to 2.6.39.3.

4

What is the nature of the vulnerability CVE-2011-2183?

CVE-2011-2183 is a race condition vulnerability that can occur between an exiting task and the Kernel Same-page Merging daemon (ksmd).

5

How can CVE-2011-2183 impact my system?

If exploited, CVE-2011-2183 could lead to instability or unexpected behavior of the kernel, potentially allowing unauthorized access to system memory.

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