CVE-2013-4312: Buffer Overflow

Published Jan 12, 2016
·
Updated

It was found that process could allocate and accumulate far more FDs than the process' limit by sending them over a unix socket then closing them to keep the process' fd count low, which could result into a local DoS against kernel by depleting all available memory.

Upstream patch:

https://git.kernel.org/cgit/linux/kernel/git/davem/net.git/commit/?id=712f4aad406b

Discussion:

https://lkml.org/lkml/2015/12/28/155

Other sources

The Linux kernel before 4.4.1 allows local users to bypass file-descriptor limits and cause a denial of service (memory consumption) by sending each descriptor over a UNIX socket before closing it, related to net/unix/afunix.c and net/unix/garbage.c.

Launchpad

Affected Software

5 affected componentsFixes available
Oracle Linux=5.0
Oracle Linux=6
Oracle Linux=7
Linux Linux kernel<=4.4
debian/linux
5.10.223-15.10.249-16.1.159-16.1.162-16.12.63-16.12.73-16.18.9-16.18.12-1

Event History

Jan 12, 2016
Data Sourced
via Red Hat·02:21 PM
DescriptionSeverityAffected Software
Feb 8, 2016
CVE Published
via MITRE·02:00 AM
Data Sourced
via MITRE·02:00 AM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:12 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·12:52 AM
RemedyDescriptionSeverityAffected Software
Feb 18, 2026
Data Sourced
via Debian·04:58 PM
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-2013-4312?

CVE-2013-4312 is a vulnerability in the Linux kernel that allows local users to bypass file-descriptor limits and cause a denial of service by sending each descriptor over a UNIX socket before closing it.

2

How can this vulnerability be exploited?

To exploit CVE-2013-4312, a local user would need to send each file descriptor over a UNIX socket before closing it.

3

What is the severity of CVE-2013-4312?

CVE-2013-4312 has a severity level of medium.

4

How can I fix CVE-2013-4312?

To fix CVE-2013-4312, it is recommended to update the Linux kernel to version 4.5~ or later.

5

Where can I find more information about CVE-2013-4312?

More information about CVE-2013-4312 can be found at the following references: [1] [2] [3].

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