CVE-2013-7263: Input Validation
Last updated 24 July 2024
Other sources
Linux kernel built with the networking support(CONFIGNET), is vulnerable to a memory leakage flaw. It occurs while doing the recvmsg(2), recvfrom(2), recvmmsg(2) socket calls.
A user/program could use this flaw to leak kernel memory bytes.
Upstream fix: ------------- -> https://git.kernel.org/cgit/linux/kernel/git/davem/net.git/commit/?id=bceaa90240b6019ed73b49965eac7d167610be69
-> https://git.kernel.org/cgit/linux/kernel/git/davem/net.git/commit/?id=85fbaa75037d0b6b786ff18658ddf0b4014ce2a4
Original 'CVE-2013-6405' assigned to this issue has been rejected and the following 4 have been assigned for the same:
- CVE-2013-7263 (net/ipv4/ping.c, net/ipv4/raw.c, net/ipv4/udp.c, net/ipv6/raw.c, and net/ipv6/udp.c), - CVE-2013-7264 (net/l2tp/l2tpip.c), - CVE-2013-7265 (net/phonet/datagram.c) - CVE-2013-7281 (net/ieee802154/dgram.c)
=== Name: CVE-2013-6405
REJECT
DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: CVE-2013-7263, CVE-2013-7264, CVE-2013-7265. Reason: This candidate is a duplicate of CVE-2013-7263, CVE-2013-7264, and CVE-2013-7265. Notes: All CVE users should reference CVE-2013-7263, CVE-2013-7264, and/or CVE-2013-7265 instead of this candidate. All references and descriptions in this candidate have been removed to prevent accidental usage. ===
— Red Hat
The Linux kernel before 3.12.4 updates certain length values before ensuring that associated data structures have been initialized, which allows local users to obtain sensitive information from kernel stack memory via a (1) recvfrom, (2) recvmmsg, or (3) recvmsg system call, related to net/ipv4/ping.c, net/ipv4/raw.c, net/ipv4/udp.c, net/ipv6/raw.c, and net/ipv6/udp.c.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:2.6.18-371.6.1.el5 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:2.6.32-431.5.1.el6 - Upgrade
Upgrade
redhat/kernel-rtto a version that resolves this vulnerability.Fixed in 0:3.10.33-rt32.33.el6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1 - Upgrade
Upgrade
linux kernelto a version that resolves this vulnerability.Patch CVE-2013-7263 - Upgrade
Upgrade
linux kernelto a version that resolves this vulnerability.Patch CVE-2013-7264 - Upgrade
Upgrade
linux kernelto a version that resolves this vulnerability.Patch CVE-2013-7265
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2013-7263?
The severity of CVE-2013-7263 is classified as medium, due to its potential to leak kernel memory.
How do I fix CVE-2013-7263?
To fix CVE-2013-7263, upgrade to the patched version of the Linux kernel as indicated in the relevant security advisories.
Which versions of the Linux kernel are affected by CVE-2013-7263?
CVE-2013-7263 affects versions of the Linux kernel prior to 3.12.3.
Can CVE-2013-7263 be exploited remotely?
CVE-2013-7263 may allow local users to exploit the vulnerability, but it is not categorized as a remote exploitation risk.
Is there a workaround for CVE-2013-7263?
There are no known effective workarounds for CVE-2013-7263; patching the kernel is the recommended course of action.