kernel: xfs: potential buffer overflow in xfs_readlink()
Published Jan 27, 2012
6.9
MEDIUMCVSS 2.0
EPSS 0.53%
Description
Buffer overflow in the xfs_readlink function in fs/xfs/xfs_vnodeops.c in XFS in the Linux kernel 2.6, when CONFIG_XFS_DEBUG is disabled, allows local users to cause a denial of service (memory corruption and crash) and possibly execute arbitrary code via an XFS image containing a symbolic link with a long pathname.
Affected products
No data.
- ≥ 2.6.12 · < 3.0.11
- ≥ 3.1 · < 3.1.5
No data.
Red Hat Enterprise Linux 5
kernel-0:2.6.18-274.17.1.el5
Fixed · RHSA-2012:0007
Red Hat Enterprise Linux 6
kernel-0:2.6.32-220.7.1.el6
Fixed · RHSA-2012:0350
Red Hat Enterprise MRG 2
kernel-rt-0:3.0.18-rt34.53.el6rt
Fixed · RHSA-2012:0333
Red Hat Enterprise Linux 4
kernel
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | kernel-0:2.6.18-274.17.1.el5 | Fixed | RHSA-2012:0007 |
| Red Hat Enterprise Linux 6 | kernel-0:2.6.32-220.7.1.el6 | Fixed | RHSA-2012:0350 |
| Red Hat Enterprise MRG 2 | kernel-rt-0:3.0.18-rt34.53.el6rt | Fixed | RHSA-2012:0333 |
| Red Hat Enterprise Linux 4 | kernel | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of Linux kernel as shipped with Red Hat Enterprise Linux 4 as it did not include support for XFS filesystem. This has been addressed in Red Hat Enterprise Linux 5, 6 and Red Hat Enterprise MRG via https://rhn.redhat.com/errata/RHSA-2012-0007.html, https://rhn.redhat.com/errata/RHSA-2012-0350.html, and https://rhn.redhat.com/errata/RHSA-2012-0333.html.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:M/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.53% (0.00534) | 43.02th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.56% (0.00556) | 41.74th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.31% (0.00309) | 51.86th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00042) | 5.07th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.75% (0.01755) | 76.27th | v2 (v2022.01.01) |
| Feb 13, 2023 | 1.75% (0.01755) | 75.75th | v2 (v2022.01.01) |
| Feb 3, 2023 | 1.28% (0.01282) | 67.60th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.75% (0.01755) | 74.16th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.75% (0.01755) | 53.42th | v2 (v2022.01.01) |
References (10)
- http://marc.info/?l=bugtraq&m=139447903326211&w=2 vendor-advisoryx_refsource_HPMailing ListThird Party Advisory
- http://oss.sgi.com/archives/xfs/2011-10/msg00345.html mailing-listx_refsource_MLISTPatchThird Party Advisory
- http://secunia.com/advisories/48964 third-party-advisoryx_refsource_SECUNIABroken Link
- http://www.openwall.com/lists/oss-security/2011/10/26/1 mailing-listx_refsource_MLISTMailing ListPatchThird Party Advisory
- http://www.openwall.com/lists/oss-security/2011/10/26/3 mailing-listx_refsource_MLISTMailing ListPatchThird Party Advisory
- http://xorl.wordpress.com/2011/12/07/cve-2011-4077-linux-kernel-xfs-readlink-memory-corruption/ x_refsource_MISCExploitThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2011-4077 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=749156 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2011-4077
- https://www.cve.org/CVERecord?id=CVE-2011-4077
| Link | Providers | Tags |
|---|---|---|
| http://marc.info/?l=bugtraq&m=139447903326211&w=2 | vendor-advisoryx_refsource_HPMailing ListThird Party Advisory | |
| http://oss.sgi.com/archives/xfs/2011-10/msg00345.html | mailing-listx_refsource_MLISTPatchThird Party Advisory | |
| http://secunia.com/advisories/48964 | third-party-advisoryx_refsource_SECUNIABroken Link | |
| http://www.openwall.com/lists/oss-security/2011/10/26/1 | mailing-listx_refsource_MLISTMailing ListPatchThird Party Advisory | |
| http://www.openwall.com/lists/oss-security/2011/10/26/3 | mailing-listx_refsource_MLISTMailing ListPatchThird Party Advisory | |
| http://xorl.wordpress.com/2011/12/07/cve-2011-4077-linux-kernel-xfs-readlink-memory-corruption/ | x_refsource_MISCExploitThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2011-4077 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=749156 | x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2011-4077 | ||
| https://www.cve.org/CVERecord?id=CVE-2011-4077 |
Change history (0)
No recorded changes yet.