CVE-2010-4158
What it is
The sk_run_filter function in net/core/filter.c in the Linux kernel before 2.6.36.2 does not check whether a certain memory location has been initialized before executing a (1) BPF_S_LD_MEM or (2) BPF_S_LDX_MEM instruction, which allows local users to obtain potentially sensitive information from kernel stack memory via a crafted socket filter.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.9% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.9% in the next 30 days (EPSS).
- Severity: 2.1 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.9% · EPSS, next 30 days
- Weakness
- CWE-200 · Information exposure
- Record status
- Modified
Affected
- Linux Kernel < 2.6.36.2
- Fedoraproject Fedora 13
- Opensuse 11.2
- Opensuse 11.3
- Suse Linux Enterprise Desktop 10
- Suse Linux Enterprise Desktop 11
- Suse Linux Enterprise Real Time Extension 11
- Suse Linux Enterprise Server 9
Attack profile CVSS 2.0 · 2.1
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
Raw vector
AV:L/AC:L/Au:N/C:P/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2010-4158.md and follow it. Check whether this project is affected by CVE-2010-4158. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.spinics.net/lists/netdev/msg146361.html
- https://bugzilla.redhat.com/show_bug.cgi?id=651698
- http://www.spinics.net/lists/netdev/msg146361.html
- https://bugzilla.redhat.com/show_bug.cgi?id=651698
References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=57fe93b374a6b8711995c2d466c502af9f3a08bb
- http://lists.fedoraproject.org/pipermail/package-announce/2010-December/052513.html
- http://lists.grok.org.uk/pipermail/full-disclosure/2010-November/077321.html
- http://lists.opensuse.org/opensuse-security-announce/2010-12/msg00004.html
- http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00000.html
- http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00004.html
- http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00000.html
- http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00002.html
- http://secunia.com/advisories/42745
- http://secunia.com/advisories/42778
- http://secunia.com/advisories/42801
- http://secunia.com/advisories/42884
- http://secunia.com/advisories/42890
- http://secunia.com/advisories/42932
- http://secunia.com/advisories/42963
- http://secunia.com/advisories/43291
- http://secunia.com/advisories/46397
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.36.2
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:029
- http://www.redhat.com/support/errata/RHSA-2010-0958.html
- http://www.redhat.com/support/errata/RHSA-2011-0007.html
- http://www.redhat.com/support/errata/RHSA-2011-0017.html
- http://www.redhat.com/support/errata/RHSA-2011-0162.html
- http://www.securityfocus.com/archive/1/514705