CVE-2014-9645: Input Validation

Published Jan 26, 2015
·
Updated

Last updated 25 August 2025

Other sources

Matthias Krause reports:

modprobe uses the "basename" of the module argument as the module to load, as can be seen here:

bbox:~# lsmod | grep vfat bbox:~# modprobe foo/bar/baz/vfat bbox:~# lsmod | grep vfat vfat 17135 0 fat 61984 1 vfat bbox:~# find /lib/modules/uname -r -name vfat.ko /lib/modules/3.18.0-rc5+/vfat.ko

It should instead fail to load the module -- actually fail to find the module.

This can even be abused to load arbitrary modules by nullifying enforced module prefixes some of the Linux kernel's subsystems try to apply to prevent just that:

bbox:~# lsmod | grep usb bbox:~# ifconfig /usbserial up ifconfig: SIOCGIFFLAGS: No such device bbox:~# lsmod | grep usb usbserial 32201 0

The actual modprobe invocation, done by the kernel was: /sbin/modprobe -q -- netdev-/usbserial

Due to the bug, the "netdev-" prefix including the "/" are ignored and the usbserial.ko module gets loaded.

The same works for filesystems, e.g.:

bbox:~# lsmod | grep sndpcm bbox:~# mount -t /sndpcm none / mount: mounting none on / failed: No such device bbox:~# lsmod | grep sndpcm sndpcm 88826 0 sndtimer 26606 1 sndpcm snd 61141 2 sndpcm,sndtimer

This time the kernel called out to: /sbin/modprobe -q -- fs-/sndpcm

Note the "fs-" prefix.

External reference: https://bugs.busybox.net/showbug.cgi?id=7652 (cert maybe expired)

Red Hat

The addprobe function in modutils/modprobe.c in BusyBox before 1.23.0 allows local users to bypass intended restrictions on loading kernel modules via a / (slash) character in a module name, as demonstrated by an "ifconfig /usbserial up" command or a "mount -t /sndpcm none /" command.

Launchpad

Affected Software

2 affected componentsFixes available
Busybox Busybox<=1.22.1
debian/busybox
1:1.30.1-61:1.30.1-6+deb11u11:1.35.0-4+deb12u11:1.37.0-61:1.37.0-10.1

Event History

Jan 26, 2015
Data Sourced
via Red Hat·03:38 AM
DescriptionSeverityAffected Software
Mar 12, 2017
CVE Published
via MITRE·06:05 AM
Data Sourced
via MITRE·06:05 AM
Description
Data Sourced
via NVD·06:59 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:05 PM
Description
Feb 19, 2026
Data Sourced
via Ubuntu·12:41 AM
RemedyDescriptionSeverityAffected Software
May 18, 2026
Data Sourced
via Debian·03:28 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2014-9645?

CVE-2014-9645 is a vulnerability in BusyBox versions before 1.23.0 that allows local users to bypass restrictions on loading kernel modules.

2

How can local users exploit CVE-2014-9645?

Local users can exploit CVE-2014-9645 by using a / character in a module name to load kernel modules that are supposed to be restricted.

3

What is the severity of CVE-2014-9645?

CVE-2014-9645 has a severity rating of medium with a CVSS score of 5.5.

4

Which versions of BusyBox are affected by CVE-2014-9645?

BusyBox versions before 1.23.0 are affected by CVE-2014-9645.

5

How can I fix CVE-2014-9645?

To fix CVE-2014-9645, update to BusyBox version 1.23.0 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