CVE-2015-5697: Infoleak

Published Jul 31, 2015
·
Updated

In the md driver (drivers/md/md.c) of the Linux kernel it’s possible to request a bitmap file for a device using getbitmapfile(), which uses kmalloc(). When bitmap is disabled, only the first byte of the buffer is initialized to zero, and then the whole buffer is copied in user space. It's possible to read up to 4095 bytes of kernel space memory from user space. This results in local kernel information leak.

Upstream patch: http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=77ba0569d4c8389c0a2162ab0c7c16a6f3b199e4

CVE assignment: http://seclists.org/oss-sec/2015/q3/235

Other sources

The getbitmapfile function in drivers/md/md.c in the Linux kernel before 4.1.6 does not initialize a certain bitmap data structure, which allows local users to obtain sensitive information from kernel memory via a GETBITMAPFILE ioctl call.

Launchpad

Affected Software

2 affected componentsFixes available
Linux Linux kernel<=4.1.5
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1

Event History

Jul 31, 2015
Data Sourced
via Red Hat·10:31 AM
DescriptionSeverityAffected Software
Aug 31, 2015
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:12 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:08 AM
RemedyDescriptionSeverityAffected Software
Apr 16, 2025
Data Sourced
via Debian·03:24 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the vulnerability ID of this vulnerability?

The vulnerability ID is CVE-2015-5697.

2

What is the severity of CVE-2015-5697?

The severity of CVE-2015-5697 is low.

3

What is the affected software for CVE-2015-5697?

The affected software for CVE-2015-5697 includes the Linux kernel versions before 4.1.6.

4

How can a local user exploit CVE-2015-5697?

A local user can exploit CVE-2015-5697 by making a GET_BITMAP_FILE ioctl call to obtain sensitive information from kernel memory.

5

Are there any remediation measures for CVE-2015-5697?

Yes, the remedy for CVE-2015-5697 is to update the Linux kernel to version 4.1.6 or later.

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