Every CVE Search/ Get API key

CVE-2015-7312

Multiple race conditions in the Advanced Union Filesystem (aufs) aufs3-mmap.patch and aufs4-mmap...

4.4 MediumFix available

Multiple race conditions in the Advanced Union Filesystem (aufs) aufs3-mmap.patch and aufs4-mmap.patch patches for the Linux kernel 3.x and 4.x allow local users to cause a denial of service (use-after-free and BUG) or possibly gain privileges via a (1) madvise or (2) msync system call, related to mm/madvise.c and mm/msync.c.

Exploit likelihood

0.36%Down 0.6 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 4.4

Multiple race conditions in the Advanced Union Filesystem (aufs) aufs3-mmap.patch and aufs4-mmap.patch patches for the Linux kernel 3.x and 4.x allow local users to cause a denial of service (use-after-free and BUG) or possibly gain privileges via a (1) madvise or (2) msync system call, related to mm/madvise.c and mm/msync.c.

Record
CVE-2015-7312
CVSS 2.0
4.4 MediumAV:L/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-362, CWE-416
Updated
2026-11-02
CVE List No score

Multiple race conditions in the Advanced Union Filesystem (aufs) aufs3-mmap.patch and aufs4-mmap.patch patches for the Linux kernel 3.x and 4.x allow local users to cause a denial of service (use-after-free and BUG) or possibly gain privileges via a (1) madvise or (2) msync system call, related to mm/madvise.c and mm/msync.c.

Record
CVE-2015-7312
Updated
2026-11-02
EUVDEUVD-2015-7241 No score

Multiple race conditions in the Advanced Union Filesystem (aufs) aufs3-mmap.patch and aufs4-mmap.patch patches for the Linux kernel 3.x and 4.x allow local users to cause a denial of service (use-after-free and BUG) or possibly gain privileges via a (1) madvise or (2) msync system call, related to mm/madvise.c and mm/msync.c.

Record
EUVD-2015-7241
Updated
2026-11-03
GitHub AdvisoriesGHSA-r639-jvf8-8gh8 No score

Multiple race conditions in the Advanced Union Filesystem (aufs) aufs3-mmap.patch and aufs4-mmap...

Multiple race conditions in the Advanced Union Filesystem (aufs) aufs3-mmap.patch and aufs4-mmap.patch patches for the Linux kernel 3.x and 4.x allow local users to cause a denial of service (use-after-free and BUG) or possibly gain privileges via a (1) madvise or (2) msync system call, related to mm/madvise.c and mm/msync.c.

Record
GHSA-r639-jvf8-8gh8
Weakness
CWE-362
Updated
2026-11-02
OSV No score

Multiple race conditions in the Advanced Union Filesystem (aufs) aufs3-mmap.patch and aufs4-mmap.patch patches for the Linux kernel 3.x and 4.x allow local users to cause a denial of service (use-after-free and BUG) or possibly gain privileges via a (1) madvise or (2) msync system call, related to mm/madvise.c and mm/msync.c.

Record
CVE-2015-7312
Updated
2026-11-02
OSVDEBIAN-CVE-2015-7312 No score

Multiple race conditions in the Advanced Union Filesystem (aufs) aufs3-mmap.patch and aufs4-mmap.patch patches for the Linux kernel 3.x and 4.x allow local users to cause a denial of service (use-after-free and BUG) or possibly gain privileges via a (1) madvise or (2) msync system call, related to mm/madvise.c and mm/msync.c.

Record
DEBIAN-CVE-2015-7312
Updated
2026-11-02
Show 6 moreShow less
OSVMGASA-2015-0386 No score

Updated kernel packages provides 4.1 longterm and fixes security issues

This kernel update provides an upgrade to the upstream 4.1 longterm kernel series, currently based on 4.1.8 and resolves at least the following security issues:

It was found that the Linux kernel's keyring implementation would leak memory when adding a key to a keyring via the add_key() function. A local attacker could use this flaw to exhaust all available memory on the system. (CVE-2015-1333)

A flaw was found in the Linux kernel where the deletion of a file or directory could trigger an unmount and reveal data under a mount point. This flaw was inadvertently introduced with the new feature of being able to lazily unmount a mount tree when using file system user namespaces. (CVE-2015-4176)

A flaw was discovered in the kernel's collect_mounts function. If the kernel audit subsystem called collect_mounts to audit an unmounted path, it could panic the system. With this flaw, an unprivileged user could call umount (MNT_DETACH) to launch a denial-of-service attack. (CVE-2015-4177)

A flaw was found in the Linux kernel which is related to the user namespace lazily unmounting file systems. The fs_pin struct has two members (m_list and s_list) which are usually initialized on use in the pin_insert_group function. However, these members might go unmodified; in this case, the system panics when it attempts to destroy or free them. This flaw could be used to launch a denial-of-service attack. (CVE-2015-4178)

A DoS flaw was found for a Linux kernel built for the x86 architecture which had the KVM virtualization support(CONFIG_KVM) enabled. The kernel would be vulnerable to a NULL pointer dereference flaw in Linux kernel's kvm_apic_has_events() function while doing an ioctl. An unprivileged user able to access the "/dev/kvm" device could use this flaw to crash the system kernel. (CVE-2015-4692)

A flaw was found in the kernel's implementation of the Berkeley Packet Filter (BPF). A local attacker could craft BPF code to crash the system by creating a situation in which the JIT compiler would fail to correctly optimize the JIT image on the last pass. This would lead to the CPU executing instructions that were not part of the JIT code. (CVE-2015-4700)

The get_bitmap_file 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 GET_BITMAP_FILE ioctl call. (CVE-2015-5697)

Use-after-free vulnerability in the path_openat function in fs/namei.c in the Linux kernel 3.x and 4.x before 4.0.4 allows local users to cause a denial of service or possibly have unspecified other impact via O_TMPFILE filesystem operations that leverage a duplicate cleanup operation. (CVE-2015-5706)

It was discovered that an integer overflow error existed in the SCSIgeneric (sg) driver in the Linux kernel. A local attacker with writepermission to a SCSI generic device could use this to cause a denial of service (system crash) or potentially escalate their privileges. (CVE-2015-5707)

Additionally the following packages have been updated to add or improve support for the 4.1 series kernels: btrfs-progs, iproute2, xtables-addons, nvidia304, nvidia340, kernel-firmware-nonfree, radeon-firmware.

For other changes, see the referenced changelogs:

Record
MGASA-2015-0386
Updated
2026-11-02
OSVMGASA-2016-0015 No score

Updated kernel-tmb packages provides 4.1 longterm kernel and fixes security issues

This kernel-tmb update provides an upgrade to the upstream 4.1 longterm kernel series, currently based on 4.1.15 and resolves at least the following security issues:

It was found that the Linux kernel's keyring implementation would leak memory when adding a key to a keyring via the add_key() function. A local attacker could use this flaw to exhaust all available memory on the system. (CVE-2015-1333)

A flaw was found in the Linux kernel where the deletion of a file or directory could trigger an unmount and reveal data under a mount point. This flaw was inadvertently introduced with the new feature of being able to lazily unmount a mount tree when using file system user namespaces. (CVE-2015-4176)

A flaw was discovered in the kernel's collect_mounts function. If the kernel audit subsystem called collect_mounts to audit an unmounted path, it could panic the system. With this flaw, an unprivileged user could call umount (MNT_DETACH) to launch a denial-of-service attack. (CVE-2015-4177)

A flaw was found in the Linux kernel which is related to the user namespace lazily unmounting file systems. The fs_pin struct has two members (m_list and s_list) which are usually initialized on use in the pin_insert_group function. However, these members might go unmodified; in this case, the system panics when it attempts to destroy or free them. This flaw could be used to launch a denial-of-service attack. (CVE-2015-4178)

A DoS flaw was found for a Linux kernel built for the x86 architecture which had the KVM virtualization support(CONFIG_KVM) enabled. The kernel would be vulnerable to a NULL pointer dereference flaw in Linux kernel's kvm_apic_has_events() function while doing an ioctl. An unprivileged user able to access the "/dev/kvm" device could use this flaw to crash the system kernel. (CVE-2015-4692)

A flaw was found in the kernel's implementation of the Berkeley Packet Filter (BPF). A local attacker could craft BPF code to crash the system by creating a situation in which the JIT compiler would fail to correctly optimize the JIT image on the last pass. This would lead to the CPU executing instructions that were not part of the JIT code. (CVE-2015-4700)

The virtnet_probe function in drivers/net/virtio_net.c in the Linux kernel before 4.2 attempts to support a FRAGLIST feature without proper memory allocation, which allows guest OS users to cause a denial of service (buffer overflow and memory corruption) via a crafted sequence of fragmented packets. (CVE-2015-5156)

Moein Ghasemzadeh discovered that the USB WhiteHEAT serial driver contained hardcoded attributes about the USB devices. An attacker could construct a fake WhiteHEAT USB device that, when inserted, causes a denial of service (system crash) (CVE-2015-5257).

A guest to host DoS issue was found affecting various hypervisors. In that, a guest can DoS the host by triggering an infinite stream of "alignment check" (#AC) exceptions. This causes the microcode to enter an infinite loop where the core never receives another interrupt. The host kernel panics due to this effect (CVE-2015-5307).

The get_bitmap_file 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 GET_BITMAP_FILE ioctl call. (CVE-2015-5697)

Use-after-free vulnerability in the path_openat function in fs/namei.c in the Linux kernel 3.x and 4.x before 4.0.4 allows local users to cause a denial of service or possibly have unspecified other impact via O_TMPFILE filesystem operations that leverage a duplicate cleanup operation. (CVE-2015-5706)

It was discovered that an integer overflow error existed in the SCSIgeneric (sg) driver in the Linux kernel. A local attacker with writepermission to a SCSI generic device could use this to cause a denial of service (system crash) or potentially escalate their privileges. (CVE-2015-5707)

The __rds_conn_create function in…

Record
MGASA-2016-0015
Updated
2026-11-02
OSVUBUNTU-CVE-2015-7312 No score

Multiple race conditions in the Advanced Union Filesystem (aufs) aufs3-mmap.patch and aufs4-mmap.patch patches for the Linux kernel 3.x and 4.x allow local users to cause a denial of service (use-after-free and BUG) or possibly gain privileges via a (1) madvise or (2) msync system call, related to mm/madvise.c and mm/msync.c.

Record
UBUNTU-CVE-2015-7312
Updated
2026-11-02
OSVUSN-2776-1 No score

linux vulnerabilities

It was discovered that the Linux kernel did not check if a new IPv6 MTU set by a user space application was valid. A remote attacker could forge a route advertisement with an invalid MTU that a user space daemon like NetworkManager would honor and apply to the kernel, causing a denial of service. (CVE-2015-0272)

It was discovered that virtio networking in the Linux kernel did not handle fragments correctly, leading to kernel memory corruption. A remote attacker could use this to cause a denial of service (system crash) or possibly execute code with administrative privileges. (CVE-2015-5156)

It was discovered that the Reliable Datagram Sockets (RDS) implementation in the Linux kernel did not verify sockets were properly bound before attempting to send a message, which could cause a NULL pointer dereference. An attacker could use this to cause a denial of service (system crash). (CVE-2015-6937)

Ben Hutchings discovered that the Advanced Union Filesystem (aufs) for the Linux kernel did not correctly handle references of memory mapped files from an aufs mount. A local attacker could use this to cause a denial of service (system crash) or possibly execute arbitrary code with administrative privileges. (CVE-2015-7312)

Record
USN-2776-1
Updated
2026-11-02
OSVUSN-2777-1 No score

linux-lts-utopic vulnerabilities

It was discovered that virtio networking in the Linux kernel did not handle fragments correctly, leading to kernel memory corruption. A remote attacker could use this to cause a denial of service (system crash) or possibly execute code with administrative privileges. (CVE-2015-5156)

Benjamin Randazzo discovered an information leak in the md (multiple device) driver when the bitmap_info.file is disabled. A local privileged attacker could use this to obtain sensitive information from the kernel. (CVE-2015-5697)

Marc-André Lureau discovered that the vhost driver did not properly release the userspace provided log file descriptor. A privileged attacker could use this to cause a denial of service (resource exhaustion). (CVE-2015-6252)

It was discovered that the Reliable Datagram Sockets (RDS) implementation in the Linux kernel did not verify sockets were properly bound before attempting to send a message, which could cause a NULL pointer dereference. An attacker could use this to cause a denial of service (system crash). (CVE-2015-6937)

Ben Hutchings discovered that the Advanced Union Filesystem (aufs) for the Linux kernel did not correctly handle references of memory mapped files from an aufs mount. A local attacker could use this to cause a denial of service (system crash) or possibly execute arbitrary code with administrative privileges. (CVE-2015-7312)

Record
USN-2777-1
Updated
2026-11-02
OSVUSN-2778-1 No score

linux-lts-vivid vulnerabilities

It was discovered that the Linux kernel did not check if a new IPv6 MTU set by a user space application was valid. A remote attacker could forge a route advertisement with an invalid MTU that a user space daemon like NetworkManager would honor and apply to the kernel, causing a denial of service. (CVE-2015-0272)

It was discovered that virtio networking in the Linux kernel did not handle fragments correctly, leading to kernel memory corruption. A remote attacker could use this to cause a denial of service (system crash) or possibly execute code with administrative privileges. (CVE-2015-5156)

It was discovered that the Reliable Datagram Sockets (RDS) implementation in the Linux kernel did not verify sockets were properly bound before attempting to send a message, which could cause a NULL pointer dereference. An attacker could use this to cause a denial of service (system crash). (CVE-2015-6937)

Ben Hutchings discovered that the Advanced Union Filesystem (aufs) for the Linux kernel did not correctly handle references of memory mapped files from an aufs mount. A local attacker could use this to cause a denial of service (system crash) or possibly execute arbitrary code with administrative privileges. (CVE-2015-7312)

Record
USN-2778-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
linux
Debian:12
before 4.2.1-1
4.2.1-1
linux
Debian:13
before 4.2.1-1
4.2.1-1
linux
Debian:14
before 4.2.1-1
4.2.1-1
kernel
Mageia:5
From an advisory covering 10 CVEs
before 4.1.8-1.mga5
4.1.8-1.mga5
kernel-userspace-headers
Mageia:5
From an advisory covering 10 CVEs
before 4.1.8-1.mga5
4.1.8-1.mga5
kernel-firmware
Mageia:5
From an advisory covering 10 CVEs
before 20150722-1.mga5
20150722-1.mga5
btrfs-progs
Mageia:5
From an advisory covering 10 CVEs
before 4.1.2-1.mga5
4.1.2-1.mga5
iproute2
Mageia:5
From an advisory covering 10 CVEs
before 4.1.1-1.mga5
4.1.1-1.mga5
xtables-addons
Mageia:5
From an advisory covering 10 CVEs
before 2.7-1.mga5
2.7-1.mga5
kmod-xtables-addons
Mageia:5
From an advisory covering 10 CVEs
before 2.7-4.mga5
2.7-4.mga5
Show 16 moreShow less
Affected packages
PackageAffectedFixed
kernel-firmware-nonfree
Mageia:5
From an advisory covering 10 CVEs
before 20150824-1.mga5.nonfree
20150824-1.mga5.nonfree
radeon-firmware
Mageia:5
From an advisory covering 10 CVEs
before 20150824-1.mga5.nonfree
20150824-1.mga5.nonfree
kmod-broadcom-wl
Mageia:5
From an advisory covering 10 CVEs
before 6.30.223.248-36.mga5.nonfree
6.30.223.248-36.mga5.nonfree
kmod-fglrx
Mageia:5
From an advisory covering 10 CVEs
before 15.200.1046-5.mga5.nonfree
15.200.1046-5.mga5.nonfree
nvidia304
Mageia:5
From an advisory covering 10 CVEs
before 304.125-5.mga5.nonfree
304.125-5.mga5.nonfree
kmod-nvidia304
Mageia:5
From an advisory covering 10 CVEs
before 304.125-41.mga5.nonfree
304.125-41.mga5.nonfree
nvidia340
Mageia:5
From an advisory covering 10 CVEs
before 340.76-2.mga5.nonfree
340.76-2.mga5.nonfree
kmod-nvidia340
Mageia:5
From an advisory covering 10 CVEs
before 340.76-31.mga5.nonfree
340.76-31.mga5.nonfree
kmod-nvidia-current
Mageia:5
From an advisory covering 10 CVEs
before 346.82-3.mga5.nonfree
346.82-3.mga5.nonfree
kernel-tmb
Mageia:5
From an advisory covering 22 CVEs
before 4.1.15-1.mga5
4.1.15-1.mga5
linux
Ubuntu:14.04:LTS
before 3.13.0-66.108, plus listed versions
3.11.0-12.193.12.0-1.33.12.0-2.53.12.0-2.73.12.0-3.8
Show 45 moreShow less
3.12.0-3.93.12.0-4.103.12.0-4.123.12.0-5.133.12.0-7.153.13.0-1.163.13.0-2.173.13.0-3.183.13.0-4.193.13.0-5.203.13.0-6.233.13.0-7.253.13.0-7.263.13.0-8.273.13.0-8.283.13.0-10.303.13.0-11.313.13.0-12.323.13.0-13.333.13.0-14.343.13.0-15.353.13.0-16.363.13.0-17.373.13.0-18.383.13.0-19.393.13.0-19.403.13.0-20.423.13.0-21.433.13.0-22.443.13.0-23.453.13.0-24.463.13.0-24.473.13.0-27.503.13.0-29.533.13.0-30.543.13.0-30.553.13.0-32.573.13.0-33.583.13.0-34.603.13.0-35.623.13.0-36.633.13.0-37.643.13.0-39.663.13.0-40.693.13.0-41.70
3.13.0-66.108
linux-lts-utopic
Ubuntu:14.04:LTS
before 3.16.0-51.69~14.04.1, plus listed versions
3.16.0-25.33~14.04.23.16.0-26.35~14.04.13.16.0-28.37~14.04.13.16.0-28.38~14.04.13.16.0-29.39~14.04.1
Show 22 moreShow less
3.16.0-30.40~14.04.13.16.0-31.41~14.04.13.16.0-31.43~14.04.13.16.0-33.44~14.04.13.16.0-34.45~14.04.13.16.0-34.47~14.04.13.16.0-36.48~14.04.13.16.0-37.49~14.04.13.16.0-37.51~14.04.13.16.0-38.52~14.04.13.16.0-39.53~14.04.13.16.0-40.54~14.04.13.16.0-41.55~14.04.13.16.0-41.57~14.04.13.16.0-43.58~14.04.13.16.0-44.59~14.04.13.16.0-45.60~14.04.13.16.0-46.62~14.04.13.16.0-48.64~14.04.13.16.0-49.65~14.04.13.16.0-50.66~14.04.13.16.0-50.67~14.04.1
3.16.0-51.69~14.04.1
linux-lts-vivid
Ubuntu:14.04:LTS
before 3.19.0-31.36~14.04.1, plus listed versions
3.19.0-18.18~14.04.13.19.0-20.20~14.04.13.19.0-21.21~14.04.13.19.0-22.22~14.04.13.19.0-23.24~14.04.1
Show 5 moreShow less
3.19.0-25.26~14.04.13.19.0-26.28~14.04.13.19.0-28.30~14.04.13.19.0-30.33~14.04.13.19.0-30.34~14.04.1
3.19.0-31.36~14.04.1
linux
Ubuntu:14.04:LTS
From an advisory covering 4 CVEs
before 3.13.0-66.108, plus listed versions
3.11.0-12.193.12.0-1.33.12.0-2.53.12.0-2.73.12.0-3.8
Show 45 moreShow less
3.12.0-3.93.12.0-4.103.12.0-4.123.12.0-5.133.12.0-7.153.13.0-1.163.13.0-2.173.13.0-3.183.13.0-4.193.13.0-5.203.13.0-6.233.13.0-7.253.13.0-7.263.13.0-8.273.13.0-8.283.13.0-10.303.13.0-11.313.13.0-12.323.13.0-13.333.13.0-14.343.13.0-15.353.13.0-16.363.13.0-17.373.13.0-18.383.13.0-19.393.13.0-19.403.13.0-20.423.13.0-21.433.13.0-22.443.13.0-23.453.13.0-24.463.13.0-24.473.13.0-27.503.13.0-29.533.13.0-30.543.13.0-30.553.13.0-32.573.13.0-33.583.13.0-34.603.13.0-35.623.13.0-36.633.13.0-37.643.13.0-39.663.13.0-40.693.13.0-41.70
3.13.0-66.108
linux-lts-utopic
Ubuntu:14.04:LTS
From an advisory covering 5 CVEs
before 3.16.0-51.69~14.04.1, plus listed versions
3.16.0-25.33~14.04.23.16.0-26.35~14.04.13.16.0-28.37~14.04.13.16.0-28.38~14.04.13.16.0-29.39~14.04.1
Show 22 moreShow less
3.16.0-30.40~14.04.13.16.0-31.41~14.04.13.16.0-31.43~14.04.13.16.0-33.44~14.04.13.16.0-34.45~14.04.13.16.0-34.47~14.04.13.16.0-36.48~14.04.13.16.0-37.49~14.04.13.16.0-37.51~14.04.13.16.0-38.52~14.04.13.16.0-39.53~14.04.13.16.0-40.54~14.04.13.16.0-41.55~14.04.13.16.0-41.57~14.04.13.16.0-43.58~14.04.13.16.0-44.59~14.04.13.16.0-45.60~14.04.13.16.0-46.62~14.04.13.16.0-48.64~14.04.13.16.0-49.65~14.04.13.16.0-50.66~14.04.13.16.0-50.67~14.04.1
3.16.0-51.69~14.04.1
linux-lts-vivid
Ubuntu:14.04:LTS
From an advisory covering 4 CVEs
before 3.19.0-31.36~14.04.1, plus listed versions
3.19.0-18.18~14.04.13.19.0-20.20~14.04.13.19.0-21.21~14.04.13.19.0-22.22~14.04.13.19.0-23.24~14.04.1
Show 5 moreShow less
3.19.0-25.26~14.04.13.19.0-26.28~14.04.13.19.0-28.30~14.04.13.19.0-30.33~14.04.13.19.0-30.34~14.04.1
3.19.0-31.36~14.04.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2015-7312 is a medium vulnerability (CVSS 4.4) in Debian Linux, published September 23, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.36%, the 29th percentile. Fixed in linux 4.2.1-1.

References

Show 38 moreShow less
This page doesn't list everything

Left out here: 52 versions and the rest of 1 source description. The JSON record has them.

MoveEnter Open