Bug 2132639 - kernel: Use after Free in gru_set_context_option leading to kernel panic
Summary: kernel: Use after Free in gru_set_context_option leading to kernel panic
Keywords:
Status: CLOSED DUPLICATE of bug 2132640
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2126811
TreeView+ depends on / blocked
 
Reported: 2022-10-06 09:55 UTC by Alex
Modified: 2022-10-06 10:31 UTC (History)
62 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-10-06 10:31:02 UTC
Embargoed:


Attachments (Terms of Use)

Description Alex 2022-10-06 09:55:12 UTC
A use after free flaw in the Linux Kernel SGI GRU driver in drivers/misc/sgi-gru/grufile.c found. A local user can call gru_file_unlocked_ioctl with GRU_SET_CONTEXT_OPTION and then triggering error path in gru_check_context_placement function. This leads to use after free in gru_unload_context function.

Reference:
https://www.spinics.net/lists/kernel/msg4518970.html


Besides, this is a long existing bug which was introduced in 13 years ago:
https://github.com/torvalds/linux/commit/55484c45dbeca2eec7642932ec3f60f8a2d4bdbf

Comment 1 Alex 2022-10-06 10:31:02 UTC

*** This bug has been marked as a duplicate of bug 2132640 ***


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