Bug 2134370 (CVE-2022-4127) - CVE-2022-4127 kernel: io_uring: NULL pointer dereference in io_files_update_with_index_alloc
Summary: CVE-2022-4127 kernel: io_uring: NULL pointer dereference in io_files_update_w...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2022-4127
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: 2145155
Blocks: 2121459
TreeView+ depends on / blocked
 
Reported: 2022-10-13 09:35 UTC by Mauro Matteo Cascella
Modified: 2022-11-30 20:03 UTC (History)
36 users (show)

Fixed In Version: kernel 5.19
Doc Type: If docs needed, set a value
Doc Text:
A NULL pointer dereference issue was discovered in the Linux kernel in io_files_update_with_index_alloc. A local user could use this flaw to potentially crash the system causing a denial of service.
Clone Of:
Environment:
Last Closed: 2022-11-29 18:57:41 UTC
Embargoed:


Attachments (Terms of Use)

Description Mauro Matteo Cascella 2022-10-13 09:35:18 UTC
If IORING_FILE_INDEX_ALLOC is set asking for an allocated slot, the helper doesn't check if we actually have a file table or not, possibly leading to a NULL pointer dereference.

Upstream patch & commit:
https://lore.kernel.org/all/d5a19c1e-9968-e22e-5917-c3139c5e7e89@kernel.dk/
https://github.com/torvalds/linux/commit/d785a773bed966a75ca1f11d108ae1897189975b

Comment 2 Mauro Matteo Cascella 2022-11-23 11:27:34 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2145155]

Comment 3 Product Security DevOps Team 2022-11-29 18:57:39 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-2022-4127

Comment 4 Justin M. Forbes 2022-11-30 20:03:01 UTC
This was fixed for Fedora with the 5.19 stable kernel rebases.


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