CVE-2012-3510
Use-after-free vulnerability in the xacct_add_tsk function in kernel/tsacct.c in the Linux kernel before 2.6.19 allows local users to obtain potentially sensitive information from kernel memory or cause a denial of service (system crash) via a taskstats TASKSTATS_CMD_ATTR_PID command.
What to do
Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian 14 | linux | Fixed | 2.6.20-1 | DEBIAN-CVE-2012-3510 |
| Debian 13 | linux | Fixed | 2.6.20-1 | DEBIAN-CVE-2012-3510 |
| Debian 12 | linux | Fixed | 2.6.20-1 | DEBIAN-CVE-2012-3510 |
| Red Hat Enterprise Linux 6 | kernel | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-abi-whitelists | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-bootwrapper | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-debug | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-debug-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-doc | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-firmware | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-headers | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-kdump | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-kdump-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | perf | Not affected | ||
| Red Hat Enterprise Linux 6 | python-perf | Not affected | ||
| Red Hat Enterprise Linux 5 | kernel | Fixed | 0:2.6.18-308.16.1.el5 | RHSA-2012:1323 |
| Red Hat Enterprise Linux 5 | kernel-PAE | Fixed | 0:2.6.18-308.16.1.el5 | RHSA-2012:1323 |
| Red Hat Enterprise Linux 5 | kernel-PAE-devel | Fixed | 0:2.6.18-308.16.1.el5 | RHSA-2012:1323 |
| Red Hat Enterprise Linux 5 | kernel-debug | Fixed | 0:2.6.18-308.16.1.el5 | RHSA-2012:1323 |
| Red Hat Enterprise Linux 5 | kernel-debug-devel | Fixed | 0:2.6.18-308.16.1.el5 | RHSA-2012:1323 |
| Red Hat Enterprise Linux 5 | kernel-debuginfo-common | Fixed | 0:2.6.18-308.16.1.el5 | RHSA-2012:1323 |
| Red Hat Enterprise Linux 5 | kernel-devel | Fixed | 0:2.6.18-308.16.1.el5 | RHSA-2012:1323 |
| Red Hat Enterprise Linux 5 | kernel-doc | Fixed | 0:2.6.18-308.16.1.el5 | RHSA-2012:1323 |
| Red Hat Enterprise Linux 5 | kernel-headers | Fixed | 0:2.6.18-308.16.1.el5 | RHSA-2012:1323 |
| Red Hat Enterprise Linux 5 | kernel-kdump | Fixed | 0:2.6.18-308.16.1.el5 | RHSA-2012:1323 |
| Red Hat Enterprise Linux 5 | kernel-kdump-devel | Fixed | 0:2.6.18-308.16.1.el5 | RHSA-2012:1323 |
| Red Hat Enterprise Linux 5 | kernel-xen | Fixed | 0:2.6.18-308.16.1.el5 | RHSA-2012:1323 |
| Red Hat Enterprise Linux 5 | kernel-xen-devel | Fixed | 0:2.6.18-308.16.1.el5 | RHSA-2012:1323 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://rhn.redhat.com/errata/RHSA-2012-1323.html (vendor-advisory)
References
- https://github.com/torvalds/linux/commit/f0ec1aaf54caddd21c259aea8b2ecfbde4ee4fb9
- http://secunia.com/advisories/50811
- https://bugzilla.redhat.com/show_bug.cgi?id=849722
- http://rhn.redhat.com/errata/RHSA-2012-1323.html
- http://www.securityfocus.com/bid/55144
- http://www.openwall.com/lists/oss-security/2012/08/20/12
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=f0ec1aaf54caddd21c259aea8b2ecfbde4ee4fb9
- http://www.securitytracker.com/id?1027602
- http://ftp.osuosl.org/pub/linux/kernel/v2.6/ChangeLog-2.6.19
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.