Bug 2182689 (CVE-2023-23005) - CVE-2023-23005 kernel: incorrect check for error case in the memory_tier_init
Summary: CVE-2023-23005 kernel: incorrect check for error case in the memory_tier_init
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2023-23005
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2174642
TreeView+ depends on / blocked
 
Reported: 2023-03-29 10:56 UTC by Alex
Modified: 2023-03-29 14:46 UTC (History)
44 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel’s mm/memory-tiers.c functionality in the memory_tier_init function, where an incorrect return value check from the alloc_memory_type occurs. The CVE is disputed because there are no realistic cases in which a user can cause the alloc_memory_type error case to be reached.
Clone Of:
Environment:
Last Closed: 2023-03-29 14:46:19 UTC
Embargoed:


Attachments (Terms of Use)

Description Alex 2023-03-29 10:56:50 UTC
A flaw found in the Linux Kernel. Required to fix NULL to IS_ERR checking in memory_tier_init where alloc_memory_type() returns error pointers on error instead of NULL. Use IS_ERR() to check the return value to fix this.
The CVE is disputed, because there are no realistic cases in which a user can cause the alloc_memory_type error case to be reached.

Reference:
https://github.com/torvalds/linux/commit/4a625ceee8a0ab0273534cb6b432ce6b331db5ee

Comment 1 Product Security DevOps Team 2023-03-29 14:46:15 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2023-23005


Note You need to log in before you can comment on or make changes to this bug.