kernel: crypto: ghash: null pointer deref if no key is set
Published May 24, 2012
5.5
MEDIUMCVSS 3.1
EPSS 0.46%
Description
crypto/ghash-generic.c in the Linux kernel before 3.1 allows local users to cause a denial of service (NULL pointer dereference and OOPS) or possibly have unspecified other impact by triggering a failed or missing ghash_setkey function call, followed by a (1) ghash_update function call or (2) ghash_final function call, as demonstrated by a write operation on an AF_ALG socket.
Affected products
No data.
- < 3.1
No data.
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:2.6.33.9-rt31.79.el6rt
Fixed · RHSA-2012:0010
| Product | Package | State | Advisory |
|---|---|---|---|
| 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:2.6.33.9-rt31.79.el6rt | Fixed | RHSA-2012:0010 |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the Linux kernels as shipped with Red Hat Enterprise Linux 4, and 5 as they did not include support for the GHASH message digest algorithm. This has been addressed in Red Hat Enterprise Linux 6, and MRG via https://rhn.redhat.com/errata/RHSA-2012-0350.html, and https://rhn.redhat.com/errata/RHSA-2012-0010.html.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
AV:L/AC:L/Au:N/C:N/I:N/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 (11 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.46% (0.00456) | 37.25th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.45% (0.00452) | 35.70th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.04% (0.00044) | 10.61th | 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 | 0.95% (0.00950) | 32.28th | v2 (v2022.01.01) |
| Feb 13, 2023 | 0.95% (0.00950) | 31.86th | v2 (v2022.01.01) |
| Feb 3, 2023 | 1.10% (0.01104) | 53.31th | v2 (v2022.01.01) |
| Sep 10, 2022 | 0.95% (0.00950) | 30.63th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.95% (0.00950) | 28.61th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.95% (0.00950) | 13.46th | v2 (v2022.01.01) |
References (8)
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=7ed47b7d142ec99ad6880bbbec51e9f12b3af74c x_refsource_CONFIRM
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.1 x_refsource_CONFIRMMailing ListPatchVendor Advisory
- http://www.openwall.com/lists/oss-security/2011/10/27/2 mailing-listx_refsource_MLISTMailing ListPatchThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2011-4081 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=749475 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://github.com/torvalds/linux/commit/7ed47b7d142ec99ad6880bbbec51e9f12b3af74c x_refsource_CONFIRMExploitPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2011-4081
- https://www.cve.org/CVERecord?id=CVE-2011-4081
| Link | Providers | Tags |
|---|---|---|
| http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=7ed47b7d142ec99ad6880bbbec51e9f12b3af74c | x_refsource_CONFIRM | |
| http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.1 | x_refsource_CONFIRMMailing ListPatchVendor Advisory | |
| http://www.openwall.com/lists/oss-security/2011/10/27/2 | mailing-listx_refsource_MLISTMailing ListPatchThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2011-4081 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=749475 | x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory | |
| https://github.com/torvalds/linux/commit/7ed47b7d142ec99ad6880bbbec51e9f12b3af74c | x_refsource_CONFIRMExploitPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2011-4081 | ||
| https://www.cve.org/CVERecord?id=CVE-2011-4081 |
Change history (0)
No recorded changes yet.