CVE-2015-1420: Race Condition

Published Jan 30, 2015
·
Updated

A specially crafted user space application may exploit a bug in handletopath to copy additional data to a target application. This defect is caused by the kernel incorrectly assuming that the arguments provided do not change.

This is problematic since the kernel does size verifications only after the first read, so if the number of extra bytes changes in userspace between the first and second calls, we'll have an incoherent view of filehandle.

The fix is to read the size once, and copy that over to the final structure referencing it from that point rather than the value from the application which may change.

The patch is not yet present in official kernel tree: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/fs/fhandle.c

Proposed Patch: http://marc.info/?l=linux-kernel&m=142247707318982&w=2

Other sources

Race condition in the handletopath function in fs/fhandle.c in the Linux kernel through 3.19.1 allows local users to bypass intended size restrictions and trigger read operations on additional memory locations by changing the handlebytes value of a file handle during the execution of this function.

Launchpad

Affected Software

3 affected componentsFixes available
Debian Debian Linux=7.0
Linux Linux kernel<=3.18.9
debian/linux
5.10.223-15.10.234-16.1.129-16.1.133-16.12.21-16.12.22-1

Event History

Jan 30, 2015
Data Sourced
via Red Hat·11:11 AM
DescriptionSeverityAffected Software
Mar 16, 2015
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:09 PM
Description
Sep 20, 2024
Data Sourced
via Ubuntu·01:08 AM
RemedyDescriptionSeverityAffected Software
Feb 27, 2025
Data Sourced
via Debian·02:23 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the vulnerability severity of CVE-2015-1420?

CVE-2015-1420 has been classified with a high severity due to potential data leakage and application manipulation.

2

How do I fix CVE-2015-1420?

To fix CVE-2015-1420, upgrade to the patched versions of the Linux kernel as specified in the advisory.

3

Which systems are affected by CVE-2015-1420?

CVE-2015-1420 affects several versions of the Linux kernel, specifically versions up to 3.18.9 and specific Debian kernel packages.

4

Can CVE-2015-1420 be exploited remotely?

CVE-2015-1420 is primarily an issue with local user applications, making remote exploitation unlikely but not impossible if local access is compromised.

5

What are the potential impacts of CVE-2015-1420?

The potential impacts of CVE-2015-1420 include unintended data copying, leading to information disclosure and application errors.

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