CVE-2023-23003
published 2023-03-01CVE-2023-23003: In the Linux kernel before 5.16, tools/perf/util/expr.c lacks a check for the hashmap__new return value.
PriorityP411medium4CVSS 3.1
AVLACHPRHUIRSUCNINAH
EPSS
0.27%
18.8th percentile
In the Linux kernel before 5.16, tools/perf/util/expr.c lacks a check for the hashmap__new return value.
Affected
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.16.7-1 (bookworm) | linux 5.16.7-1 (bookworm) |
| linux | linux_kernel | < 5.16 | 5.16 |
| linux | linux_kernel | >= 0 < 5.16.7-1 | 5.16.7-1 |
| linux | linux_kernel | >= 0 < 5.16.7-1 | 5.16.7-1 |
| linux | linux_kernel | >= 0 < 5.16.7-1 | 5.16.7-1 |
| msrc | cbl2_kernel_5.15.118.1-2_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| msrc | cm1_kernel_5.10.174.1-1_on_cbl_mariner_1.0 | — | — |
CVSS provenance
nvdv3.14.0MEDIUMCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:N/A:H
osv4.0MEDIUM
vendor_debian4.0LOW
vendor_msrc4.0MEDIUM
vendor_redhat4.0MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Microsoft
In the Linux kernel before 5.16 tools/perf/util/expr.c lacks a check for the hashmap__new return value.
vendor_msrc·2023-03-14·CVSS 4.0
CVE-2023-23003 [MEDIUM] CWE-252 In the Linux kernel before 5.16 tools/perf/util/expr.c lacks a check for the hashmap__new return value.
In the Linux kernel before 5.16 tools/perf/util/expr.c lacks a check for the hashmap__new return value.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
mitre: mitre
Customer Action Required: Yes
Remediation
Debian
CVE-2023-23003: linux - In the Linux kernel before 5.16, tools/perf/util/expr.c lacks a check for the ha...
vendor_debian·2023·CVSS 4.0
CVE-2023-23003 [MEDIUM] CVE-2023-23003: linux - In the Linux kernel before 5.16, tools/perf/util/expr.c lacks a check for the ha...
In the Linux kernel before 5.16, tools/perf/util/expr.c lacks a check for the hashmap__new return value.
Scope: local
bookworm: resolved (fixed in 5.16.7-1)
bullseye: open
forky: resolved (fixed in 5.16.7-1)
sid: resolved (fixed in 5.16.7-1)
trixie: resolved (fixed in 5.16.7-1)
Red Hat
kernel: missing check for return value of hashmap__new() in the function expr__ctx_new
vendor_redhat·2021-12-18·CVSS 4.0
CVE-2023-23003 [MEDIUM] CWE-252 kernel: missing check for return value of hashmap__new() in the function expr__ctx_new
kernel: missing check for return value of hashmap__new() in the function expr__ctx_new
In the Linux kernel before 5.16, tools/perf/util/expr.c lacks a check for the hashmap__new return value.
A NULL pointer dereference flaw was found in the Linux kernel’s Linux performance measurement and analysis tool. This flaw allows a local user to crash the system.
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 7) - Not affected
Package: kernel (Red Hat Enterprise Linux 8) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 8) - Not affected
Package: kernel (Red Hat Enterprise Linux 9) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 9) - Not affected
OSV
CVE-2023-23003: In the Linux kernel before 5
osv·2023-03-01·CVSS 4.0
CVE-2023-23003 [MEDIUM] CVE-2023-23003: In the Linux kernel before 5
In the Linux kernel before 5.16, tools/perf/util/expr.c lacks a check for the hashmap__new return value.
GHSA
GHSA-787r-j94j-7wpv: In the Linux kernel before 5
ghsa_unreviewed·2023-03-01
CVE-2023-23003 [HIGH] CWE-252 GHSA-787r-j94j-7wpv: In the Linux kernel before 5
In the Linux kernel before 5.16, tools/perf/util/expr.c lacks a check for the hashmap__new return value.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16https://github.com/torvalds/linux/commit/0a515a06c5ebfa46fee3ac519e418f801e718da4https://security.netapp.com/advisory/ntap-20230331-0003/https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16https://github.com/torvalds/linux/commit/0a515a06c5ebfa46fee3ac519e418f801e718da4https://security.netapp.com/advisory/ntap-20230331-0003/
2023-03-01
Published