What’s Vulnerable › Vulnerabilities
CVE-2012-0038
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2012-05-17 · updated 2026-06-16
- Weakness: CWE-190
Description
Integer overflow in the xfs_acl_from_disk function in fs/xfs/xfs_acl.c in the Linux kernel before 3.1.9 allows local users to cause a denial of service (panic) via a filesystem with a malformed ACL, leading to a heap-based buffer overflow.
Affected products
- Linux kernel: before 3.1.9 — fixed in 3.1.9
How to fix
Upgrade to a fixed version: Linux kernel 3.1.9. Check the vendor advisory for mitigations.
References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=093019cf1b18dd31b2c3b77acce4e000e2cbc9ce
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=fa8b18edd752a8b4e9d1ee2cd615b82c93cf8bba
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.1.9
- http://www.openwall.com/lists/oss-security/2012/01/10/11
- https://bugzilla.redhat.com/show_bug.cgi?id=773280
- https://github.com/torvalds/linux/commit/093019cf1b18dd31b2c3b77acce4e000e2cbc9ce
- https://github.com/torvalds/linux/commit/fa8b18edd752a8b4e9d1ee2cd615b82c93cf8bba
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=093019cf1b18dd31b2c3b77acce4e000e2cbc9ce
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=fa8b18edd752a8b4e9d1ee2cd615b82c93cf8bba
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.1.9
- http://www.openwall.com/lists/oss-security/2012/01/10/11
- https://bugzilla.redhat.com/show_bug.cgi?id=773280
Get alerted when CVE-2012-0038 or the next vulnerability affects your stack